You are on page 1of 2

DSPATR Hex Codes

By Bob Cozzi and RPGIV.com The following list contains the attribute byte/hex codes for normal and protected fields on a 5250 display. See also our EBCDIC to ASCII conversion table. Return to rpgiv.com

Normal, Unprotected Fields:
Hex Monochrome Display 20 Normal 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D Reverse image High intensity High intensity, reverse image Underscore Underscore, reverse image Underscore, high intensity Nondisplay Blink Blink, reverse image Blink, high intensity Blink, high intensity, reverse image Blink, underscore Blink, underscore, reverse image Blink, underscore, high intensity Nondisplay Column separator Color Display Green

Green, reverse image White White, reverse image Green, underscore Green, underscore, reverse image White, underscore Nondisplay Red Red, reverse image Red, high intensity Red, high intensity, reverse image Red, underscore Red, underscore, reverse image Red, underscore, blink Nondisplay Turquoise, column separator Turquoise, column separator, reverse Reverse image, column separator image High intensity, column separator Yellow, column separator High intensity, reverse image, column White, reverse image, column separator separator Turquoise, underscore, column Underscore, column separator separator Underscore, reverse image, column Turquoise, underscore, reverse image, separator column separator Underscore, high intensity, column Yellow, underscore, column separator separator Nondisplay Nondisplay Blink, column separator Pink Blink, reverse image, column Pink, reverse image separator Blink, high intensity, column Blue separator Blink, high intensity, reverse image, Blue, reverse image column separator Blink, underscore, column separator Pink, underscore Blink, underscore, reverse image, Pink, underscore, reverse image

column separator Blink, underscore, high intensity, 3E column separator 3F Nondisplay

Blue, underscore Nondisplay

return to rpgiv.com

Protected Fields:
Hex Monochrome Display A0 Normal A1 Reverse image A2 High intensity A3 High intensity, reverse image A4 Underscore A5 Underscore, reverse image A6 Underscore,high intensity A7 Nondisplay A8 Blink A9 Blink, reverse image AA Blink,high intensity AB Blink, high intensity, reverse image AC Blink, underscore AD Blink, underscore, reverse image AE Blink, underscore, high intensity AF Nondisplay B0 Column separator B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB BC BD BE BF Color Display Green Green, reverse image White White, reverse image Green, underscore Green, underscore, reverse image White, underscore Nondisplay Red Red, reverse image Red, high intensity Red, high intensity, reverse image Red, underscore Red, underscore, reverse image Red, underscore, blink Nondisplay Turquoise, column separator Turquoise, column separator, reverse Reverse image, column separator image High intensity, column separator Yellow, column separator High intensity, reverse image, column White, reverse image, column separator separator Turquoise, underscore, column Underscore, column separator separator Underscore, reverse image, column Turquoise, underscore, reverse image, separator column separator Underscore, high intensity, column Yellow, underscore, column separator separator Nondisplay Nondisplay Blink, column separator Pink Blink, reverse image, column separator Pink, reverse image Blink, high intensity, column separator Blue Blink, high intensity, reverse image, Blue, reverse image column separator Blink, underscore, column separator Pink, underscore Blink, underscore, reverse image, Pink, underscore, reverse image column separator Blink, underscore, high intensity, Blue, underscore column separator Nondisplay Nondisplay

return to rpgiv.com