|
From: David E. <de...@us...> - 2005-08-11 12:16:08
|
I could not duplicate any of the problems you described using version 0.63. I think you may be experiencing an intermittent bug in the TC pre-processor reported on several occasions, and which I encountered a while back. Unfortunately, I never did isolate the problem as any small change in an option, search path or copybook line and the problem would disappear. To make matters even more frustrating, the conditions (code) which caused the bug on one system usually could not be duplicated on another. And to make matters really frustrating, the same conditions (code) which had caused a bug on my system, would no longer duplicate the problem several day later. Anyway, I think the problem is with the a stray pointer(s) in the copybook search sequence code. The only thing I can suggest is to try some work-around, such as the following. 1) Enclosed the copybook names in quotes. COPY 'some-copybook'. 2) Add an extra path delimiter at the end of the path. ... -I $COBCPY: -I $IO: gltest.cbl 3) Add an extra dummy path at the end of the path. ... -I $COBCPY:dummy -I $IO:dummy gltest.cbl The TC pre-processor code needs to be cleaned up, and better integrated into the main compiler, but that is another story. |