Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

can we call another procedure through a cataloged procedure?

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

New User


Joined: 04 Jan 2006
Posts: 13
Location: pune

PostPosted: Thu Jan 05, 2006 11:51 pm    Post subject: can we call another procedure through a cataloged procedure?
Reply with quote

if yes then how? and how many times we can do this?
Back to top
View user's profile Send private message

chandan.inst

Active User


Joined: 03 Nov 2005
Posts: 269
Location: Mumbai

PostPosted: Fri Jan 20, 2006 7:47 pm    Post subject: Re: can we call another procedure through a cataloged proced
Reply with quote

yes we can call another cataloged procedure in one cataloged procedure
we can do it for 15 times, but we cant write instream procedure in cataloged procedure we have to instream procedure if we are calling them in cataloged procedure in main job
If we are calling another cataloged procedure in cataloged procedure then
there are two ways:
1. code all the procedures in same JCLLIB
2. if u are coding procedure in different PDS(JCLLIB) then mention all the datasets containing procedures in the JCLLIB in main job like
//job name job
//jcllib dd order=(pds1,pds2,pds3)

i think it works
correct me if I am wrong
regrds,
chandan
Back to top
View user's profile Send private message
chandan.inst

Active User


Joined: 03 Nov 2005
Posts: 269
Location: Mumbai

PostPosted: Fri Jan 20, 2006 7:55 pm    Post subject:
Reply with quote

Just check the syntax of jcllib
i think it is wrong
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
No new posts Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm
No new posts Access SQLCA fields inside a stored p... gangapd DB2 4 Thu Oct 27, 2016 10:20 am
No new posts Cobol EZASOKET call to SETSOCKOPT fails Andi1982 COBOL Programming 6 Thu Oct 06, 2016 7:12 pm
No new posts Strange EXEC function call in z/VM Willy Jensen CLIST & REXX 3 Wed Oct 05, 2016 2:07 pm
No new posts COBOL DB2 - CALL statement - high CPU... TS70363 DB2 15 Sun Sep 11, 2016 6:07 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us