This wizard enables you to generate the COBOL description (COPY book) of one or more Data Structures in a file. A single Data Structure can be used to generate several different descriptions, each one adapted to a particular need in the programs. (i.e. in FILE SECTION or WORKING-STORAGE SECTION, taking the internal and input formats into account). This file is then available for a subsequent insertion in a Program, through the use of the COPY clause. The file is created in the Navigator view. To see its content, you must right-click on it and choose .
You are free to check or clear the Data Structure(s) you want.
This file must have a .cpy extension. If you have launched the Copybook generation wizard from a selected Data Structure, the filename defaults to the name of this Data Structure. On the other hand, if you have launched the wizard from a location or the Data Structure entity level, the filename defaults to the first Data Structure of the location.
The destination file is created in the Navigator view. By default, it is created in the project and package which already holds the corresponding Data Structure(s).