Usage Note 48248: A "Server Execution" exception occurs when you run a SAS® Stored Process as a web service
When you run a SAS Stored Process as a web service, the XML output contain an error message that is similar to the following:
A 'Server Execution' type of exception occurred during execution of 'xxxxxxxx' service.
The exception follows: SAS completed with non-zero SYSCC '4'. SYSMSG:
fault:Fault code="3000"
This error occurs when the SAS Stored Process returns a nonzero condition code.
In some cases, you might see the following error message:
com.sas.web.services.WSExecutionException: SAS completed with non-zero SYSCC .
However, if the SAS Stored Process returns a condition code of 4 (as a result of a warning message, for example), this error is usually not associated with a serious problem. So, in this case, the error message can be misleading.
You can avoid messages with a condition code of 4 by adding the following code at the bottom of your SAS Stored Process code:
/* If the syscc condition code is <= 4, then set it to 0. */
%macro setcc;
%if &syscc <= 4 %then %let syscc=0;
%mend setcc;
%setcc;
Operating System and Release Information
SAS System | SAS Integration Technologies | 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 Server 2003 for x64 | 9.2 TS2M0 | |
Microsoft Windows Server 2008 for x64 | 9.2 TS2M0 | |
Microsoft Windows XP Professional | 9.2 TS2M0 | |
Windows Vista | 9.2 TS2M0 | |
Windows Vista for x64 | 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.
When you run a SAS Stored Process as a web service, the XML output contain an error message that is similar to the following: "A 'Server Execution' type of exception occurred during execution of 'xxxxxxxx' service." This error occurs when the stored process returns a nonzero condition code.
Date Modified: | 2012-10-29 10:37:20 |
Date Created: | 2012-10-23 16:51:19 |