in my jcl have 20 steps step1,step2,.... step20.and i have to
execute step1,step2,..and skip the step3 and remaing
step4,step5 are execute? i want skip step3 only? what code u
can write?

Answers were Sorted based on User's Feedback



in my jcl have 20 steps step1,step2,.... step20.and i have to execute step1,step2,..and skip the s..

Answer / piyush mani

most easy way to do it is to use "IEBEDIT" UTILITY LIKE BELOW


//JOBCARD
//STEPNAME EXEC PGM=IENEDIT
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=FSS345.PIYUSH.JOB1,DISP=SHR
//SYSIN DD *
EDIT START=JOBNAME OF DESIRED JOB, TYPE=EXCLUDE,
STEPNAME=(STEP3)
/*
//


GIVE UR FEEDBACK....

Is This Answer Correct ?    13 Yes 0 No

in my jcl have 20 steps step1,step2,.... step20.and i have to execute step1,step2,..and skip the s..

Answer / rammateti

In Step3 u can write the COND=(0,LE) then that step3 is skip.
or

u can use
//step3 exec pgm=abc,cond=(4095,GT) also work same as above.

By
Prathap

Is This Answer Correct ?    11 Yes 0 No

in my jcl have 20 steps step1,step2,.... step20.and i have to execute step1,step2,..and skip the s..

Answer / rammateti

u can write in step3 cond=(0,LE) then the step3 is skiped

Is This Answer Correct ?    7 Yes 0 No

Post New Answer

More JCL Interview Questions

What is the use of DSNDB07 ?

1 Answers  


what is instream data

2 Answers   EDS,


How do you submit JCL via a Cobol program?

4 Answers   IBM,


How to print the Output to SPOOL using MSGCLASS and SYSOUT ?

4 Answers   IBM,


How do you find which GDG is using which dataset?

3 Answers   Patni,






what is the general use of PARM? Give an explanation about the system defined parameters that could be passed through this PARM like XREF,LIST,LET,APOST,RENT etc..

3 Answers   Cognizant,


What is the difference between a symbolic and an override in executing a PROC?

2 Answers  


How can you trap abends in the JCL?

3 Answers  


In how ways you can pass the data from Jcl to cobol ?

3 Answers   Cap Gemini, IBM,


What is the difference between Sysin,Sysout,Sysdbout and Sysudump?

3 Answers  


have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file

0 Answers  


THERE IS ONE STEP AS BELOW: //STEPJS060 EXEC PGM=XYX, COND=((200,EQ,JS010),(0,NE,JS020.C),EVEN) COULD ANY ONE EXPLAIN HOW COND PARAMETER WORKS HERE? I AM CONFUSED BECOZ OF "EVEN".

2 Answers  


Categories