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

Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

808


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.

1816


a dd statement has 2 types of parameters. Name them?

735


which utility is used a dummy utility?

927


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

1903






What is one line to pass PARM from JCL to COBOL?

4550


Is condition checking possible in jcl?

828


Which statement is used to identify the private libraries in job?

790


what is use of disp parameter in dd statement?

740


How can the submitting users racf authority be overridden in a job stream?

859


Explain how can the attributes of one sms dataset be copied to another dataset?

822


Name the statement which can be used to send data to another mvs jes3 node?

697


Are there any set of rules for the names of the steps used in a job? What are they?

682


What is the use of disp parameter?

727


What is the use of symbol // in jcl?

1017