The Debugging Report is produced only when a serious error is encountered. It provides information that is helpful for debugging purposes. The Debugging Report displays the following:
Information about the current COBOL record being processed.
The image of the last input card read.
The card number.
An error message.
Consider the following COBOL input description:
01 DEBUG-REC.
02 FIELD1 PIC X(5) USAGE UNKNOWN.
The Translator creates the following Debugging Report from this input:
******************
* CTF SCAN ERROR *
******************
NAME OF RECORD
BEING PROCESSED DEBUG-REC
--------------- ------------------------------
LAST CARD READ 02 FIELD1 PIC X(5) USAGE UNKNOWN.
-------------- ------------------------------------------------------
CARD NUMBER 00002
----------- -----
ERROR CODE FR006E
---------- ------
ERROR TYPE COBOL SYNTAX ERROR - USAGE CLAUSE
Information Builders |