Problem Note 64806: SAS® BI clients disconnect from the SAS® Workspace server when executing SAS® programs that use name literals
In SAS programming, name literals enable you to use special characters (including blanks) that are not otherwise allowed in SAS names when you specify a SAS data set or a variable. Name literals are expressed as a quoted string that is followed by the letter n. In some cases, SAS code fails when it uses name literals.
For example, suppose that you are executing the following code in SAS® Enterprise Guide or in SAS® Studio. In this case, 'Drive Train'n is the name literal.
data cars_literal;
set sashelp.cars;
rename DriveTrain = "Drive Train"n;
run;
%characteristics_cat(adsln=cars_literal, outdsn=carstable, characteristics=Drivetrain, value='Drive Train'n, condition=Origin EQ "Asia", split=Make)
The code fails with the following error:
"An error occurred executing the workspace job. The server is disconnected"
SAS.Shared.Exceptions.ServerDisconnectedException: The server is disconnected. ---> System.Runtime.InteropServices.COMException: Object is not connected to server (Exception from HRESULT: 0x800401FD (CO_E_OBJNOTCONNECTED))
To work around this issue, do not use name literals for your SAS data sets.
Operating System and Release Information
SAS System | SAS Integration Technologies | Microsoft Windows Server 2012 Std | 9.4_M4 | | 9.4 TS1M4 | |
Microsoft Windows Server 2012 R2 Std | 9.4_M4 | | 9.4 TS1M4 | |
Microsoft Windows Server 2012 R2 Datacenter | 9.4_M4 | | 9.4 TS1M4 | |
Microsoft Windows Server 2012 Datacenter | 9.4_M4 | | 9.4 TS1M4 | |
Microsoft Windows Server 2008 for x64 | 9.4_M4 | | 9.4 TS1M4 | |
Microsoft Windows Server 2008 R2 | 9.4_M4 | | 9.4 TS1M4 | |
Microsoft Windows Server 2008 | 9.4_M4 | | 9.4 TS1M4 | |
Microsoft Windows 10 | 9.4_M4 | | 9.4 TS1M4 | |
Microsoft Windows 8.1 Pro x64 | 9.4_M4 | | 9.4 TS1M4 | |
Microsoft Windows 8.1 Pro 32-bit | 9.4_M4 | | 9.4 TS1M4 | |
Microsoft Windows 8.1 Enterprise x64 | 9.4_M4 | | 9.4 TS1M4 | |
Microsoft Windows 8.1 Enterprise 32-bit | 9.4_M4 | | 9.4 TS1M4 | |
Microsoft Windows 8 Pro x64 | 9.4_M4 | | 9.4 TS1M4 | |
Microsoft Windows 8 Pro 32-bit | 9.4_M4 | | 9.4 TS1M4 | |
Microsoft Windows 8 Enterprise x64 | 9.4_M4 | | 9.4 TS1M4 | |
Microsoft Windows 8 Enterprise 32-bit | 9.4_M4 | | 9.4 TS1M4 | |
Microsoft® Windows® for x64 | 9.4_M4 | | 9.4 TS1M4 | |
z/OS | 9.4_M4 | | 9.4 TS1M4 | |
Windows 7 Enterprise 32 bit | 9.4_M4 | | 9.4 TS1M4 | |
Windows 7 Enterprise x64 | 9.4_M4 | | 9.4 TS1M4 | |
Windows 7 Home Premium 32 bit | 9.4_M4 | | 9.4 TS1M4 | |
Windows 7 Home Premium x64 | 9.4_M4 | | 9.4 TS1M4 | |
Windows 7 Professional 32 bit | 9.4_M4 | | 9.4 TS1M4 | |
Windows 7 Professional x64 | 9.4_M4 | | 9.4 TS1M4 | |
Windows 7 Ultimate 32 bit | 9.4_M4 | | 9.4 TS1M4 | |
Windows 7 Ultimate x64 | 9.4_M4 | | 9.4 TS1M4 | |
64-bit Enabled AIX | 9.4_M4 | | 9.4 TS1M4 | |
64-bit Enabled Solaris | 9.4_M4 | | 9.4 TS1M4 | |
HP-UX IPF | 9.4_M4 | | 9.4 TS1M4 | |
Linux for x64 | 9.4_M4 | | 9.4 TS1M4 | |
Solaris for x64 | 9.4_M4 | | 9.4 TS1M4 | |
*
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.
SAS code that references name literals might fail in SAS Enterprise Guide and SAS Studio.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2019-09-20 11:32:00 |
Date Created: | 2019-09-19 05:39:31 |