Rational Developer for System z, Version 7.6

New Segment wizard

This wizard helps you creating a new Segment; you specifies here its name and label, and moreover the project and package where it will be saved.

Package
Choose a package in the dropdown list or enter the name of a new package.

A package corresponds to a logical group of information.

The logical resources contained in a package can be distributed into various projects.

In the 'Navigator' view of the 'Design' perspective, you will see that the packages represent the branches of your projects. Each package contains its own instances.

For the resources transferred from Pacbase, the naming convention of a package will be {Repository Name}.{Library Path}.{Library Name} So respecting this naming when you create a package is a good idea. To reflect the library hierarchy, you can enter the library names (starting from the highest-level library), and separate each with a period (ex: 'COM.CIF'). This way, the 'Navigator' view will display a first-level branch, COM, with its instances, and a second-level branch, CIF, with its own instances.

Project
Choose a project in the dropdown list or enter the name of the project in which the instance will 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 which will be built, shared or versioned.

A Pacbase project contains a sub-set of files which correspond to the models and/or generated sources making up a Pacbase application.

There can be various projects for each location (a location is the equivalent of a database).

Name
Enter the name of the new Segment.

The Segment name is made of the Data Structure name and a number. If a library is defined with the protection of extracted entities or no modification of extracted lines, the creation of a Segment is authorized if its Data Structure exists in the same library and if the Segment does not exist in a protected library of the network.

The first character must be numeric and the second one must be either numeric or alphabetic. However the second character can be alphabetic only if the first character is other than zero. The possible values of this code are:
  • '00'. Common part of records in a file or a Database, located at the beginning of each record (Default). The control break sort keys, the record type and the keys of indexed files are contained in this Segment. A file does not necessarily have a common part. Records on files with only one type of record should be coded as a '00' Segment.
  • '01'–'99' which is a specific part. The common part Data Elements are automatically concatenated with those of each specific part Segment.
Label
Enter the label, which identifies the new instance. It will then constitute a search criterion for a subsequent search.
Open editor on finish
Check this box if you want the editor of the instance you are creating to open up automatically. The editor will open up on the Overview tab. From there, you will be able to access the other tabs to specify all the characteristics of the instance.

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)