Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Specify how a field is displayed when it is used as an input field in a function or a form.

Rules

Allowable values will vary by 1.1 Field Types. Groupings include:

...

Specify the field attribute to be displayed when it is used as an input field in a function or a form.

Rules

Common Attributes

Allowable values for Common Attributes are:

Attribute

Description / comments

AB

Allow blank.

ASQN

Allow *SQLNULL assignment.

BL

Display blinking.

CBOX

Check box.

CS

Display with column separators.

FE

Field Exit key required.

HI

Display with high intensity.

LC

Lowercase entry allowed. If you do NOT set this attribute, refer to PC Locale uppercasing upper-casing requested in Review or Change a Partition's Multilingual Attributes in the LANSA for i User Guide.

ME

Mandatory entry check required.

MF

Mandatory fill check required.

ND

Non-display (hidden field).

RA

Auto record advance field.

RB

Right adjust and blank fill.

RL

Move cursor right to left.

RLTB

Tab cursor right/left top/bottom.

RZ

Right adjust and zero fill.

SBIN

Store in binary format. This is a special attribute provided for fields that need to contain imbedded embedded packed or signed fields. Refer to Use of Hex Values, Attributes, Hidden/Imbedded Embedded Decimal Data in the LANSA Application Design Guide (Use of Hex Values, Attributes, Hidden/Imbedded Embedded Decimal Data).

SREV

Store in reverse format. This is a special attribute provided for bi-directional languages. Refer to The SREV Field Attribute in the LANSA Multilingual Application Design Guide.

SUNS

Store integer values as unsigned binary values.

SUNI

Store in Unicode. This is a special attribute which allows data from different languages to be stored in the database without data loss through code page conversion. For new fields, field type NChar or NVarChar is recommended, rather than adding the SUNI attribute.

VN

Valid name check required.

...

  • IBM i:  Refer to IBM manual Data Description Specifications for more details. Keywords that should be reviewed are CHECK, COLOR and DSPATR.

Also see

1.2.18 Output Attributes