Suppose there are 10 steps in a PROC, I want to execute
only step5. How do you give the condition in the JCL that
calls this PROC?
Answer Posted / sk
Use IEBEDIT
//IEBEDITJ JOB ACCT,'',CLASS=P,MSGCLASS=T,MSGLEVEL=
(1,1),NOTIFY=&SYSUID
//STEP0001 EXEC PGM=IEBEDIT
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=xxxxx.yyyyy.zzzzz,DISP=SHR
//SYSUT2 DD SYSOUT=(*,INTRDR)
//SYSIN DD *
EDIT TYPE=INCLUDE,STEPNAME=(STEP5)
/*
//
| Is This Answer Correct ? | 8 Yes | 6 No |
Post New Answer View All Answers
when does a dataset go uncataloged?
What happens if both JOBLIB & STEPLIB is specified ?
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?
What is jcl in mainframe, and how many types of jcl statements are there for a job?
Are there any set of rules for the names of the steps used in a job? What are they?
How do you overcome this limitation ?
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
How jcl is used for testing batch programs?
A dd statement consists of 4 fields. Name them?
Is their any limit for data sets?
what sort card you will use to copy the data from one dataset to another dataset?
What do you understand by the term job time – out and how can you overcome that?
What do you understand by jcl?
Explain how can values be passed from the job stream to an executable program?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?