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 in which 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 Pacbase project contains a subset of file that correspond to the models and the generated sources that constitute an application.

Package
A package corresponds to a logical group of information in a project.

If you are maintaining a Pacbase application, selecting a package is not advised. The instance override mechanism is then made easier because the overriding instance is always in the same package as the overridden instance. You do not need to manage the presence of both the instances in the same package, which is the requirement of an override.

Name
The name is required. It must be constituted of alphabetic or numeric characters only.
Generation option
Two generation options are available.
Table 1. Values of the generation option
Values Meaning
DC1 : DATA option C1 Generation of a Data Structure description.
DC3 : DATA option C3 Generation of a Data Structure description.

Generation of the Segment COBOL source code with the names and labels of the Data Elements and Segments as comments.

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 for 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.

Feedback