I have 10 steps, I want to run STEP1 TO STEP4 then I should
not run STEP5 and STEP6. Aganin I want to execute from
STEP7 to STEP10. ONLY using CONDITION CODES how can we
execute this process?
1. Where we can set cond codes for STEP5 and STEP6?
2. How can we execute remaining steps from STEP7 to STEP10?
Answer Posted / lokesh
1) Use cond code as COND=(0,LT,STEP04) on step 05 and COND=
(0,LT,STEP04) on step 06. As return code is always non-
negative, step05 and step06 will never get executed.
2) To execute remaining steps, use cond code as (4,LT)
| Is This Answer Correct ? | 5 Yes | 7 No |
Post New Answer View All Answers
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
which utility is used to sort a file in jcl?
//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*
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?
Explain the purpose of dd dummy statement?
which utility is used a dummy utility?
I need exexution process for JCL programs
how JCL works?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
How would you understand error(execution phase)?
Are there any set of rules for the names of the steps used in a job?
Is condition checking possible in jcl?
What do you understand by the terms: joblib and steplib?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?