Can you let me know how to read in packed decimal data correctly. I have tried two different formats and it is not listing last digit correctly: DATA _NULL_; ACCTI = '0123456789001234567C'X; ACCTO = INPUT(ACCTI, PD10.); PUT '1 ' ACCTI= HEX. ACCTO= 20.; ACCTO = INPUT(ACCTI,7 S370FPD10.); PUT '2 ' ACCTI= HEX. ACCTO= 20.; RUN; The following is the info from SYSOUT 1 ACCTI=0123456789001234567C ACCTO=123456789001234560 2 ACCTI=0123456789001234567C ACCTO=123456789001234560 Thanks
... View more