Example: Single notify object for all programs
Using a single notify object for all programs is advantageous. It is because all information required to start again is in the same object, and a standard approach to the notify object can be used in all programs.
In this situation, use a unique combination of user and program identifications to make sure that the program accesses the correct information when it starts again.
Because the information required to start again might vary from program to program, do not use an externally described data structure for the commit identification. If a single notify object is used, the preceding program can describe the data structure within the program rather than externally. For example:
1 10 USER 11 20 PGMNAM 21 23 PRODCT 24 29 LOCATN 30 49 DESC 50 51 0 QTY 52 220 DUMMYIn each program that uses this notify object, the information specified for the commit identification is unique to the program (the user and program names are not unique). The notify object must be large enough to contain the maximum information that any program can place in the commit identification.
Parent topic:
Example: Using a notify object to start an application
Related concepts
Example: Unique notify object for each program
Commit notify object