Overrides in Calling JCL

 

jcl
//MYJOB    JOB ...
//         EXEC PROC=MYPROC,
//         STEP3FLG='(0,GT)',           ← Skips step 3
//         NEWDSN='PROD.NEW.DATASET'    ← New dataset for step 4

Key Points:

  1. STEP3FLG='(0,GT)' - Always evaluates to true, causing step 3 to be bypassed

  2. NEWDSN='your.dataset.name' - Provides the new uncorrupted dataset for step 4

  3. The original corrupted file in step 3 is never accessed since the step is skipped

  4. Step 4 uses the new dataset you provided from the JCL

Comments

Popular posts from this blog

files and db2 abends&cics

jcl

cics interview question