If an Oracle link is used, the INSDBINF command solves the following problems in linking between the COBOL compiler and the precompiler:
The compiler outputs line numbers where compilation errors have been detected, but these line numbers belong to lines in an intermediate file (source file after precompilation). To modify the original source program (COBOL source program with embedded SQL statements before precompilation), the user must reference the intermediate file.
A line with an error in the original source program cannot be correctly located using "Go To" in the "Problems" view.
The original source program cannot be debugged.
The INSDBINF command generates an intermediate file that contains embedded line number control information and file name control information. Line number control information (#LINE information) is used to report the line numbers of lines in the original source program, before it is precompiled, to the compiler or precompiler. File name control information (# FILE information) is used to report original source program file names or the names of files included by the precompiler.
An intermediate file generated by the INSDBINF command can be input to the COBOL compiler. This allows referencing the line number control information and file name control information. From that information, a modified original source program, in which line numbers in the original source files correspond to line numbers in precompiled source files, and file names of include files, can be obtained. Thus, problems that occur in linking between the COBOL compiler and precompiler can be resolved.
INSDBINF command parameters
Different INSDBINF command parameters are used for the different operating systems of the servers that perform remote development. For details, see the "NetCOBOL User's Guide".