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: 10457
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: 8280
Location: Dubuque, Iowa, 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 can we hardcode a value in db2 load c... ram_vizag DB2 2 Wed Feb 28, 2018 11:04 pm
No new posts SQLCODE 518 while executing DB2 module. abdulrafi DB2 8 Wed Feb 07, 2018 10:46 am
No new posts load and delete table through JCL wit... ram_vizag JCL & VSAM 9 Thu Feb 01, 2018 12:47 am
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

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