Bill, This isn't exactly what you asked for, but it will display the screen attribute codes. I have another that displays the entire character set via the *LDA. ************************************************** ************************ * CRTBNDRPG SRCFILE(&L/&F) SRCMBR(&M) PGM(&L/&M) DBGVIEW(*SOURCE) * * BNDDIR(QC2LE) * ************************************************** ************************ H OPTION(*SRCSTMT) ****************** * Convert to Hex * ****************** DCVTHC PR EXTPROC('cvthc') D PR_HexVal 4096A OPTIONS(*VARSIZE) D PR_ChrVal 2048A CONST OPTIONS(*VARSIZE) D PR_CvtLen 10I 0 VALUE ************************ * Conversion data area * ************************ D DS D Bin 1 2B 0 INZ(*ZEROS) D Char 2 2A DHex S 2A DOut S 20A C* Generate characters x'20' - x'39' and display. C 32 DO 57 Bin C CALLP CVTHC(Hex: Char: 2) C EVAL Out = Char + 'Attribute' + x'20' + C 'x''' + Hex + '''' C Out DSPLY C END C 'Done' DSPLY Char C SETON LR David Morris