View previous topic :: View next topic
|
Author |
Message |
nandakumar Warnings : 2 New User
Joined: 05 May 2005 Posts: 50
|
|
|
|
Hi,
I AM SUBMITING A COBOL PROGRAM THRU JCL,BUT I DONT KNOW THE
PATH OF THE LOAD-LIBRARY FOR THE COBOL PROGRAM WHICH I AM GOING TO SUBMIT ,TELL ME HOW TO SUBMIT THE PROGRAM, WITH OUT SPECIFING THE LOAD LIBRARY PATH?
THNKING U. |
|
Back to top |
|
|
pancham
New User
Joined: 18 Jun 2005 Posts: 9
|
|
|
|
it is not compulsory to specify load module name instead of load module name we can also specify object module name although it is system in build and is not visible to the user but on giving obj name we can view it |
|
Back to top |
|
|
ideas
New User
Joined: 25 May 2005 Posts: 52 Location: India
|
|
|
|
In either case..if we dont know the lib..I dont see any way out.. |
|
Back to top |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
|
|
|
|
This is not true! You can view your compiled and find your loadlib!
Look for the SYSIN of program IGYCRCTL in your spool and you will find the answer!
I hope in this help. |
|
Back to top |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
|
|
|
|
Ops i want to apoligize... that DD of PGM is the source of your program... The load is in program IEWL(Link-editor) in //SYSLMOD
I'm sorry for my error |
|
Back to top |
|
|
Puneet
New User
Joined: 27 Jun 2005 Posts: 9 Location: Chennai
|
|
|
|
Hi nandkumar,
The JCLlib or PROCLib contains the source load module.This information can also be obtained using the JESYSMSG of the Job in the Spool.
Before expanding the Procs the System shows the Library (System or Private ) it is using to open the same.
Thanks,
Puneet Narad |
|
Back to top |
|
|
David P
Active User
Joined: 11 Apr 2005 Posts: 106 Location: Cincinnati Ohio
|
|
|
|
Hi All,
I believe here the question is not how to find the load library and include the same in the JCL.
Coming back to the origional question, I believe if you do not know the load library and the executable is not present in the JOBLIB/STEPLIB the
system will search for the default system libraries and if the load module
is not found in any one of these the result will be an S806-04 abend.
Hence I agree with ideas that there is no way out.
All suggestions are welcome.
Regards
David. |
|
Back to top |
|
|
brain_s390
New User
Joined: 06 May 2005 Posts: 58 Location: Mumbai
|
|
|
|
Hi NandaKumar,
One small request to you and all forum members.Pls post your queries in small case and not CAPS...lets follow the forum rules...
Coming back to your query.If your project specific load module is not mentioned then system look for the same in the default system load libraries i.e the module present in the production region.If not found then it will give S806 abend! |
|
Back to top |
|
|
parikshit123
Active User
Joined: 01 Jul 2005 Posts: 269 Location: India
|
|
|
|
Okay,
Which is (are) the system define default load librarie(s)? |
|
Back to top |
|
|
nandakumar Warnings : 2 New User
Joined: 05 May 2005 Posts: 50
|
|
|
|
hi,
My question is,iam submiting a cobol prog,witout specificing the load module path in steplib or joblib(that is omitting steplib or joblib).
I want to submit the prog sucessfully.one clue is there, you know the cobal program name.If u complied it means, it will be in the load load library.But i dont know the path of laad library.By taking the program name as a clue,u have to submit the program.
thanking u. |
|
Back to top |
|
|
somasundaran_k
Active User
Joined: 03 Jun 2003 Posts: 134
|
|
|
|
My two cents.
If you are using any configuration management tool then you will be able to find out the respective load libraray for each stage.
regds
-Som |
|
Back to top |
|
|
parikshit123
Active User
Joined: 01 Jul 2005 Posts: 269 Location: India
|
|
|
|
Hi Som,
Thanks for the help.
Well, I am little confused here.
What is the relation between default system load library and location for default load libraries of say "endevour".?
For example, if I write a cobol program named "sort" ( if its allowed.. I don't know)... and move it to production ... will this program run whenever sort is executed in any jcl without specifying the load lib locations?
I think it will not be.
What say experts? |
|
Back to top |
|
|
somasundaran_k
Active User
Joined: 03 Jun 2003 Posts: 134
|
|
|
|
parikshit123
I was answering for the original post submitted by nandakumar, where he was asking how to find out the load library if it's not given in the job.
For your query
Quote: |
For example, if I write a cobol program named "sort" ( if its allowed.. I don't know)... and move it to production ... will this program run whenever sort is executed in any jcl without specifying the load lib locations?
|
No,it won't.
Regds
-Som |
|
Back to top |
|
|
parikshit123
Active User
Joined: 01 Jul 2005 Posts: 269 Location: India
|
|
|
|
Hi, Som,
Thanks for your prompt reply. |
|
Back to top |
|
|
|