You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
The COPY REPLACING directive in COBOL does not seem to work when using the GixSQL precompiler to compile a COBOL program, whereas it works perfectly with GNUCOBOL (cobc).
Steps to Reproduce:
Create a COBOL program zreplacing.cbl with the following content:
Description:
The
COPY REPLACING
directive in COBOL does not seem to work when using the GixSQL precompiler to compile a COBOL program, whereas it works perfectly with GNUCOBOL (cobc).Steps to Reproduce:
Create a COBOL program
zreplacing.cbl
with the following content:Create the copybook
ztest.tag
with the following content:Compile the program using GixSQL:
Expected Behavior:
The program should be precompiled without errors, similar to how it compiles with GNUCOBOL (cobc).
Actual Behavior:
The compilation fails with the following error:
Additional Information:
The program compiles and runs perfectly when using GNUCOBOL with the following command:
Modify the COBOL program to remove the
REPLACING
clause:Compile the modified program using GixSQL:
Expected Behavior:
The program should be precompiled without errors.
Actual Behavior:
The precompilation works without any errors.
Environment:
The issue seems to be specific to the
COPY REPLACING
directive when using GixSQL.Please provide guidance on how to resolve this issue or if a fix can be implemented in future versions.
Thank you for your assistance.
The text was updated successfully, but these errors were encountered: