SEGM

Specifies the starting position of the 8-byte segment name in the data record.
Note: Supported by the following mfims imsdbu functions:
  • Add
  • Load
  • Unload

Syntax:

>>-----SEGM--(position)------><

Parameters:

position
The starting position of the 8-byte segment name in the data record.

Properties:

Default: SEGM(1)

Comments:

A value of 1 corresponds to the first byte of the record data.

When RECFM(V) is specified, the variable length record prefix (LL) is not considered part of the record data and does not affect this value. That is, if the segment name is the first field following the LL field in a variable length file, specify 1 for the SEGM value.

Add function
When loading Fast Path databases which use LTERM keys (related or non-related), the SEGM directive indicates the position of the LTERM name and not the segment name.
Add and Load functions
The SEGM directive is only used when LAYOUT(G) is specified. It is not required and is ignored when LAYOUT(D), LAYOUT(I) or LAYOUT(S) is specified.
Load and Unload functions
When loading GSAM files, the SEGM value is ignored. When loading Fast Path databases which use LTERM keys (related or non-related), the SEGM directive indicates the position of the LTERM name and not the segment name.
Unload function
The SEGM directive is only used when when LAYOUT(G) or LAYOUT(S) is specified. It is not required and is ignored when LAYOUT(D) or LAYOUT(I) is specified.