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
 
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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Create procedure issues -628 when add... chandraBE DB2 1 Mon Sep 18, 2017 12:16 pm
No new posts How to see VIEW definition from BMC c... rohanthengal DB2 1 Thu May 04, 2017 1:50 pm
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts Need help in triggering a PL1 module ... Varungv99 IMS DB/DC 0 Fri Apr 07, 2017 10:01 am

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