ECN-4757 Event procedures called incorrectly

Defect Number: 181059

Product: ACUCOBOL-GT

Module: Runtime

Machines Affected: All

Known Versions Affected: All

DESCRIPTION:

When a BEFORE, AFTER, EXCEPTION, or EVENT procedure executed a statement that checked for input, this sometimes interrupted the procedure to execute a different procedure. This often resulted in crashes, incorrect placement of controls, or and other such errors. This problem occurred more commonly when using the Thin Client, but also manifested on occasion when using just the runtime.

Note: These procedures are intended to be short and fast, with all major work done outside of ACCEPT statements.

Statements that caused this problem include but are not limited to INQUIRE, MODIFY, and DISPLAY. In addition, file I/O sometimes caused this problem when the FILE-IO-PROCESSES-MESSAGES configuration variable was set to ON.

To correct this problem, set the TC-STORE-INQUIRE-EVENTS to ON. See TC-STORE-INQUIRE-EVENTS in your ACUCOBOL-GT documentation for details.