IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

how to call catalogue procedure in jcl


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Call program, directly from panel CLIST & REXX 9
No new posts Batch call online program, EXCI task ... CICS 3
No new posts CSQBGET - Call giving completion code... COBOL Programming 3
No new posts Invoke stored procedure via batch JCL. DB2 2
Search our Forums:

Back to Top