How do you skip a particular step in a proc/JOB?
Answers were Sorted based on User's Feedback
Answer / guest
Can use either condition codes or use the jcl control
statement IF (only in ESA JCL)\
| Is This Answer Correct ? | 7 Yes | 2 No |
Answer / nikhil
Can use either condition codes or use the jcl control
statement IF (only in ESA JCL)
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / nikhil
To skip a particular step use Conditon in EXEC statement
If the condition is true then step will be bypassed.
Ex
//stepname EXEC PGM=xyz,COND(4,LT).
| Is This Answer Correct ? | 4 Yes | 2 No |
i have a string of 80 chars i want to replace 4th char with "a"?
When a dataset is UNCATALOGED in a JOBSTEP, how to get its UNIT and VOL in JCL to refer in subsequent steps ?
in catalog procedure i have step1 dd dsn=filea dd dsn=fileb dd dsn=filec ur concatenaning all the files. but i need to override fileb with file 2 ? can anyone give the ans pls for ths
you have one jcl .in sort step 5 files are there.if out of 5 files if one file is uncataloged or not there then how will you correct your jcl so that problem does not come. you should not create this file externally.how will u overcome it.
COND -> step1 . . step2, Step2, Executes if the CC of step1 is 0. But even if it is NOT 0 and if we dont give COND, will step2 be executed ?
wht r s722,s822,s122 and s222 abends pls reply fast
i have a file which contains duplicates ? my requirement is to eliminate duplicates and these elminated duplicates should be moved to another file can any code this using sort ?
What do you know about jcl?
is there any possibilities for sumbitting more than one job in single jcl? if yes...based on which thing they will execute..(priority,class,time,written order..?)
How many steps we can overide in the proc's?
how many types of sorts are there in jcl?
What is a S0C4 error ?