This document covers the following topics:
The following attributes of an IMS segment (type I) are shown for that file and for the related files of types J and K.
Note:
Parameters not listed below are described in other sections of
this documentation: Parameters common to all object types, for example Keys,
are described under Global
Attributes. Parameters common to all file types, for
example Literal name, are described under
Common File
Attributes. See also
Common
Parameters for SQL File Types.
Parameters | |
---|---|
Segment name | The name of the IMS segment from which the related Predict file object of type I was incorporated. |
min. length | The minimum length of the IMS segment (zero if the length is fixed). |
max. length | The maximum length of the IMS segment (if it is fixed). |
Segment type |
The type of the IMS segment. Possible values:
Logical child (C) Segments of type logical occur only in logical IMS databases. Segments of types child, physical and virtual occur only in physical IMS databases. |
Parent | The ID of the Predict file object of type I incorporated from the parent segment of the IMS segment (the segment one level above it in the hierarchical structure of the IMS database). For a root segment, this field is left blank. |
Source-1 | The following rules apply:
|
Source-2 | The following rules apply:
|
Restrictions that apply when editing a field list of an IMS file depend on the type of the IMS file and are described in the table below.
File Type | Restrictions |
---|---|
I (IMS Segment) |
The following attributes can be maintained: ID, keywords, owners, abstract, format, NAT hdr1-3 (Natural headers), NAT editm (Natural edit mask), 3GL specification, Condition name & value and Field name synonyms. See Defining Basic Attributes of Fields and Defining Additional Attributes of fields in the section Field in this documentation. No fields can be added or deleted. Format changes are rippled across related files of type J or K. Only the following changes of format are allowed:
|
J (IMS Segment Layout) | The following rules apply:
|
K (IMS Userview) | A file of type K can contain fields of the related file of type I and fields of all related files of type J. ID, keywords, owners, comments, format, NAT hdr1-3 (Natural headers) and NAT editm (Natural edit mask), 3GL specification, Condition name & value and Field name synonyms can be maintained. |