Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
What will be the load module name?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
Anurag Singh

New User


Joined: 20 Jan 2008
Posts: 25
Location: India

PostPosted: Sat Dec 19, 2009 7:22 pm    Post subject: What will be the load module name?
Reply with quote

PDS member which have the cobol code to compiled is :

ABC.JAN2010(XXX)

And in Code's Identification Division the Program ID is : YYY

Now the code is compiled , what will be the load library member for this program, whether it would be XXX or YYY and why ?
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
Location: italy

PostPosted: Sat Dec 19, 2009 7:39 pm    Post subject: Reply to: What will be the load module name?
Reply with quote

the load module name will be the name assigned by the parameter specified in the linkage editor step
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Sat Dec 19, 2009 8:49 pm    Post subject:
Reply with quote

Quote:
what will be the load library member for this program, whether it would be XXX or YYY and why ?
The answer is ... it depends. If your linkage editor (binder) includes input statements like
Code:
  ENTRY YYY
  NAME ZZZ(R)
then the load module name could be ZZZ. If your linkage editor (binder) SYSLMOD includes a member name, that will be the name in load library. The source PDS (or whatever) name is irrelevant -- so XXX will not be the name unless you code the linkage editor (binder) to call it that. Absent all other changes, YYY will be the name -- but only if you're not overriding it along the way.
Back to top
View user's profile Send private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 401
Location: Mumbai

PostPosted: Sat Dec 19, 2009 9:56 pm    Post subject:
Reply with quote

not to mention that the source may be for a called routine that is not the main entry point so the source would have nothing to do with the final name.

So the answer to your question is... there is no answer given the information you supplied
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 Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts Db2 load job abending in SORT mistah kurtz DB2 4 Mon Jun 05, 2017 3:58 pm
No new posts Dump analysis of an assembler module monica1 PL/I & Assembler 4 Tue May 09, 2017 10:05 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts Copy load modules and alias vasanthz IBM Tools 5 Thu Apr 20, 2017 6:31 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us