This section describes in more detail the events that occur when you run an executable program.
The following events occur when you run a typical executable program with a logical database:
Event |
Occurs |
INITIALIZATION |
Before the standard selection screen is displayed |
AT SELECTION-SCREEN |
After user input on a selection screen has been processed, but while the selection screen is still active |
START-OF-SELECTION |
After the standard selection screen has been processed, before data is read from the logical database |
GET <table> |
After the logical database has read an entry from the node <table> |
GET <table> LATE |
After all of the nodes of the logical database have been processed that are below <table> in the database hierarchy |
END-OF-SELECTION |
After all data has been read by the logical database |
List processor events:
Event |
Occurs |
TOP-OF-PAGE |
In list processing when a new page starts |
END-OF-PAGE |
In list processing when a page ends |
AT LINE-SELECTION |
When the user triggers the predefined function code PICK |
AT PF<nn> |
When the user triggers the predefined function code PF<nn> |
AT USER-COMMAND |
When the user triggers a function code defined in the program |
For more information about these events, refer to
Lists.