Jim Morcombe wrote:
> I have a program that compiles when I have the following:
> CALL "SCN-ERROR" USING ERROR-LINES.
>
> However, if I change it to be
>
> 01 PROG PIC X(10) VALUE "SCN-ERROR".
> CALL PROG USING ERROR-LINES.
>
> Then I get a Segmentation error during the compile.
The valid values in a program-id are implementation defined.
With TC, a '-' (dash) can't be used in a program-id, as both C and GNU
assembler will not support it.
Unfortunately the CALL statement error trapping needs improvement, both
at compile time and run-time.
|