Joined: 13 Jun 2012 Posts: 180 Location: United States
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.
Joined: 08 May 2006 Posts: 1087 Location: Dublin, Ireland
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.