View previous topic :: View next topic
|
Author |
Message |
azar.mhd
New User
Joined: 22 Feb 2010 Posts: 14 Location: Hyderabad
|
|
|
|
Hi,
In my JCL programe i have JCLLIB and STEPLIB. Which one will override another. Can any one explain with example.
Thanks in advance. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Your topic mentions Job Lib and your post mentions JCLLIB and STEPLIB. . .
At the top of the page is a link to "IBM Manuals". Look in the JCL manual for your environment and read about these.
If you find something in the manual that is not clear, post what you found and your doubt about it. Someone will be able to clarify. |
|
Back to top |
|
|
chopadevaibhav
New User
Joined: 07 Jan 2008 Posts: 5 Location: pune
|
|
|
|
If your using JOBLIB and STEPLIB then STEPLIB will override the JOBLIB. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
chopadevaibhav wrote: |
If your using JOBLIB and STEPLIB then STEPLIB will override the JOBLIB. |
"Override" has a different meaning when you are talking about JCL - If a STEPLIB DD is specified in a job that also has a JOBLIB, the STEPLIB takes precedence when searching for a program - it does not "override" anything. |
|
Back to top |
|
|
parsesource
New User
Joined: 06 Feb 2006 Posts: 97
|
|
|
|
Anuj Dhawan wrote: |
chopadevaibhav wrote: |
If your using JOBLIB and STEPLIB then STEPLIB will override the JOBLIB. |
"Override" has a different meaning when you are talking about JCL - If a STEPLIB DD is specified in a job that also has a JOBLIB, the STEPLIB takes precedence when searching for a program - it does not "override" anything. |
it does. if steplib is present in in a jobstep then joblib is ignored |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
it does. if steplib is present in in a jobstep then joblib is ignored |
Well, joblib is ignored, but this is not an override. Override has a specific meaning and this is not it. . .
Please re-read what Anuj posted. . . |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
I think override can be used to describe this action where one DD replaces the other.
The MVS JCL manual even uses the term "override" when describing how the STEPLIB causes the JOBLIB to be ignored!
It's not like we're discussing generations and versions. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Quote: |
The MVS JCL manual even uses the term "override" when describing how the STEPLIB causes the JOBLIB to be ignored! |
Yup. . . Rather a shame when the vendor manuals slip into vernacular. . . Possibly authored by someone of limited experience.
Possibly, it has also been corrected in the "current" JCL manual:
Quote: |
13.2.5 Relationship of a JOBLIB to a STEPLIB
Use a STEPLIB DD statement to define a private library for one job step in a job. If you include a STEPLIB DD statement for a job step and a JOBLIB DD statement for the entire job, the system first searches the step library and then the system library for the requested program. The system ignores the job library for a step that has a STEPLIB DD statement. |
My preference would be the more strict terminology rather than letting more things become acceptable just because many (new) people mis-use a term.
However - As "they" say - nothing is sacred
d |
|
Back to top |
|
|
|