From the JCL Reference manual;
13.3.5 Relationship of a STEPLIB to a JOBLIB
Use a JOBLIB DD statement to define a private library that the
system is
to use for an entire job. If you include a JOBLIB DD statement for
the job
and a STEPLIB DD statement for an individual job step, the system first
searches the step library and then the system library for the program
requested in the EXEC statement. The system ignores the JOBLIB
library for
that step.
Mark Jacobs
On 12/20/13 09:22, Lizette Koehler wrote:
Could someone point out the manual that states if a Steplib is present the
Joblib is ignored?
I found this in the following manual and it does not lead me to the conclusion
you have stated
LLA and Module Search Order
z/OS V1R12.0 MVS Initialization and Tuning Guide SA22-7591-08
When a program requests a module, the system searches for the requested module
in various system areas and libraries, in the following order:
Modules that were loaded under the current task (LLEs)
The job pack area (JPA)
Tasklib, steplib, joblib, or any libraries that were indicated by a DCB
specified as an input parameter to the macro used to request the module (LINK,
LINKX, LOAD, ATTACH, ATTACHX, XCTL or XCTLX).
Active link pack area (LPA), which contains the FLPA and MLPA
Pageable link pack area (PLPA)
SYS1.LINKLIB and libraries concatenated to it through the LNKLSTxx member
of parmlib. (Placing Modules in the System's Search Order for Programs explains
the performance improvements that can be achieved by moving modules from the
LNKLST concatenation to LPA.)
When searching TASKLIBs, STEPLIBs, JOBLIBs, a specified DCB, or the LNKLST
concatenation for a module, the system searches each data set directory for the
first directory entry that matches the name of the module. The directory is
located on DASD with the data set, and is updated whenever the module is
changed. The directory entry contains information about the module and where it
is located in storage.
Thanks
Lizette
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Blaicher, Christopher Y.
Sent: Friday, December 20, 2013 7:12 AM
To: [email protected]
Subject: Re: APF authorization and JOBLIB DD card
You are correct.
Chris Blaicher
Principal Software Engineer, Software Development Syncsort Incorporated
50 Tice Boulevard, Woodcliff Lake, NJ 07677
P: 201-930-8260 | M: 512-627-3803
E: [email protected]
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Tom Marchant
Sent: Friday, December 20, 2013 8:49 AM
To: [email protected]
Subject: Re: APF authorization and JOBLIB DD card
On Thu, 19 Dec 2013 00:58:00 +0000, Blaicher, Christopher Y. wrote:
Because the search is STEPLIB first, JOBLIB second (or first if no STEPLIB) ...
Really? I thought that JOBLIB was ignored if there is a STEPLIB.
--
Tom Marchant
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
--
Mark Jacobs
Time Customer Service
Tampa, FL
----
The quiet ones are the ones that change the universe...
The loud ones only take the credit.
Londo Mollari - Babylon 5
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN