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 job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?

0 Answers  


There are two steps in a JCl, the first one generates a report while the second step send an email saying the report has been generated, but the second steps should only be executed when the report file is non-empty. How can it be acheived. We may include steps in between.

3 Answers   IBM,


i) Difference between ps, esds, ii) Difference between lrecl, blksize among PS, PDS issues? i.e in jcl at dcb

2 Answers  


Immediate Job opening for mainframe professionals in Keane Bangalore. Please find the below details: Organization: Keane India Location: Bangalore Skill: COBOL, JCL,VSAM,DB2,CICS,IMS,REXX,CLIST Exp: 1 to 4 years only Employment Type: Permenant Employee Note: If you have attended keane interview in past 6 months please ignore this job opening. Please respond to email id keanemfjob@gmail.com OR keanemfjob@yahoo.in with your latest resume and following details, We will contact you within 24 hours: Total IT Exp: Exp in Mainframe: Current CTC: Expected CTC: Notice Period:

0 Answers   Keane India Ltd,


Explain about LMQUERY�give a dialog information about a data set

0 Answers  


What is model dataset label(Model DSCB)?

1 Answers  


Explain about LMFREE�free data set from its association with data ID

0 Answers  


My JCL has 4 steps that execute PROC’s P1, P2, P3 and P4 as shown below //P1 EXEC PROC=P1 //P2 EXEC PROC=P2 //P3 EXEC PROC=P3 //P4 EXEC PROC=P4 There are four steps S1, S2, S3 and S4 in each PROC’s (i.e. P1, P2, P3 and P4) I want to execute only step S2 of PROC P2 and no other steps or PROC’s. How do you achieve this?

4 Answers   IMS,


what is force complete

2 Answers   IBM,


Is there any command to check wether the ps file is in sorted order?

0 Answers   IBM,


What is dummy parameter in JCL??

3 Answers   TCS,


What is Uncatalog dataset? How can we access/use them?

1 Answers  


Categories