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

LE Modules in Link Edit


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
John Poulakos

Active User


Joined: 13 Jun 2012
Posts: 178
Location: United States

PostPosted: Sat Apr 28, 2018 12:14 am
Reply with quote

I'm not sure this is the place to ask, but here goes:

If I compile and link a new COBOL program that doesn't call any old modules I am picking up LE modules (CEExxxxx) from 2013. However, if I compile an older COBOL program, that calls old COBOL modules, I get LE modules that are much older. It's like the compiled program inherits the LE modules from the oldest module it calls.

It doesn't seem to hurt anything. I was just curious.
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Mon Apr 30, 2018 5:11 pm
Reply with quote

If sub-modules are link-edited without specifying NCAL, they will resolve any modules (including LE ones) that are called by them. This can result in multiple copies of (e.g.) LE modules being included in the final load module, only one of which is used to resolve all references. Which copy is used is unpredictable without specifying via control cards.

Garry.
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Query on edit primary command CLIST & REXX 5
No new posts Query on edit primary command CLIST & REXX 1
No new posts Need help to resolve a hard edit COBOL Programming 8
This topic is locked: you cannot edit posts or make replies. Need help to resolve a hard edit COBOL Programming 4
No new posts create rexx edit Macro that edits the... CLIST & REXX 3
Search our Forums:

Back to Top