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
IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C
how to run batch program without jcl?
Explain how can the submitting users racf authority be overridden in a job stream?
Which statement is used to identify the private libraries in job?
Name a few IBM utility programs, and explain its function.
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
How to override loadlib?
What do you know about jcl?
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
What does a disposition of (new,catlg,keep) for a dsn mean?
can any one plzzzzzz tell the jcl code for creating ps using idcams