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
what is the difference between JES3 and JES2?
How to submit jcl through a cobol program?
What happens if both JOBLIB & STEPLIB is specified ?
What is the maximum length of a single line of jcl?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
What is the motivation behind coding class parameter in job statement?
What is the function of //cntl statement?
Explain how can return codes be tested before execution of a job step?
Is their any set of rules for dd? Explain.
Must tape dataset definitions include vol=ser specifications?
How to submit a jcl from cics?
How can unused space allocation be returned to the system when a dataset is closed?
List the different components of jcl statement?
What is use of restart and how to use it?
What are steplib and joblib? What for they are used?