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

What will be the load module name?


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sat Dec 19, 2009 7:39 pm
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Sat Dec 19, 2009 8:49 pm
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: 400
Location: Mumbai

PostPosted: Sat Dec 19, 2009 9:56 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Load new table with Old unload - DB2 DB2 6
No new posts How to load to DB2 with column level ... DB2 6
No new posts REASON 00D70014 in load utility DB2 6
No new posts DB2 Load - Sort Or order BY DB2 1
No new posts DB2 Load - NUMRECS DB2 3
Search our Forums:

Back to Top