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
 

 

joblib refers to control libe member

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

New User


Joined: 02 Aug 2007
Posts: 7
Location: Tampa, Florida

PostPosted: Thu May 01, 2008 10:06 pm    Post subject: joblib refers to control libe member
Reply with quote

Sorry, somehow part of what I wanted to ask posted before I was thru
know this was done at a shop I worked at before and I want to do it where I am now. Instead of
//JOBLIB DD DSN=SOMELIBE,DISP=SHR
// DD DSN=SOMELIB2,DISP=SHR
// DD DSN=SOMELIB3,DISP=SHR

They had the JOBLIB statement referring to a single member, on a "control library" (a library where, e.g., sort control statements, IDCAMS control statements and such also resided) and, in that control libe member you would have
//JOBLIB DD DSN=SOMELIBE,DISP=SHR
// DD DSN=SOMELIB2,DISP=SHR
// DD DSN=SOMELIB3,DISP=SHR

I do not recall if this needed a JCLLIB, or what - I know there were no SET statements, it was just one statement whatever it was
Can someone tell me how to code this?
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu May 01, 2008 10:23 pm    Post subject:
Reply with quote

Hello Linda,

JOBLIB refers to one or more load libraries, not control info for sorts, utilities, etc. Member names are not used on JOBLIB.
Back to top
View user's profile Send private message
Douglas Wilder

Active User


Joined: 28 Nov 2006
Posts: 305
Location: Deerfield IL

PostPosted: Thu May 01, 2008 11:17 pm    Post subject:
Reply with quote

Could you be thinking of something like the following:
Code:
// JCLLIB ORDER=HLQ.SOMELIB
// INCLUDE MEMBER=SOMEMEMB   

Where HLQ.SOMELIB(SOMEMEMB) contains your JOBLIB?
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Fri May 02, 2008 6:18 pm    Post subject:
Reply with quote

Playing off of Doug's post, we use the following:
Code:
 //*                                                     
//PROCLIB  JCLLIB ORDER=(FIRST.INCLLIB,SECND.INCLLIB)
//*                                                     
//JOBLIB   INCLUDE MEMBER=JOBLIB                   
//*

JOBLIB member can be in either INCLLIB.
Back to top
View user's profile Send private message
Linda Maria Conner

New User


Joined: 02 Aug 2007
Posts: 7
Location: Tampa, Florida

PostPosted: Sat May 03, 2008 12:32 am    Post subject:
Reply with quote

Seems to be like it was done without an INCLUDE (where I worked before) but maybe not - in any case, I think Jack's solution will work. Thanks very much
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun May 04, 2008 1:40 am    Post subject:
Reply with quote

Hi Linda,

Welcome. Doug's solution will work too; they're variations. Let us know how it worked out.
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 member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
No new posts PA02 - Programmtically control attent... dodithegreat IMS DB/DC 1 Thu Apr 06, 2017 8:33 pm
No new posts Browsing member from any PDS shiitiizz CLIST & REXX 7 Wed Mar 08, 2017 1:17 am
No new posts Bind plan as a member to another bind... rexx77 DB2 0 Thu Feb 16, 2017 2:02 am
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm


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