3270 display fields

Display data consists of a combination of characters to be displayed and instructions to the device on how and where to display them. Under ordinary circumstances, this data consists of a series of field definitions, although it is possible to write the screen without defining fields, as explained in Unformatted mode.

After a write command that erases, you need to define every field on the screen. Thereafter, you can use a plain write command and send only the fields you want to change.

To define a field, you need to tell the 3270:

Display characteristics

Each field on the screen has a set of display characteristics, called attributes. Attributes tell the 3270 how to display a field, and you need to understand what the possibilities are whether you are using BMS or terminal control commands. Attributes fall into two categories:

Field attributes
These include:

All 3270s support field attributes; 3270 field attributes explains your choices for them.

Field attributes are stored in the first character position of a field. This byte takes up a position on the screen and not only stores the field attributes, but marks the beginning of the field. The field continues up to the next attributes byte (that is, to the beginning of the next field). If the next field does not start on the same line, the current one wraps from the end of the current line to the beginning of the next line until another field is encountered. A field that has not ended by the last line returns to the first.

Extended field attributes
(Usually shortened to extended attributes). These are not present on all models of the 3270. Consequently, you need to be aware of which ones are available when you design your end-user interface. Extended attributes include special forms of highlighting and outlining, the ability to use multiple symbol sets and provision for double-byte character sets. Table 27 lists the seven extended attributes and the values they can take.
[[ Contents Previous Page | Next Page Index ]]