Usage Note 19573: Macro that helps when debugging "hanging" Stored Process Server problems
If you have a Stored Process that occasionally "hangs" while executing
and does not produce a SAS log, the "%stp_capture_log" macro should
be helpful. This macro reroutes and saves the SAS log for each request
to a separate log file. It also creates a "status" file (with the same
ID number as the log file) that indicates whether or not the request ran
successfully.
This macro is useful for requests that run using the Stored Process
Server, Workspace Server, IntrNet Application Server or SAS/CONNECT
server.
You can download the macro at:
http://ftp.sas.com/techsup/download/inttech/STP_Capture_Log.zip
The "Readme.txt" file contains instructions for using the macro.
Example Usage
%stp_capture_log(request=begin,
log_directory=c:\temp);
/* Beginnning of your existing code */
%stpbegin;
proc print data=sashelp.class;
run;
%stpend;
/* End of your existing code */
%stp_capture_log(request=end);
Operating System and Release Information
SAS System | SAS Integration Technologies | Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | |
Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Professional | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Server | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP4 | |
Solaris for x64 | 9.1 TS1M3 SP4 | |
64-bit Enabled Solaris | 9.1 TS1M3 SP4 | |
HP-UX IPF | 9.1 TS1M3 SP4 | |
Linux | 9.1 TS1M3 SP4 | |
Linux on Itanium | 9.1 TS1M3 SP4 | |
64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | |
64-bit Enabled AIX | 9.1 TS1M3 SP4 | |
Tru64 UNIX | 9.1 TS1M3 SP4 | |
*
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: | Usage Note |
Priority: | |
Topic: | System Administration ==> Servers ==> Integration Technologies
|
Date Modified: | 2007-07-24 09:35:10 |
Date Created: | 2007-02-15 17:32:11 |