Previous Topic

Next Topic

Book Contents

Book Index

General Information

Control-M/Analyzer uses the DO TERMINAT statement to control work flow within a job based on whether input is in or out of balance. Control-M/Analyzer sends the condition code or user abend code back to the job itself, that then either continues executing or terminates based on the specified condition code or user abend code. See your JCL manual for information about the JCL COND parameter.

If the execution of a rule definition ends normally (no errors occur) and a DO TERMINAT statement is not specified, the rule will terminate with the default status specified in the DEFSTAT installation parameter and the return code specified in the DEFCODE installation parameter. For details, refer to the Control-M/Analyzer chapter of the INCONTROL for z/OS Installation Guide.

Control-M/Analyzer Database variables are committed (according to the method specified in the DO COMMIT statement) when the rule terminates. Termination occurs under the following conditions:

After termination, processing flow control returns to the entity that invoked the called rule; for example, to the next job step (in the job that called the rule) or to the calling rule.

Parent Topic

DO TERMINAT: Automated Balancing Statement