4. Embedded SQL for Fortran : Preprocessor Operation : Coding Requirements for Embedded SQL Programs : Comments Embedded in Fortran Output
 
Share this page                  
Comments Embedded in Fortran Output
Each Embedded SQL statement generates one comment and a few lines of Fortran code. You may find that the preprocessor translates 50 lines of Embedded SQL into 200 lines of Fortran. This can confuse the program developer who is trying to debug the original source code. To facilitate debugging, a comment corresponding to the original Embedded SQL source delimits each group of Fortran statements associated with a particular statement. Each comment is one line long and informs the reader of the file name, line number, and type of statement in the original source file.