Hello,
I am currently working on a Unix server (Redhat 8 and AIX 7.3) to compile Cobol programs by using Micro Focus Cobol V8.0 . To compile these programs I use the 'cob64' command line. When there are errors in source code, I get this kind of log (for AIX) :
*===============================================================*
* Micro Focus COBOL V8.0 revision 000 Compiler
* (C) Copyright 1984-2022 Micro Focus or one of its affiliates.
* REF GNR-078800000AM
* Total Messages: 1
* Unrecoverable : 0 Severe : 1
* Errors : 0 Warnings: 0
* Informational : 0 Flags : 0
* Data: 1546 Code: 0
------------------------------------------------------------------------
------------------------------------------------------------------------
THROW ERROR HERE
* 71-S******** **
** PROCEDURE DIVISION missing or unknown statement
cob64: error(s) in compilation: TESTERR.pcb
TESTERR.pcb - ERREUR DE PRE-COMPILATION COBOL
I want to retrieve the line where the error occurred but I don't understand where to find it. The only number that appears (here 71) is linked to the type of error and not to the line of source code.
Where can I find the lines associated with errors?
Thank you.
#VisualCOBOL
#COMPILER