Including declarations from DCLGEN in a DUMMY COBOL program
About this task
ADDI saves SQL fields that are used in COBOL programs. During the build process, the SQL fields that are used from COBOL are saved by parsing the DECLARE TABLE statement. Therefore, this process relies on DCLGEN copybooks and the DECLARE TABLE statement must be included in these copybooks.
To correctly collect the SQL fields and map the fields to the variables, the COBOL declaration for table must be included in the IBM® ADDI Build project.