in production region 100 steps are running,but i need to
run only step5 without changing code how can i do it?

Answer Posted / prasad raju

Below example codeing for 10 steps job,For example, how to
execute step4 and step9 of 10 steps JCL,

//M665235C JOB (MVSQuest),'IEBEDIT TEST',
// CLASS=B,MSGCLASS=X,NOTIFY=V665235,REGION=28M
//*
//SUBMIT EXEC PGM=IEBEDIT
//SYSUT1 DD DSN=TEST.MUTHU.JCL(JCLINP),DISP=SHR
//SYSUT2 DD SYSOUT=(*,INTRDR)
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
EDIT START=M665235C,TYPE=INCLUDE,STEPNAME=
(STEP0004,STEP0009)
//*

In the above JCL, JCLINP is the 10 steps JCL. M665235C is
the job-name in the JCL.
If TYPE is exclude, then the mentioned steps will not be
copied/submitted.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to do automated restart when a job abend?

1041


Explain how can a jobs execution priority be modified?

968


How does jcl act on code(if you take a cobol program)?

995


What are steplib and joblib?

916


i want to store 20 digits . how will u do it in cobol ?

1113


What is the purpose of dd?

991


What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?

1787


How do you create a temporary dataset?

888


How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?

932


Is automatic restart possible in jcl?

952


How can unused space allocation be returned to the system when a dataset is closed?

1134


which utility is used to sort a file in jcl?

983


I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.

968


I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

1076


what is DSN in JCL and what are the parameters to declare the DSN?

978