View previous topic :: View next topic
|
Author |
Message |
Shrikanth Warnings : 1 New User
Joined: 26 Feb 2007 Posts: 5 Location: Bangalore
|
|
|
|
Hi All,
i have query, what happeneds if we don't specify joblib and steplib in a job, and what is the error message will pop up.? Can some body help me in this?
Appreicate your help!
Shrikanth |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Possibly an error about not finding what the joblib should have been pointing to. The same goes for the steplib.
You do know what type of facility each points to, don't you? |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Kind of a silly question. Normally JOBLIB and STEPLIB aren't used in production applications. |
|
Back to top |
|
|
prav_06 Warnings : 1 Active User
Joined: 13 Dec 2005 Posts: 154 Location: The Netherlands
|
|
|
|
Srikanth,
If ya don't specify STEPLIB or JOBLIB , the system would start searching in the default libraries like sys1.linklib etc.., and if the system could not find the program u r trying to execute it would end up giving a System Abend 806, Load module not found.
SUPERk
Quote: |
Normally JOBLIB and STEPLIB aren't used in production applications. |
this is not true in all the cases, we do have production load modules stored inside diff. PDS's which are picked up by steplib or joblib st.
Thamilzan. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Thamilzan, is there a particular business reason why the libraries are split that way, and why they're not defined to the LINKLIST? |
|
Back to top |
|
|
prav_06 Warnings : 1 Active User
Joined: 13 Dec 2005 Posts: 154 Location: The Netherlands
|
|
|
|
Superk,
There is no specific business reason, I have my prod. load lib in all the jobs given in either steplib or joblib, now if i want to test a particular pgm for development purpose i will just override the JOBLIB or STEPLIB st. which is inside the PROC, and more than that , I had enquired about this senario to my peer's as well as friends who work on mainframes, they all have a steplib or joblib in their PRODUCTION jcl's and PROC's.
Thamilzan. |
|
Back to top |
|
|
acevedo
Active User
Joined: 11 May 2005 Posts: 344 Location: Spain
|
|
|
|
superk wrote: |
Kind of a silly question. Normally JOBLIB and STEPLIB aren't used in production applications. |
Agree with that NORMALLY... |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
At several of my larger sites, STEPLIBs are used. These sites are "service providers" and (to save on licensing fees and physical considerations) run a few very large machines instead of several mid-sized machines.
When one machine is running processes for multiple clients, it is common for each client to have their own loadlib(s) and proclib(s). Sometimes, the same module name appears in completely unlike applications. System software libraries are in the linklst.
Most of my sites either discourage or completely prevent the use of JOBLIBs - for performance. A few of the studies i worked on showed that three of the most often executed programs are IEFBR14, IEBGENER, and "the sort". Sometimes there are a few "local favorites" utilities as well. Given that these are usually NOT in any of the "user" loadlibs, there is no reason to search those libs which using JOBLIB would do. |
|
Back to top |
|
|
jayaraj313 Warnings : 1 New User
Joined: 19 Sep 2006 Posts: 3
|
|
|
|
Hey Srinath!!!!!
If you are not specifying steplib&joblib then compiler will search in linklisi.That is sys1.linklib.... |
|
Back to top |
|
|
cobolunni
Active User
Joined: 07 Aug 2006 Posts: 127 Location: kerala,india
|
|
|
|
Yes actually steplib and joblib is used to override the default libraries |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
The job/step lib statements do not override the default libraries (also known as the link list). They are searched before the linklst.
This is why when executing an IBM utility or some other linklst'ed module, it adds overhead to search libraries where they will never be. |
|
Back to top |
|
|
cobolunni
Active User
Joined: 07 Aug 2006 Posts: 127 Location: kerala,india
|
|
|
|
yes right but actually it is a type of overriding because jes will check the libraries specified before checking default library |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Sorry to disagree, but i do not believe it a type of overriding - overriding implies using one thing instead of another - the original is not used at all as in when we override a DD statement or a COND=. For JCL, i believe it is safe to say (someone will correct me if it is not ) that the term override is used in connection with PROCedures.
Joblib/steplib do not cause the linklib to not be searched. . .
Now, a steplib, in a proc, could have an override. . . |
|
Back to top |
|
|
cobolunni
Active User
Joined: 07 Aug 2006 Posts: 127 Location: kerala,india
|
|
|
|
dick scherrer wrote: |
Now, a steplib, in a proc, could have an override. . . |
yes but still even using steplib if the item not found there then it will look for job lib isn't it then how can you say it as overriding |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Joblib/Steplib determine library search order.
I believe there is a difference between the order of libraries searched and an override. As i mentioned earlier, you could override a steplib. . . .
If some folks would like to refer to that as an override, well, OK. Won't worry me. |
|
Back to top |
|
|
cobolunni
Active User
Joined: 07 Aug 2006 Posts: 127 Location: kerala,india
|
|
|
|
yes nice , but you doesn't answer my question. From your point of view how the step lib becomes an override since thats also only makes difference in order of search |
|
Back to top |
|
|
deepak.vl
New User
Joined: 17 Feb 2007 Posts: 38 Location: Hyderabad
|
|
|
|
I agree with Dick..there is a difference the order of libraries searched and an override
With in JOBLIB/STEPLIB, JOBLIB 'OVERRIDES' STEPLIB. But with in JOBLIB/STEPLIB and other default libraries, it is the order of search. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello cobolunni,
If you re-read what i posted, you will notice that i did not say
Quote: |
. . . how the step lib becomes an override |
What i did say was that a steplib (which is just another DD in a step) could be overriden.
Once that has happened, the "new" (rather than the original) steplib participates in the load module search - it still does not "override" the linklst. |
|
Back to top |
|
|
cobolunni
Active User
Joined: 07 Aug 2006 Posts: 127 Location: kerala,india
|
|
|
|
Ok dick thanks for your data |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
You're welcome |
|
Back to top |
|
|
|