Problem Note 32113: The $EBCDIC format/informat generates incorrect results if ENCODING=UTF8 is set
If ENCODING=UTF8 is set, the $EBCDIC format generates incorrect results.
The $EBCDIC informat generates null values.
Operating System and Release Information
| SAS System | Base SAS | z/OS | 9.1 TS1M3 | 9.2 TS1M0 |
| Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 | 9.2 TS1M0 |
| Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 | 9.2 TS1M0 |
| Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 | 9.2 TS1M0 |
| Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 | 9.2 TS1M0 |
| Microsoft® Windows® for x64 | 9.1 TS1M3 | 9.2 TS1M0 |
| Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 | 9.2 TS1M0 |
| Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 | 9.2 TS1M0 |
| Microsoft Windows 2000 Server | 9.1 TS1M3 | 9.2 TS1M0 |
| Microsoft Windows 2000 Professional | 9.1 TS1M3 | 9.2 TS1M0 |
| Microsoft Windows NT Workstation | 9.1 TS1M3 | |
| Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 | 9.2 TS1M0 |
| Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 | 9.2 TS1M0 |
| Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 | 9.2 TS1M0 |
| Microsoft Windows XP Professional | 9.1 TS1M3 | 9.2 TS1M0 |
| Windows Vista | 9.1 TS1M3 | 9.2 TS1M0 |
| 64-bit Enabled AIX | 9.1 TS1M3 | 9.2 TS1M0 |
| 64-bit Enabled HP-UX | 9.1 TS1M3 | 9.2 TS1M0 |
| 64-bit Enabled Solaris | 9.1 TS1M3 | 9.2 TS1M0 |
| HP-UX IPF | 9.1 TS1M3 | 9.2 TS1M0 |
| Linux | 9.1 TS1M3 | 9.2 TS1M0 |
| OpenVMS Alpha | 9.1 TS1M3 | 9.2 TS1M0 |
| Solaris for x64 | 9.1 TS1M3 | 9.2 TS1M0 |
| Tru64 UNIX | 9.1 TS1M3 | 9.2 TS1M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
This example code demonstrates incorrect output from the $EBCDIC format and informat:
data _null_;
x='A'; xx=put(x,$EBCDIC.); /* should be C1 */
y='B'; yy=put(y,$EBCDIC.); /* should be C2 */
z='C'; zz=put(z,$EBCDIC.); /* shoudl be C3 */
put x= hex. xx= hex.;
put y= hex. yy= hex.;
put z= hex. zz= hex.;
run;
data a;
y=input('C1C2C3'X,$EBCDIC10.);
put y= ;
z=input('818283'X,$ebcdic10.);
put z=;
w=input('9899A2'X,$ebcdic10.);
put w=;
a=input('D8D9E2'X,$ebcdic10.);
put a=;
b=input('4E5E6E'X,$ebcdic10.);
put b=;
run;
| Type: | Problem Note |
| Priority: | |
| Date Modified: | 2008-05-14 15:04:42 |
| Date Created: | 2008-05-14 14:37:20 |