Usage Note 32666: Errors occur when attempting to update a data set that has an encoding that is different from the encoding of your current session of SAS® software
The following error message might be received when attempting to update a SAS data set:
ERROR: File libref.member cannot be updated because its
encoding does not match the session encoding or
the file is in a format native to another host.
Data sets in SAS® 9 have an encoding attribute. To prevent the loss or corruption of data, you cannot update a data set that has an encoding that is different from the encoding of your current SAS session.
To determine your current SAS session encoding (which is the value assigned to the ENCODING= system option), use the OPTIONS procedure. The following PROC OPTIONS statement displays the session encoding value:
proc options option=encoding;
run;
To determine the encoding that was used to create the SAS data set, use the CONTENTS procedure. The following PROC CONTENTS statement displays the session encoding value for the SAS data set:
proc contents data=libref.member;
run;
To update any SAS data set, your session must be running in the same encoding as the data set being updated.
Operating System and Release Information
SAS System | N/A | z/OS | 9.1 TS1M0 | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M0 | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M0 | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M0 | |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M0 | |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M0 | |
Microsoft Windows 2000 Server | 9.1 TS1M0 | |
Microsoft Windows 2000 Professional | 9.1 TS1M0 | |
Microsoft Windows NT Workstation | 9.1 TS1M0 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M0 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M0 | |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M0 | |
Microsoft Windows XP Professional | 9.1 TS1M0 | |
64-bit Enabled AIX | 9.1 TS1M0 | |
64-bit Enabled HP-UX | 9.1 TS1M0 | |
64-bit Enabled Solaris | 9.1 TS1M0 | |
HP-UX IPF | 9.1 TS1M0 | |
Linux | 9.1 TS1M0 | |
Linux on Itanium | 9.1 TS1M0 | |
OpenVMS Alpha | 9.1 TS1M0 | |
Solaris for x64 | 9.1 TS1M0 | |
Tru64 UNIX | 9.1 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.
Errors occur when attempting to update a data set that has an encoding that is different from the encoding of your current session of SAS® software.
Date Modified: | 2008-09-22 15:59:15 |
Date Created: | 2008-07-11 10:51:56 |