IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

INTERVIEW QESTION(FINDING THE LIBRARY)


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nandakumar
Warnings : 2

New User


Joined: 05 May 2005
Posts: 50

PostPosted: Sun Jul 03, 2005 4:53 pm
Reply with quote

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
View user's profile Send private message
pancham

New User


Joined: 18 Jun 2005
Posts: 9

PostPosted: Mon Jul 04, 2005 3:44 pm
Reply with quote

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
View user's profile Send private message
ideas

New User


Joined: 25 May 2005
Posts: 52
Location: India

PostPosted: Mon Jul 04, 2005 4:14 pm
Reply with quote

In either case..if we dont know the lib..I dont see any way out..
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Mon Jul 04, 2005 6:13 pm
Reply with quote

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
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Mon Jul 04, 2005 6:16 pm
Reply with quote

Ops i want to apoligize... that DD of PGM is the source of your program... icon_razz.gif The load is in program IEWL(Link-editor) in //SYSLMOD
I'm sorry for my error
Back to top
View user's profile Send private message
Puneet

New User


Joined: 27 Jun 2005
Posts: 9
Location: Chennai

PostPosted: Thu Jul 07, 2005 11:07 pm
Reply with quote

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
View user's profile Send private message
David P

Active User


Joined: 11 Apr 2005
Posts: 106
Location: Cincinnati Ohio

PostPosted: Fri Jul 08, 2005 6:47 pm
Reply with quote

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
View user's profile Send private message
brain_s390

New User


Joined: 06 May 2005
Posts: 58
Location: Mumbai

PostPosted: Sat Jul 09, 2005 4:39 pm
Reply with quote

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
View user's profile Send private message
parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Sun Jul 10, 2005 2:21 am
Reply with quote

Okay,
Which is (are) the system define default load librarie(s)?
Back to top
View user's profile Send private message
nandakumar
Warnings : 2

New User


Joined: 05 May 2005
Posts: 50

PostPosted: Thu Jul 14, 2005 7:22 am
Reply with quote

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
View user's profile Send private message
somasundaran_k

Active User


Joined: 03 Jun 2003
Posts: 134

PostPosted: Thu Jul 14, 2005 11:55 pm
Reply with quote

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
View user's profile Send private message
parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Sat Jul 16, 2005 5:37 am
Reply with quote

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
View user's profile Send private message
somasundaran_k

Active User


Joined: 03 Jun 2003
Posts: 134

PostPosted: Sat Jul 16, 2005 10:44 pm
Reply with quote

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
View user's profile Send private message
parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Sun Jul 17, 2005 1:25 am
Reply with quote

Hi, Som,
Thanks for your prompt reply.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts VB to FB - Finding LRECL SYNCSORT 4
No new posts Calling an Open C library function in... CICS 1
No new posts Submit multiple jobs from a library t... JCL & VSAM 14
No new posts Duplicate several members of/in one l... JCL & VSAM 7
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
Search our Forums:

Back to Top