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

joblib refers to control libe member


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Thu May 01, 2008 10:23 pm
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
No new posts Searching for a member but don't know... TSO/ISPF 6
No new posts Looking For a PDS Member Without Open... PL/I & Assembler 10
No new posts Help Control-R IBM Tools 2
Search our Forums:

Back to Top