Overrides in Calling JCL
//MYJOB JOB ...
// EXEC PROC=MYPROC,
// STEP3FLG='(0,GT)', ← Skips step 3
// NEWDSN='PROD.NEW.DATASET' ← New dataset for step 4
//MYJOB JOB ... // EXEC PROC=MYPROC, // STEP3FLG='(0,GT)', ← Skips step 3 // NEWDSN='PROD.NEW.DATASET' ← New dataset for step 4
Key Points:
STEP3FLG='(0,GT)' - Always evaluates to true, causing step 3 to be bypassed
NEWDSN='your.dataset.name' - Provides the new uncorrupted dataset for step 4
The original corrupted file in step 3 is never accessed since the step is skipped
Step 4 uses the new dataset you provided from the JCL
STEP3FLG='(0,GT)' - Always evaluates to true, causing step 3 to be bypassed
NEWDSN='your.dataset.name' - Provides the new uncorrupted dataset for step 4
The original corrupted file in step 3 is never accessed since the step is skipped
Step 4 uses the new dataset you provided from the JCL
Comments
Post a Comment