Posted by Robert G Laurin on July 22, 2013 at 15:33:16:
It's Monday - weird error day!
I am running the old Order Entry program (4 overlays with lots of COMMONs). What I see, is half the variables of one format (all COMMONs) are not passed between overlays 3 & 4. What is even weirder is that the missing variable are in order of declaration, not format position.
I read the Comet32 about COMMONs and I know these are well aligned, because I use the same usefiles in these overlay and the "discontinuation" happens in the middle of it. The only trigger I see, is a 'Variable previously declared' (once) in the declaratives just about at the breaking point. COMMONs are identical between overlay 3 & 4.
I ran with a TRACE and TRACE PRINT using the PUTFORMAT and I clearly see that between the RUN and the CLEARLOCAL, half the variables are gone.
What is odd, is the variables do not get cleared between overlays 2 and 3.
I tried writing a test program to recreate this and I couldn't reproduce it.
I doubt the problem is COMMON length, I have only 1324 as COMMON size. All the missing variables are the last declared. Overlay 2 has slightly more at 1489 (one extra usefile at the end.) and successfully passed all the COMMONs to overlay 3.
All programs are freshly Compiled using IB in Comet32. (CED sources)
I can provide Compile listing and execution trace (by email).
Tested on Comet32 2013.474
Post a Followup
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.