Translate page

Field_Attributes

3270 field attributes

Bit Position

Meaning

0-1

Both set to 1 (field attribute byte)

2

Unprotected/protected

0 = Unprotected data field

1 = Protected data field

3

Alpha/numeric

0 = Alphanumeric data

1 = Numeric data only

4-5

I/SPD

00 = Normal intensity, pen not detectable

01 = Normal intensity, pen detectable

10 = High intensity, pen detectable

11 = Non-display, pen not detectable

6

Reserved

7

MDT (Modified Data Tag)

0 = Field has not been modified

1 = Field has been modified

3270 character attributes

Bit Position

Meaning

0-1

Character highlighting

00 = Normal

10 = Reverse video

01 = Blink

11 = Underline

2-4

Character color (color remap may override this definition)

000 = Default

100 = Green

001 = Blue

101 = Turquoise

010 = Red

110 = Yellow

011 = Pink

111 = White

5-7

Reserved (not used)

Character Color Attributes

Bit Position

Meaning

0-3

Background character colors

0000 = Black

0100 = Red

0001 = Blue

0101 = Magenta

0010 = Green

0110 = Brown

0011 = Cyan

0111 = White

4-7

Foreground character colors

0000 = Black

1000 = Gray

0001 = Blue

1001 = Light blue

0010 = Green

1010 = Light green

0011 = Cyan

1011 = Light cyan

0100 = Red

1100 = Light red

0101 = Magenta

1101 = Light magenta

0110 = Brown

1110 = Yellow

0111 = White

1111 = High intensity white

QWS3270 Automation copyright © Jolly Giant Software Inc. All rights reserved.