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
 

 

how to call catalogue procedure in jcl

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

New User


Joined: 09 Dec 2005
Posts: 16

PostPosted: Thu Dec 22, 2005 11:23 am    Post subject: how to call catalogue procedure in jcl
Reply with quote

Hi
I have this jcl,

Candy.test.proc(proccat1)
Code:

//newjob1 JOB MSGCLASS=X,MSGLEVEL=(1,1),CLASS=B
//         REGION=5M,NOTIFY=&sysuid         
//STP200  EXEC PROC10                           
//STP100.DD1 DD DSN=File2


I hav proc in separate dataset.

Candy.test.cat(catlog1)
Code:

//PROC10  PROC                                                 
//STP100  EXEC PGM=IEFBR14                                     
//DD1     DD DSN=file1,                             
//           DISP=(NEW,CATLG),UNIT=SYSDA,                       
//           SPACE=(CYL,(5,5)),DCB=(RECFM=FB,LRECL=80,BLKSIZE=0)


How to call this catalog proc in jcl. Kindly help me out this.


Thanks,
Candy
Back to top
View user's profile Send private message

Jayalakshmi

New User


Joined: 02 Sep 2005
Posts: 26
Location: Hyderabad

PostPosted: Thu Dec 22, 2005 3:50 pm    Post subject: Re: how to call catalogue procedure in jcl
Reply with quote

Hi,

In your JCL, you need to specify where the catalogued procedure exists......... it should be something like this..
Code:

//PROC JCLLIB ORDER=(CANDY.TEST.CAT)


Regards,
Jaya.
Back to top
View user's profile Send private message
Candy

New User


Joined: 09 Dec 2005
Posts: 16

PostPosted: Thu Dec 22, 2005 4:21 pm    Post subject: Re: how to call catalogue procedure in jcl
Reply with quote

Actually i tried as
//proclib jcllib order=daname..

but it showing error.
Back to top
View user's profile Send private message
SALEEM_HALIA

New User


Joined: 09 Dec 2005
Posts: 2

PostPosted: Thu Dec 22, 2005 4:40 pm    Post subject: Re: how to call catalogue procedure in jcl
Reply with quote

Hi,
Use this Jcl.It will work .
Code:
       
//ESYLIB JCLLIB ORDER=(Candy.test.cat)
//STP200  EXEC PROC10                           
//STP100.DD1 DD DSN=File2
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 Calling procedure with multiple entri... steve-myers PL/I & Assembler 5 Fri Jan 27, 2017 3:33 pm
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 6 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


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