Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?



PREWRITE trigger unable to amend the record on the file the trigger is on

Previous Release Behavior

As an example, the following trigger code would not update attribute 6 of the record when it was written to the file on which the trigger was on:

SUBROUTINE prewrite_trigger(filevar, event, prerc, flags, recordkey, record, userrc)
IF event EQ TRIGGER_TYPE_PREWRITE THEN record<6> = "prewritten"

Current Release Behavior

PREWRITE trigger is now able to amend the record.

Was this article helpful?