Usage Note 36275: A session-encoding warning occurs when you sign on to a SAS/CONNECT® 8.2 server with a DBCS encoding from a client machine with the Shift-JIS encoding
When you sign on to a SAS/CONNECT 8.2 server that is running with a double-byte character set (DBCS) encoding from a client that is running with the DBCS Shift-JIS encoding, you might receive the following warning:
WARNING: The client session encoding is shift-jis while the server session is using an unsupported encoding. Data may not be transmitted correctly.
This problem can occur even if you specify -DBCSLANG Japanese. Most likely, the problem occurs because the -DBCSTYPE settings for the client and the server are different.For example, suppose you have a SAS®9 Windows client session that is started with the following options:
-dbcs -dbcslang japanese -encoding shift-jis
This Windows client session then starts a SAS® 8 server session in a UNIX environment with the following options:
-dbcs -dbcslang japanese -dbcstype sjis
In this case, the warning is issued because SAS 8 does not have a character encoding ID (CEI) in its requirements vector. As a result, SAS®9 client cannot detect the encoding of the remote session. The default setting assigned to -DBCSTYPE in the Windows client is PCMS. You can avoid the warning if you set -DBCSTYPE to PCMS on both sides. For example, when you start the SAS 8 session, change the -DBCSTYPE setting as follows:
-dbcs -dbcslang japanese -dbcstype pcms
Operating System and Release Information
| SAS System | SAS/CONNECT | z/OS | | |
| OpenVMS VAX | | |
| Microsoft® Windows® for 64-Bit Itanium-based Systems | | |
| Microsoft Windows Server 2003 Datacenter 64-bit Edition | | |
| Microsoft Windows Server 2003 Enterprise 64-bit Edition | | |
| Microsoft Windows XP 64-bit Edition | | |
| Microsoft® Windows® for x64 | | |
| OS/2 | | |
| Microsoft Windows 95/98 | | |
| Microsoft Windows 2000 Advanced Server | | |
| Microsoft Windows 2000 Datacenter Server | | |
| Microsoft Windows 2000 Server | | |
| Microsoft Windows 2000 Professional | | |
| Microsoft Windows NT Workstation | | |
| Microsoft Windows Server 2003 Datacenter Edition | | |
| Microsoft Windows Server 2003 Enterprise Edition | | |
| Microsoft Windows Server 2003 Standard Edition | | |
| Microsoft Windows Server 2008 | | |
| Microsoft Windows XP Professional | | |
| Windows Millennium Edition (Me) | | |
| Windows Vista | | |
| 64-bit Enabled AIX | | |
| 64-bit Enabled HP-UX | | |
| 64-bit Enabled Solaris | | |
| ABI+ for Intel Architecture | | |
| AIX | | |
| HP-UX | | |
| HP-UX IPF | | |
| IRIX | | |
| Linux | | |
| Linux for x64 | | |
| Linux on Itanium | | |
| OpenVMS Alpha | | |
| OpenVMS on HP Integrity | | |
| Solaris | | |
| Solaris for x64 | | |
| Tru64 UNIX | | |
*
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.
| Date Modified: | 2009-09-02 11:20:52 |
| Date Created: | 2009-06-18 13:11:35 |