Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
REGION
TIME
These parameters can code in both JOB and EXEC statements, When we code these parameters on both statement, JOB - REGION JOB - COND EXEC - TIME will override will override will overrirde EXEC - REGION EXEC - COND JOB - TIME
REGION - Specifies the amount of space should be used at the time of running a job/step Syntax -> REGION=< value >K or REGION=< value >M JOB EXEC (AE32),'RAMESH' PGM=COBPROG, REGION=67K
COND
- Each step sends an a return code to the system upon completion. This is called condition code. COND parameter is used to control the execution of subsequent job steps, depending on the condition code that is returned for prior step. Return code number between 0 and 4095
Syntax
->
COND=(comparsion-code,condition) (If coded on job) COND=(comparsion-code,condition [,stepname] [,EVEN / ONLY]) (If coded on step) condition can be GT,GE,LT,LE,EQ,NE
Example JCL
->
In this example we are specifing that if the number 4 is grater than the return code of STEP1, then STEP2 is to be bypassed. It is elaborated further in the following image
COND coded on EXEC statement //MYJOB //STEP1 //STEP2 // // that STEP2 should be by passed if 8 is equal to the return code issued by STEP1. JOB (U769),'KRISHNA REDDY' EXEC PGM=PROG1 EXEC PGM=COBPROG, COND=(8,EQ,STEP1)