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

Use of JCLLIB in a Proc


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
dadiprav

New User


Joined: 26 Jan 2008
Posts: 18
Location: Mumbai

PostPosted: Fri Feb 22, 2008 1:09 am
Reply with quote

As of my knowledge JCLLIB can be used as the first statement after JOB card.
I want to know the way we can use this in a proc.

I have a case like I need to use include statenemt in a proc which is used in many JCLS. So without changing the actual JCL I need to change the proc. Can any one suggest me the way to use a statement similar to JCLLIB in a PROC. And also is there any method to use a step level library similar to JCLLIB.
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Fri Feb 22, 2008 4:04 am
Reply with quote

JCLLIB is for a job not by step. The member name on the INCLUDE can be a symbolic. Each type of job would have a SET statement to specify the member name needed for that execution.
Code:
//xxxxxxxxxx  JOB           
//*                                           
//MYPROCS  JCLLIB ORDER=(your.jcllib)   
//*                                           
// SET TYPE=ABC     
And the PROC has
Code:
                         
//*                                           
// INCLUDE MEMBER=&TYPE                       
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 Proc print in Mainframe All Other Mainframe Topics 4
No new posts trying to set return code in PROC JCL & VSAM 15
No new posts Execute DSNTEP2 in REXX which is call... CLIST & REXX 4
No new posts proc step return code to override in ... JCL & VSAM 3
No new posts Can we pass cobol pointer to cobol-db... DB2 4
Search our Forums:

Back to Top