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
 
Use of JCLLIB in a Proc

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Use of JCLLIB in a Proc
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    Post subject:
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    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
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts LIBDEF not working in called proc packerm CLIST & REXX 0 Fri Sep 15, 2017 7:22 pm
No new posts REXX to view the PGM or PROC jackzhang75 CLIST & REXX 11 Tue Jun 20, 2017 1:20 am
No new posts Jcl pram vs proc parms ashek15 JCL & VSAM 3 Thu Mar 30, 2017 6:50 pm
No new posts New PROC not reflecting in prod even ... Musab Ahmed CA Products 9 Tue Mar 15, 2016 12:45 pm

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