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: 181
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: 1118
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.

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 Facing issue in Run Edit Macro Job CLIST & REXX 9
No new posts outtrap does not capture within an ed... CLIST & REXX 1
No new posts Job is loading load modules several t... COBOL Programming 12
No new posts ISPF Edit Macro with profile commands... TSO/ISPF 14
No new posts Need to open a DSN using REXX & e... CLIST & REXX 10
Search our Forums:

Back to Top