I have 5 steps in my job. say s1, s2, s3, s4, s5
//s1 exec .............

//s2 exec ............

//s3 exec ..........

//s4 exec ........

//s5 exec ...............

my question is i want to exeute only s2 and s4 steps...
please advice me how to do this:

Answer Posted / siri

using iebedit utility...
//jobname job ,,,,,,,,
//step exec pgm=iebedit
//sysut1 dd dsn=eidujk.hii.jcl,disp=shr
//sysut2 dd dsn=sysout=(*,intrdr)
//sysprint dd sysout=*
//sysin dd *
edit start=jobname,type=include,step name=(step2,step4)
/*

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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 ?

949


How can return codes be tested before execution of a job step?

929


what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

779


how you can access an uncataloged dataset in a JCL?

656


What is use of restart and how to use it?

774






I need exexution process for JCL programs

1855


How to run cobol program using jcl?

657


What is the function of dd name parameter with a 2 part structure; audit.report?

706


Why block size is multiple of lrecl in jcl?

915


Explain the function of the dd dcb keyword?

706


which utility is used a dummy utility?

799


How to pass the parameter in parm using linkage section ? (syntax)?

655


How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?

1805


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

2437


What parameter directs the output of the job log dataset?

769