View previous topic :: View next topic
|
Author |
Message |
Linda Maria Conner
New User
Joined: 02 Aug 2007 Posts: 7 Location: Tampa, Florida
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
Douglas Wilder
Active User
Joined: 28 Nov 2006 Posts: 305 Location: Deerfield IL
|
|
|
|
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 |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
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 |
|
|
Linda Maria Conner
New User
Joined: 02 Aug 2007 Posts: 7 Location: Tampa, Florida
|
|
|
|
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 |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi Linda,
Welcome. Doug's solution will work too; they're variations. Let us know how it worked out. |
|
Back to top |
|
|
|