3. Embedded SQL for COBOL : Preprocessor Operation : Coding Requirements for Embedded SQL Programs : Comments Embedded in COBOL Output
 
Share this page                  
Comments Embedded in COBOL Output
Each embedded SQL statement generates one comment and a few lines of COBOL code. You may find that the preprocessor translates 50 lines of embedded SQL into 200 lines of COBOL. This may result in confusion about the line numbers when you try to debug the original source code. To facilitate debugging, each group of COBOL statements associated with a particular statement is delimited by a comment corresponding to the original embedded SQL source. Each comment is one line long and describes the file name, line number and type of statement in the original source file.