New Copybook wizard
You must enter values in this wizard to create a Copybook instance.
- Project
- Select a project in the list or enter the name of the project where the instance is to be saved.
A project represents the physical distribution of your instances in your workspace. It groups directories and files. It is used to organize resources that can be built, shared, or versioned.
A Rational® Programming Patterns project contains a subset of files that correspond to the design and the generated sources of an application.
- Name
- The name is required. It must be constituted of alphabetic or numeric characters only.
- Generation option
- The following generation options are available.
Table 1. Values of the generation option Values Meaning DC1: DATA option C1 Generation of a Data Structure description according to the parameters that are indicated in the Copybook or in the DATA Input Aid called in the Data Structure -GC Lines. DC3: DATA option C3 Same generation type as option DC1 but the names and labels of the Data Elements and Segments are displayed as comments in the Segment COBOL source code. DSQC1: DATASQ option C1 Generation of a Data Structure description according to the parameters that are indicated in the Copybook or in the DATASQ Input Aid called in the Data Structure -GC Lines. This option generates two levels of COPY clauses: one for the host variables and one for the presence indicators.
- Data Structure
- Click Browse to select a Data Structure.
By default, all the Segments of this Data Structure will be part of the generated description. However, in the Selection tab of the Copybook editor, you can select the appropriate Segments only.
- Generation parameters
- Generation parameters are specified in Libraries. These parameters
are related to the adaptation to the operating system in use.
Click Browse. In the selection wizard that opens, select a Library. You can also create a Library by clicking New Library.
- Label
- Enter the label that identifies the instance. It will constitute a search criterion upon a subsequent search.
- Open editor on finish
- Select this check box if you want to open the editor of the instance you are creating. The editor opens on the Overview tab. From there, you can access the other tabs to specify all the characteristics of the instance.