My JCL has 4 steps that execute PROC’s P1, P2, P3 and P4 as
shown below

//P1 EXEC PROC=P1
//P2 EXEC PROC=P2
//P3 EXEC PROC=P3
//P4 EXEC PROC=P4

There are four steps S1, S2, S3 and S4 in each PROC’s (i.e.
P1, P2, P3 and P4)

I want to execute only step S2 of PROC P2 and no other
steps or PROC’s. How do you achieve this?

Answer Posted / ajay kumar ande

job001 job (a/c info),"ajay'...... ,restart=procnm.stepnm
//P1 EXEC PROC=P1
activity
dd
//P2 EXEC PROC=P2
activity
//P3 EXEC PROC=P3
activity
dd
//P4 EXEC PROC=P4
activity
dd
procnm exec proc,

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

A dd statement consists of 4 fields. Name them?

932


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

3669


what is DD statement is used in JCL?

681


Explain the hierarchy levels in jcl?

1119


What parameters can be used to limit the number of records written to a sysout dataset?

750






I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1348


Explain about LMFREE�free data set from its association with data ID

1005


What is Cataloged Procedures?

712


which utility is used to run a cobol-db2 program?

810


Name a few IBM utility programs, and explain its function.

4440


Describe the various parameters utilized in the creation of a gdg?

683


Explain about ISPF/TSO Commands

1311


Why block size is multiple of lrecl in jcl?

913


When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

938


My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.

1986