Usage Note 35644: The locale for a server session in SAS® 9.2 and later binds to the client locale
Beginning with SAS® 9.2, when a SAS session is used as a remote server by multiple clients, the locale for a client that makes a connection request is passed to the server.
In the default configuration (standard workspace server), a new server process is created each time that a client requests a connection. When the workspace server performs tasks, it uses the locale (and, implicitly, the encoding) of the client making the request.
This behavior is not necessarily desired, and it might even lead to problems if you have registered data in an encoding that is not compatible with the client's locale. When the locale (and, implicitly, the encoding) is switched, you might see the following errors:
The open data operation failed. The following error occurred.
[Error] Cannot retrieve metadata from SAS Metadata Repository.
or
[Error] The launch of the server process failed with an unknown status code
In this case, you might want to force a particular encoding in the server session, regardless of the client locale. Modify the applicable sasv9_usermods.cfg configuration file to enforce the ENCODING= system option. The following example shows setting the wlatin2 encoding, which handles the characters in the languages of Central and Eastern Europe in Windows operating environments.
For information about the location of the sasv9_usermod.cfg file, see
Configuration Files for SAS Servers in the
SAS® Intelligence Platform: System Administration Guide.
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.2 TS2M0 | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS2M0 | |
Microsoft Windows XP 64-bit Edition | 9.2 TS2M0 | |
Microsoft® Windows® for x64 | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Standard Edition | 9.2 TS2M0 | |
Microsoft Windows XP Professional | 9.2 TS2M0 | |
Windows Vista | 9.2 TS2M0 | |
64-bit Enabled AIX | 9.2 TS2M0 | |
64-bit Enabled HP-UX | 9.2 TS2M0 | |
64-bit Enabled Solaris | 9.2 TS2M0 | |
HP-UX IPF | 9.2 TS2M0 | |
Linux | 9.2 TS2M0 | |
Linux for x64 | 9.2 TS2M0 | |
OpenVMS on HP Integrity | 9.2 TS2M0 | |
Solaris for x64 | 9.2 TS2M0 | |
*
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: | 2012-04-25 10:30:00 |
Date Created: | 2009-04-22 03:44:04 |