SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 45689: The SAS® Stored Process Server might stop functioning properly if you cancel a request that is running PROC SQL code

DetailsHotfixAboutRate It
If you execute a SAS® Stored Process using SAS® Enterprise Guide® or using SAS® Add–in for Microsoft Office and you cancel the request before it completes execution, this might cause problems for the SAS® Stored Process Server if the SAS Stored Process is executing PROC SQL code when the request is cancelled.

If you encounter this problem, and you attempt to execute the same SAS Stored Process again, the request might fail and the SAS® Stored Process Server log file might contain an error message that is similar to the following:

  ERROR: MEMBER lock is not available for <data set name here> , lock held by REB name length returned is zero..

A Segmentation Violation (or Access Violation) error message might also appear in your SAS Stored Process Server log file.

If you stop and restart your SAS Stored Process Server, the SAS Stored Process should execute successfully. However, if you cancel another request when PROC SQL code is executing, then in some cases the problem might reoccur.

One workaround is to replace the PROC SQL code with a SAS data step that performs similar functionality.

Another workaround is to modify the PROC SQL code so that it creates a uniquely–named data set in the SAS WORK library (to avoid causing a lock for another, subsequent request). For example:

       /* Create a Unique data set name */        
   data _null_;  
     rand = ranuni(0) * 100000000;
     ds_name = "tmp" || trim(left(put(rand,8.)));  
     call symput("ds_name", ds_name);   
   run;

   proc sql;
     create table work.&ds_name   /* <-- Note the unique name. */
       as select name, age, height, weight
       from sashelp.class;
   quit;
Click the Hot Fix tab to download the Hot Fix for SAS 9.21_M3 and SAS 9.3_M1.

Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS Integration TechnologiesOpenVMS on HP Integrity9.2 TS2M39.3 TS1M2
Linux for x649.2 TS2M39.3 TS1M2
Linux9.2 TS2M39.3 TS1M2
HP-UX IPF9.2 TS2M39.3 TS1M2
64-bit Enabled Solaris9.2 TS2M39.3 TS1M2
64-bit Enabled HP-UX9.2 TS2M39.3 TS1M2
64-bit Enabled AIX9.2 TS2M39.3 TS1M2
Windows Vista for x649.2 TS2M39.3 TS1M2
Microsoft Windows Server 2003 Enterprise Edition9.2 TS2M39.3 TS1M2
Microsoft Windows Server 2003 Datacenter Edition9.2 TS2M39.3 TS1M2
Microsoft® Windows® for x649.2 TS2M39.3 TS1M2
Microsoft Windows XP 64-bit Edition9.2 TS2M39.3 TS1M2
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.2 TS2M39.3 TS1M2
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.2 TS2M39.3 TS1M2
Solaris for x649.2 TS2M39.3 TS1M2
Windows Vista9.2 TS2M39.3 TS1M2
Windows 7 Ultimate x649.2 TS2M39.3 TS1M2
Windows 7 Ultimate 32 bit9.2 TS2M39.3 TS1M2
Windows 7 Professional x649.2 TS2M39.3 TS1M2
Windows 7 Professional 32 bit9.2 TS2M39.3 TS1M2
Windows 7 Home Premium x649.2 TS2M39.3 TS1M2
Windows 7 Home Premium 32 bit9.2 TS2M39.3 TS1M2
Windows 7 Enterprise x649.2 TS2M39.3 TS1M2
Windows 7 Enterprise 32 bit9.2 TS2M39.3 TS1M2
Microsoft Windows XP Professional9.2 TS2M39.3 TS1M2
Microsoft Windows Server 2008 for x649.2 TS2M39.3 TS1M2
Microsoft Windows Server 20089.2 TS2M39.3 TS1M2
Microsoft Windows Server 2003 for x649.2 TS2M39.3 TS1M2
Microsoft Windows Server 2003 Standard Edition9.2 TS2M39.3 TS1M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.2 TS2M39.3 TS1M2
* 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.