3270 Data Stream Programming

Extended Field Attributes

 

Introduction

Advanced terminals can support extended field attributes such as blinking, reverse video, underscore and extended colors.  To make use of extended field attributes, you use the Start Field Extended (SFE) order in place of the Start Field (SF).  The format of the SFE order is:

Command Name Value Parameter 1 Parameter 2 Parameter 3
SFE 29 Number of Attributes Pairs Type / Value Pairs

Extended Attribute Types

Type Code Extended Attribute Type

C0

Basic Field Attributes
41 Extended Highlihting
42 Color

Basic Field Attributes

Basic Field Attributes are the same field attributes as used by the Start Field (SF) order.  Below is a summary of the Basic Field Attributes.  For more information refer back to the earlier explination.

* * U/P A/N Display

Rsvd

MDT

0

1 2 3 4 5 6 7
Bit Meaning
0 The value of this bit is determined by the value of the other seven bits
1 The value of this bit is determined by the value of the other seven bits
2 1 = Protected or 0 = Unprotected 
3 1 = Numeric or 0 = Alpha
4 & 5 Bits 4 and 5 indicate how the field is to be displayed
6 Reserved, Set to Zero
7 Modified Data Tag

Extended Highlighting

The extended highlighting attribute defines the following characteristics.  Only one extended highlighting attribute can be specified.

Attribute Value

Attribute Meaning
00 Default
F1 Blink
F2 Reverse Video
F4 Underscore

Color

The color extended attribute type is used to override the default color for a field.

Attribute Value Color
00 Default
F1 Blue
F2 Red
F3 Pink
F4 Green
F5 Turquoise
F6 Yellow
F7 White

Putting It All Together

 SFE Order  3 Attr Pairs Basic Ext. Highlighting Color
    Attr Type Protected Attr Type Reverse Video Attr Type Yellow
29 03 C0 F0 41 F2 42 F6

Next Page