RECORD= Statement

Defines an IMS segment.

Type: Required statement
Applies to: access descriptor

Syntax

RECORD=record-name SEGMENT=segment-name SEGLNG=segment-length;

Optional Arguments

RECORD= | RE=

specifies an arbitrary name for the segment. A record name can be a maximum of 32 characters. If special characters or blanks are included in the name, enclose the entire name in single quotation marks. This is a required argument.

SEGMENT= | SG=

specifies the name of the segment as defined in the DBD. A segment name can be a maximum of eight characters. If your database is a GSAM database, enter GSAM as the segment name. This is a required argument.

SEGLNG= | SL=

specifies the segment length as defined in the DBD. This is a required argument. For information about handling segments of varying length.

Details

The RECORD= statement defines an IMS segment. A value of 01 is automatically assigned as the level number of a record, so the RECORD= statement does not include a level number argument. You should begin your database definition with a RECORD= statement immediately after the DATABASE= statement.