If there are five steps in a JCL i have to execute the 3rd
step, bypass the 4th step and execute the 5th step how do i
do this?
Answer Posted / sreelatha
//jobname positional parms,keyword parms,.... Restart=step3
//..
//..
//..
//step3 exec=xxxx
//...
//step4 exec=yyyy,cond=(0,Le,step3)
//..
//step5 exec=zzzz
Restart =step 3 executes step3.Step 3 gives some return
code.In step 4,the test is passed as 0 is less than step
3.So step 4 is bypassed and is not executed. and the
program is responsible for issuing the return code that
was not even loaded in the main storage.
The result: no return code can exist
In the steps that follow any test of COND parameter tat
attempts to interrogate this non-existent return
code will be ignored . Step 5 will be e executed.
| Is This Answer Correct ? | 34 Yes | 2 No |
Post New Answer View All Answers
Can I share my data with other jobs? How?
How does jcl specify the job to the operating system?
What is the function of dd name parameter with a 2 part structure; audit.report?
I need exexution process for JCL programs
How to submit a jcl from cics?
Which dd parameters are required?
when does a dataset go uncataloged?
Explain the function of dd disp parameter?
how can the same proc be re-used and called by many jobs?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
what is the purpose of coding notify parameter in job statement?
Is acct parameter mandatory?
in ways data can be passed to a COBOL program from JCL?
what is use of dsn parameter in dd statement?
State the uses of syspring, sysin, sort fields, sum fields and dummy.