View previous topic :: View next topic
|
Author |
Message |
elangovan_paul
New User
Joined: 30 Mar 2007 Posts: 7 Location: Chennai
|
|
|
|
Hi,
As a part of a particular requirement, we had to change 2 programs. In order to test these programs we have compiled the programs and have placed the load module in a test load library.
While trying to run the job having these programs, the steps containing these programs is continuously failing with S806 abend. We have tried running with various options.The job log throws the following reason ‘REQUESTED MODULE IDMSIDMS NOT FOUND’.
We also ran the job by copying the load modules of all the other programs in this job from Production load library to test load library so that all the programs use the test load library. The very first program in the job got aborted. However the programs are running fine when we use the production load library instead.
Can any one of you please let me know what could be the possible reason for this?
Regards,
Elango |
|
Back to top |
|
|
elangovan_paul
New User
Joined: 30 Mar 2007 Posts: 7 Location: Chennai
|
|
|
|
Hi,
I had actually added few more system related loadlibs that are used in the production job and the job ran without any issues.
Thanks for ur reply.
Regards,
Elango |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Good to hear it is working - thank you for letting us know
d |
|
Back to top |
|
|
prateek_rastogi
New User
Joined: 01 Aug 2010 Posts: 6 Location: India
|
|
|
|
HI,
I faced similar issue today. The weird point is the loadlib in which the module IDMSIDMS resides was already there in the JOBLIB but still the job was abending with the S806 abend.
Now that I appended the same loadlib it in the steplib of the module then this abend got away. Any explanation for the same.
Thanks,
Prateek |
|
Back to top |
|
|
Meenakshi Selvaraj
New User
Joined: 30 Oct 2009 Posts: 36 Location: Chennai
|
|
|
|
Hi,
Thanks for the explaination.
The reason for the abend S806:
Unable Link or Load. The job was unable to find the specified load module.
Check that the job is looking at the correct Load Libraries, specify a STEPLIB if required.
Usually check the abend of S806-RC. ie S806 with Return code.
More specific if we say,
• S806 - 04 - The program entry point specified was not found in the indicated library (private library, job library, or link library)
• S806 - 08 - An uncorrectable input/output error occurred when the bldl control program routine attempted to search the directory of the library that contained the program whose entry point was specified. This can occur if the indicated library is an uninitialized partitioned dataset.
• S806 - 0C - The supervisor attempted to search a library for the specified entry point, but the DCB of the library was not open.
• S806 - 10 - An explicit load was issued with no DCB specified.
• S806 - 14 - SVC Routine required by the system could not be found in the link pack area.
• S806 - 18 - SVC routine required by the system could not be found in the link pack area because the directory was not yet built.
• S806 - 1C - specified DCB for attach, link, load, or XCTL is incorrect. |
|
Back to top |
|
|
prateek_rastogi
New User
Joined: 01 Aug 2010 Posts: 6 Location: India
|
|
|
|
Hi Meenakshi,
Ya true but when a module is not able to locate the load module in the steplib then it searches the JOBLIB. So why is it like this that when it is in the JOBLIB then it abends and when in steplib then it doesn't not. It would be helpful if you can throw some light on the same.I am checking on some few other permutations for the same.
Thanks,
Prateek |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
prateek_rastogi,
Quote: |
Ya true but when a module is not able to locate the load module in the steplib then it searches the JOBLIB. |
nah, but false.
Why don't you expand your limited (almost non-existent) knowledge by reading the manuals?
13.3.5 Relationship of a STEPLIB to a JOBLIB |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Prateek: you do not understand the relationship of JOBLIB and STEPLIB. From the JCL Language Reference manual (link at the top of this page):
Quote: |
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. |
|
|
Back to top |
|
|
Meenakshi Selvaraj
New User
Joined: 30 Oct 2009 Posts: 36 Location: Chennai
|
|
|
|
Hi Prateek,
Quote: |
Ya true but when a module is not able to locate the load module in the steplib then it searches the JOBLIB. |
If both STEPLIB and JOBLIB are both coded, STEPLIB will override JOBLIB.
If a job contains a JOBLIB DD statement and a step contains a STEPLIB DD statement, the system searches for the step’s program first in the STEPLIB library and then in the system libraries. The system ignores the JOBLIB library for that step.
Please read the manuals. |
|
Back to top |
|
|
prateek_rastogi
New User
Joined: 01 Aug 2010 Posts: 6 Location: India
|
|
|
|
Thanks alot for guiding me on this. I mistook this with the scenario that only if I put the loadlib of the current module in the steplib library ,the rest of the needed modules will be taken from the joblib as it is global. Since so many modules are there in the steplib and joblib in my system that I got this confusion.
I will definitely go through the manuals.
Thanks,
Prateek |
|
Back to top |
|
|
|