Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

INTERVIEW QESTION(FINDING THE LIBRARY)

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: INTERVIEW QESTION(FINDING THE LIBRARY)
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    Post subject: Re: INTERVIEW QESTION(FINDING THE LIBRARY)
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: 53
Location: India

PostPosted: Mon Jul 04, 2005 4:14 pm    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject: Re: INTERVIEW QESTION(FINDING THE LIBRARY)
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    Post subject:
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    Post subject: regarding load module
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    Post subject:
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    Post subject: Re: INTERVIEW QESTION(FINDING THE LIBRARY)
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    Post subject:
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    Post subject: Re: INTERVIEW QESTION(FINDING THE LIBRARY)
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts finding delayed job/s in OPC jzhardy IBM Tools 0 Mon May 29, 2017 9:04 am
No new posts The Last Two Question For You To Ask ... CaptBill Mainframe Interview Questions 0 Fri Apr 14, 2017 5:42 am
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm
No new posts Finding unreferenced datasets without... Alan Playford JCL & VSAM 5 Tue Jul 12, 2016 9:07 pm
No new posts how to find clist's or view library Andrew Hsia CLIST & REXX 4 Tue Jun 28, 2016 6:07 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us