We are trying to add a subroutine call from an existing trigger. The subroutines are definitely being called and acting appropriately, except when they attempt to write to a log file.
Using "ED" to make a simple change in order to force the trigger, we are getting this error:
Program "ED": pc = 748C, Program "XXX": LINE 409, FATAL: The locks necessary for database operations at the current isolation level (0) are not held by this process.
The subroutine is trying to write to a type 19 log file which works fine from other programs. Commenting out the log file write avoids the error.
Because of this error, the write to the CUST file (which is the one with the trigger) also fails.
I assume this is something unique to the trigger function. The trigger subroutine is cataloged globally as expected, so I am wondering if that is making file access in the account unavailable some how?
This is running in UniVerse 11.3.1
Any ideas would be gratefully appreciated.
Nelson
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.




