> I need to convert C'123AB' to X'0123AB' Ituriel,
HEX of 123AB is F1F2F3C1C2 Sort can convert character to hex and vice versa. //SYSIN DD * OPTION COPY INREC BUILD=(01,05,HEX) /* Looks like you just want to pad leading zero? Thanks, Kolusu ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN