i have 3 steps in my jcl, where i want to run only one step
at a time depending on the variable. How should i give the
condition statement... I have tried this with two steps
which is working but not able to add condn for the 3rd
step. can anyone help me... I want to know the cond stmt
which i can code in step 3 and step4, so that only either
step2 or step3 or step4 executes
Answer Posted / anjui
We can achieve it through if then else statement in jcl
along with the instream proc.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Explain the purpose of dd * statement in jcl?
What is the significance of addrspc parameter in the exec statement?
What does a disposition of (new,catlg,keep) for a dsn mean?
what is the use of JCL?
How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?
How is the record format of an output dataset specified?
Explain how can the attributes of one sms dataset be copied to another dataset?
Can we use DISP=SHR in output file in JCL
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
how JCL works?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
What is catelog procedure and how many catelog procedure to use in one job?
how do you access an uncataloged dataset in a jcl?
how can the same proc be re-used and called by many jobs?
i want to store 20 digits . how will u do it in cobol ?