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
 
LE Modules in Link Edit

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
John Poulakos

New User


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

PostPosted: Sat Apr 28, 2018 12:14 am    Post subject: LE Modules in Link Edit
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: 1006
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Mon Apr 30, 2018 5:11 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Defining SYSLIB to USS c++ (cxx) comp... Harold Barnes All Other Mainframe Topics 2 Sat Apr 07, 2018 5:06 am
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts exec macro in the end of edit anatol CLIST & REXX 8 Fri Sep 22, 2017 5:10 am
No new posts Could we identify the called modules ... elixir1986 COBOL Programming 5 Fri Jul 14, 2017 1:53 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm

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