Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
HOW to restart a step in a JCL for PROC inside a PROC

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL
Author Message
sangiah

Active User


Joined: 10 Jun 2005
Posts: 64

PostPosted: Sat Jun 11, 2005 8:59 am    Post subject: HOW to restart a step in a JCL for PROC inside a PROC
Reply with quote

How to restart PROCB.STEP0010 in below job


//JOB
//STEP0010 EXEC PROCA


PROCA

STEP0010 EXEC PGM=PGm1

STEP0020 EXEC PROC B

END PROCA

PROCB

STEP0010 EXEC PGM=PGM4
STEP0020 EXEC PGM=PGM5

END PROCB
Back to top
View user's profile Send private message
References
sasi.palani

New User


Joined: 01 Jun 2005
Posts: 14

PostPosted: Sat Jun 11, 2005 10:31 am    Post subject:
Reply with quote

just code stepname which invokes the procb and step name u want to execute in ur job card


example

//JOB RESTART=STEP0020.STEP0010
//STEP0010 EXEC PROCA
//STEP0020 EXEC PROCB
Back to top
View user's profile Send private message
sasi.palani

New User


Joined: 01 Jun 2005
Posts: 14

PostPosted: Sat Jun 11, 2005 10:36 am    Post subject:
Reply with quote

And more over u cant execute a proc inside a proc it may me supported in VM , to avoid using proc indide a proc control cards used inside a aproc.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1