Previous Topic: Bit MasksNext Topic: Field Types


User-Defined Field Names

To access data at a specific location within an input record or the General Storage Area (GSA), assign a symbolic name to that location. When referencing storage reserved as part of an input record field, each field name must be defined with the DEFINE command. You do not need to account for filler entries.

Define fields in the GSA in one of the following ways:

The field name assigned to any specific location must follow these basic rules:

Valid Field Names

Invalid Field Names

The following entries result in the described error conditions:

123

First character is not A—Z.

FIELD#1

Special character is present.

INPUT

Field name is a Reporting Facility reserved word.

TYPE-CODE-

Last character is a dash.

PAY_DAY_

Last character is an underscore.