Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
PROC within PROC - One Doubt

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
gunasekaranmohan

New User


Joined: 18 Dec 2004
Posts: 4

PostPosted: Sat Nov 19, 2005 2:56 pm    Post subject: PROC within PROC - One Doubt
Reply with quote

Hi,

I want to use PROC1 in my JCL. PROC1 is using PROC2.

For PROC2, I have to pass a In-stream data from my JCL. So I have coded like this.

Code for PROC2:

Code:
//PROC2 PROC
//P2STEP EXEC PROC=PROC1
//INPUT      DD DUMMY   


Code for PROC1:

Code:
//PROC1 PROC
//P1STEP    EXEC PROC=PROC2
//P2STEP.INPUT  DD DUMMY



Code for JOB:

Code:
//JOBNAME JOB
//PROCSTEP  JCLLIB  MYDATA.PROC
//STEP01   EXEC PROC=PROC1
//P1STEP.INPUT      DD *
  my input data
/*




When i check the syntax of JCL, i got this error.

OVERRIDDEN STEP "P1STEP " NOT FOUND IN PROCEDURE

Could help me to resolve this problem.

Is it possible to override a DD statement of nested procedure??


Thanks a lot,
Guna.
Back to top
View user's profile Send private message

MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Sat Nov 19, 2005 10:04 pm    Post subject:
Reply with quote

I suppose that this is what you need:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/handheld/Connected/BOOKS/iea1b640/5.3.2?SHELF=&DT=20000718114500&CASE=

I hope in this help.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts LIBDEF not working in called proc packerm CLIST & REXX 0 Fri Sep 15, 2017 7:22 pm
No new posts REXX to view the PGM or PROC jackzhang75 CLIST & REXX 11 Tue Jun 20, 2017 1:20 am
No new posts Jcl pram vs proc parms ashek15 JCL & VSAM 3 Thu Mar 30, 2017 6:50 pm
No new posts Doubt in MFS abdulrafi IMS DB/DC 2 Fri Oct 21, 2016 3:09 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us