You can generate the COBOL description of Data Structures
in a file.
Procedure
- You can generate Copybooks by:
- Using the Copybooks generation wizard. In the Design
Explorer view, you can either:
- Right-click an open location and select . In the wizard
which opens up, all the available Data Structures are
selected by default. You can leave them all selected or clear some
of them. Enter the other fields of the wizard. Click Finish.
- Or right-click a given Data Structure. The rest of the operations
is identical, except that in the wizard, only this Data Structure
is selected by default.
- Or entering a copybook generation batch command line from
a command prompt.
Results
This generation creates a file which contains the description
of a Data Structure. This description, which is adapted to your choices
in the generation wizard, is formatted as COBOL source language and
is available for a subsequent insertion in a program through a
COPY clause.
To see the content of this file, you must right-click it in the
Navigator view
and select