Problem Note 61386: A stored process fails and errors are generated when the STP procedure is executed remotely
Errors similar to the following might be generated when PROC STP executes remotely:
FILENAME _WEBOUT TEMP RECFM=V LRECL=32767 ENCODING=utf-8;
--- 24
ERROR: Error in the FILENAME statement.
ERROR 24-2: Invalid value for the ENCODING option.
ERROR: Failure in statements submitted to remote Connect server session: ERROR:
Error in the FILENAME statement.
When PROC STP submits a stored process and it executes remotely, the following FILENAME statement, which points to the _WEBOUT file, is added automatically:
filename _webout temp recfm=V lrecl=32767;
The _WEBOUT file is a temporary file allocation that is used to hold _WEBOUT data on the remote machine until it can be copied back to the local host.
When the local SAS® session on which PROC STP is executing has the ENCODING system option set, PROC STP then adds an ENCODING= option to the FILENAME statement. The problem occurs when the ENCODING= value contains a non-alphanumeric character (for example, the dash character [-] in the value UTF-8). Values for the ENCODING= option must be surrounded by quotation marks if they contain non-alphanumeric characters.
To work around this problem, you need to force PROC STP to run locally instead of remotely by adding the SERVER=LOCAL option to the PROC STP statement. The FILENAME statement for _WEBOUT is not generated when the stored process executes locally.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Integration Technologies | Windows 7 Enterprise 32 bit | 9.4 TS1M4 | 9.4 TS1M5 |
Microsoft Windows Server 2012 Std | 9.4 TS1M4 | 9.4 TS1M5 |
Microsoft Windows Server 2012 R2 Std | 9.4 TS1M4 | 9.4 TS1M5 |
Microsoft Windows Server 2012 R2 Datacenter | 9.4 TS1M4 | 9.4 TS1M5 |
Microsoft Windows Server 2012 Datacenter | 9.4 TS1M4 | 9.4 TS1M5 |
Microsoft Windows Server 2008 for x64 | 9.4 TS1M4 | 9.4 TS1M5 |
Microsoft Windows Server 2008 R2 | 9.4 TS1M4 | 9.4 TS1M5 |
Microsoft Windows Server 2008 | 9.4 TS1M4 | 9.4 TS1M5 |
Microsoft Windows 10 | 9.4 TS1M4 | 9.4 TS1M5 |
Microsoft Windows 8.1 Pro x64 | 9.4 TS1M4 | 9.4 TS1M5 |
Microsoft Windows 8.1 Pro 32-bit | 9.4 TS1M4 | 9.4 TS1M5 |
Microsoft Windows 8.1 Enterprise x64 | 9.4 TS1M4 | 9.4 TS1M5 |
Microsoft Windows 8.1 Enterprise 32-bit | 9.4 TS1M4 | 9.4 TS1M5 |
Microsoft Windows 8 Pro x64 | 9.4 TS1M4 | 9.4 TS1M5 |
Microsoft Windows 8 Pro 32-bit | 9.4 TS1M4 | 9.4 TS1M5 |
Microsoft Windows 8 Enterprise x64 | 9.4 TS1M4 | 9.4 TS1M5 |
Microsoft Windows 8 Enterprise 32-bit | 9.4 TS1M4 | 9.4 TS1M5 |
Microsoft® Windows® for x64 | 9.4 TS1M4 | 9.4 TS1M5 |
z/OS | 9.4 TS1M4 | 9.4 TS1M5 |
Windows 7 Enterprise x64 | 9.4 TS1M4 | 9.4 TS1M5 |
Windows 7 Home Premium 32 bit | 9.4 TS1M4 | 9.4 TS1M5 |
Windows 7 Home Premium x64 | 9.4 TS1M4 | 9.4 TS1M5 |
Windows 7 Professional 32 bit | 9.4 TS1M4 | 9.4 TS1M5 |
Windows 7 Professional x64 | 9.4 TS1M4 | 9.4 TS1M5 |
Windows 7 Ultimate 32 bit | 9.4 TS1M4 | 9.4 TS1M5 |
Windows 7 Ultimate x64 | 9.4 TS1M4 | 9.4 TS1M5 |
64-bit Enabled AIX | 9.4 TS1M4 | 9.4 TS1M5 |
64-bit Enabled Solaris | 9.4 TS1M4 | 9.4 TS1M5 |
HP-UX IPF | 9.4 TS1M4 | 9.4 TS1M5 |
Linux for x64 | 9.4 TS1M4 | 9.4 TS1M5 |
Solaris for x64 | 9.4 TS1M4 | 9.4 TS1M5 |
*
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.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2017-11-15 15:33:53 |
Date Created: | 2017-11-09 14:28:14 |