MAC-PAC Homecontact ussupport login 
Documentation > MAC-PAC Reference and Help > Technical Support > Key Concepts and Procedures > Recovery Management > Off-line Reports with No Updates

Off-line Reports with No Updates

 

 

Off-line programs that require no updates, but that do clear transaction files in the CL program, use only an abort flag.  The following changes are required in the RPG and CL programs that are part of the job stream.

In the CL program:

·     An abort flag parameter (ABTFLG) is added to the program call.  This parameter will be turned on in the RPG program if the program ends abnormally.

·     The program call is followed by a check of the abort flag.  If the program completes normally, then the transaction files are cleared.  Otherwise, the transaction files are not cleared.

In the RPG program:

·     The abort flag parameter (ABTFLG) is added to the *ENTRY parameter list.  The definition for this parameter is placed with other work field definitions in housekeeping.  The processing for setting on the abort flag is placed in the system error subroutine (ZSYSER), after the print file for the System Error Report (CT010X) has been closed.

Programs

 

DE500CLP

OP570CLP

DE510CLP

OP580CLP

ICAUDITRPT

OP590CLP

IC550CLP

SF125CLP

OP520CLP

MSAUDITRPT

OP530CLP