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


Please Help Members By Posting Answers For Below Questions

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

806


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?

732


Is acct parameter mandatory?

758


In job processing, what happens in conversion stage?

734


what is DSN parameter and DISP parameter is used for?

674






how do you code a null statement?

773


What is the function of dd disp parameter?

654


How do you access an uncatalogued dataset in a jcl?

724


how to compare two datasets without using superce because output is limited to 133 bytes

1478


What are steplib and joblib?

721


Is it possible to define dd statements as you want?

644


Is automatic restart possible in jcl?

733


What is jcl in mainframe?

688


What is the significance of addrspc parameter in the exec statement?

616


which utility is used to sort a file in jcl?

745