Previous Topic: Procedure ExampleNext Topic: Batch Return Code Override Exit


CA Gen Condition Code Numbering

The algorithm for computing the condition code is Step Number times 10 + 100. An increase of 10 allows users to easily insert non-CA Gen steps into JCL. The CA Gen codes all exceed 100 to prevent conflicts with return codes issued by non-CA Gen steps that usually have single digit returns codes such as 4, 8, and so on. The code 1000 indicates successful end of job to ensure that subsequent CA Gen steps would be bypassed, but would leave a wide range of available condition codes (1001-4095) for other uses.