|
V6-INFORMATS-D555
ZDw.d informat produces invalid data for values with leading blanks
|
The ZDw.d informat incorrectly produces invalid data messages for zoned decimal values that contain leading blanks. A leading blank in a numeric value should be ignored.
The circumvention is to read the zoned decimal value in as character
using the $CHARw. informat, then create a numeric variable by first
using the COMPRESS function on the character value to remove the
blank(s) and then the INPUT function along with the ZDw.d informat.
For example:
DATAA;INFILE ...;INPUTX $CHAR5.; NUMBER=INPUT(COMPRESS(X),ZD5.);RUN;
| Products: | BASE |
| Component: | INFORMATS |
| Priority: | HIGH |
| Status: | Outstanding Problem |
| Date: | Thu, 24 Apr 1997 |
| System | Release Reported | Release Fixed |
| IBM OS/2 | 6.06 | 6.12 TS045 |
| HP - Apollo | 6.07 TS101 | |
| AIX/6000 | 6.07 TS101 | 7.00 |
| Data General Aviion | 6.07 TS101 | |
| HP-UX Operating Systems | 6.07 TS101 | 7.00 |
| Silicon Graphics Unix | 6.07 TS101 | |
| DEC Ultrix | 6.07 TS101 | |
| BULL | 6.07 TS201 | |
| HP-UX Operating Systems | 6.07 TS201 | 7.00 |
| NeXT | 6.07 TS201 | |
| Silicon Graphics - IRIX | 6.07 TS201 | |
| Siemens Unix | 6.07 TS201 | |
| SunOS 3.0 | 6.07 TS201 | 7.00 |
| SunOS 4.0 | 6.07 TS201 | 7.00 |
| IBM OS/2 | 6.08 TS404 | 6.12 TS045 |
| Windows 3.11 | 6.08 TS404 | 6.12 TS045 |
| AIX/6000 | 6.09 TS027 | 7.00 |
| ConvexOS | 6.09 TS027 | |
| HP-UX Operating Systems | 6.09 TS027 | 7.00 |
| Solaris | 6.09 TS027 | 7.00 |
| DEC Ultrix | 6.09 TS027 | |
| OpenVMS Alpha | 6.09 TS027 | 7.00 |
| Windows NT | 6.09 TS027 | 6.12 TS045 |
| Intel ABI | 6.10 TS018 | |
| Silicon Graphics Unix | 6.10 TS018 | |
| Macintosh | 6.10 TS037 | |
| Compaq Tru64 Unix | 6.10 TS018 | |
| IBM OS/2 | 6.10 TS019 | 6.12 TS045 |
| Windows 3.11 | 6.10 TS019 | 6.12 TS045 |
| AIX/6000 | 6.11 TS020 | 7.00 |
| HP-UX Operating Systems | 6.11 TS020 | 7.00 |
| IBM OS/2 | 6.11 TS020 | 6.12 TS045 |
| Solaris | 6.11 TS020 | 7.00 |
| Windows 3.11 | 6.11 TS020 | 6.12 TS045 |
| Intel ABI | 6.11 TS040 | |
| Silicon Graphics Unix | 6.11 TS040 | |
| Compaq Tru64 Unix | 6.11 TS040 | |
| Windows NT | 6.11 TS040 | 6.12 TS045 |
| Windows 95 | 6.11 TS040 | 6.12 TS045 |
| AIX/6000 | 6.12 TS020 | 7.00 |
| HP-UX Operating Systems | 6.12 TS020 | 7.00 |
| IBM OS/2 | 6.12 TS020 | 6.12 TS045 |
| Solaris | 6.12 TS020 | 7.00 |
| OpenVMS Alpha | 6.12 TS020 | 7.00 |
| Windows 3.11 | 6.12 TS020 | 6.12 TS045 |
| Windows NT | 6.12 TS020 | 6.12 TS045 |
| Windows 95 | 6.12 TS020 | 6.12 TS045 |
| Compaq Tru64 Unix | 6.12 TS040 | 7.00 |
| Macintosh | 6.12 TS040 |
No Fixes Available