This topic shows the processing flow of the processing program.
The standard program is called from applications that must start again. The application programs pass this parameter list to the standard program:
Request codes the following operations:
Retrieves the last record added to the notify object with the same key. The return code is set as:
Writes a record to the file. This code can be used if you use a notify object for your own purposes. For example, if the program determines that the transaction needs to be started again, the program can write a record to the notify object to simulate what the system will do if a job or the system fails.
Deletes all records in the notify object with the same key. The return code is set as:
The O request code is optional and is used to avoid having to start the processing program each time it is called.
After the open request code is used, using the close request code ensures that the file is closed.
Returns the last record for this user. The program name is not used. This code can be used in an initial program to determine whether starting again is required.