Previous Topic: CommentsNext Topic: Body Section


Attribute Keywords and Values

Attributes consist of attribute keywords and attribute values. In the example, TYPE, SKIP, INTENSE, COLOR and MDT are attribute keywords. Attribute values follow keywords and are enclosed in parentheses. The following list describes the keywords and their possible values:

TYPE

The TYPE attribute indicates whether a field is protected or unprotected and whether it is of fixed or variable length. Protected fields cannot be modified. Unprotected fields can be modified. The TYPE attribute can have one of the following values:

TEXT

A text field is protected, so end users cannot modify data in a text field. Data in a text field is displayed on the panel exactly as it appears in the body of the panel definition. A variable name in a text field is replaced with the variable's current value. You must precede a variable name with an ampersand (&) and follow it with a space or period (.) to indicate that it is a variable name.

Text fields are of variable length.

OUTPUT

An output field is protected, so end users cannot modify data in an output field. An output field may contain only variable names in the panel definition. Unlike variable names in text fields, a variable name in an output field is not preceded by an ampersand.

When the panel is displayed, each variable name in the output field is replaced with the variable's current value.

Output fields are of fixed length.

INPUT

An input field is an unprotected field that can be modified by end users. An input field contains only a variable name in the panel definition. Unlike variable names in text fields, a variable name in an input field is not preceded by an ampersand.

When the user modifies the field on the displayed panel, the variable contains the value of the user's input.

Input fields are of fixed length.

NUM

You use the NUM (numeric) attribute with TYPE(INPUT) fields. If the NUM attribute has a value of ON, the user can enter only numeric input in the field. The keyboard locks if the user presses any key other than the following: 0 through 9, minus (-), duplicate (DUP), or period (.).

SKIP

The SKIP attribute indicates whether the cursor automatically bypasses a field when a user tabs through the panel. If the SKIP attribute has a value of ON, the cursor will bypass the field when the user moves through the panel using the TAB key (→). The skip feature can be used only for protected fields (TEXT or OUTPUT).

INTENSE

The INTENSE (intensity) attribute indicates the intensity or brightness of the field. Possible values are:

COLOR

The COLOR attribute indicates the color used to display the field. Colors appear only when the panel is displayed on a 3179, 3279-B, or 3192-type terminal. Possible values include:

Note: When a panel that doesn't have color specified is displayed on a color terminal, a default color is generated for each field on the basis of the field's type and intensity:

OUTLINE

The OUTLINE attribute specifies one of the available outline features:

HILITE

The HILITE (highlight) attribute indicates the extended highlighting characteristics of the field. Possible values are:

MDT

The MDT (Modified Data Tag) attribute indicates whether the field should have the modified data tag present before being sent to the terminal.

FORMAT

The FORMAT attribute indicates the character format for double-byte character set (DBCS) terminals. Possible values are:

Note: In MIX mode, any double-byte character string must be enclosed by a shift-out (hexadecimal 0E) and a shift-in (hexadecimal 0F).