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 / girish kumar

by using iebedit utility u can solve this easily.
first u code all steps in saparate member using iebedit
utility and then write another jcl program menction member
name like pgm=membername and
then code like this.

sysin dd *
edit type=include,stepname=(s2,s4)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Matching Logic in Jcl not in cobol.Could any one please answer this question

3782


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?

1892


A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?

839


What is the function of the dd mgmtclas keyword in sms datasets?

860


I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

822






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

2528


How is the record format of an output dataset specified?

847


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

859


What are the difference between jcl and jes?

1146


What is the function of //cntl statement?

930


why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.

2048


For what purpose steplib and joblib are used ?

760


Is automatic restart possible in jcl? If yes, how?

741


How to run cobol program using jcl?

737


Explain the function of //jcllib statement?

818