Previous Topic: USAGE clauseNext Topic: FIELD statement


SEQUENCE FIELD statement

This format of the FIELD statement defines the sequence field for the named record. A sequence field can be defined for:

Sequence fields defined for pointer records must comprise the concatenation of the constant, search, and subsequence fields for the pointer segment. (Constant and subsequence fields are described below.)

A field defined as a sequence field can be used as a search field in an SSA.

Syntax

►►─┬─────────────────────────────────────────┬───────────────────────────────►
   └─ SEQuence FIELD name is dl1-field-name ─┘

 ►─┬──────────────────────────────────────────┬──────────────────────────────►
   └─ STARTING POSition is starting-position ─┘

 ►─┬──────────────────────────────┬──────────────────────────────────────────►◄
   └─ LENgth is dl1-field-length ─┘

Parameters

SEQuence FIELD name is dl1-field-name

Specifies the name of the sequence field. Dl1-field-name is the entry in the NAME clause of the DL/I FIELD statement defining the sequence field.

STARTING POSition is starting-position

Specifies the position in the record in which the sequence field begins. Use the START clause value in the DL/I FIELD statement defining the sequence field.

LENgth is dl1-field-length

Specifies the length of the sequence field. Use the BYTES clause entry in the DL/I FIELD statement defining the sequence field.