![]() | ![]() | ![]() | ![]() | ![]() |
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;
Product Family | Product | System | SAS Release | |
Reported | Fixed* | |||
SAS System | SAS Integration Technologies | OpenVMS on HP Integrity | 9.2 TS2M3 | 9.3 TS1M2 |
Linux for x64 | 9.2 TS2M3 | 9.3 TS1M2 | ||
Linux | 9.2 TS2M3 | 9.3 TS1M2 | ||
HP-UX IPF | 9.2 TS2M3 | 9.3 TS1M2 | ||
64-bit Enabled Solaris | 9.2 TS2M3 | 9.3 TS1M2 | ||
64-bit Enabled HP-UX | 9.2 TS2M3 | 9.3 TS1M2 | ||
64-bit Enabled AIX | 9.2 TS2M3 | 9.3 TS1M2 | ||
Windows Vista for x64 | 9.2 TS2M3 | 9.3 TS1M2 | ||
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS2M3 | 9.3 TS1M2 | ||
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS2M3 | 9.3 TS1M2 | ||
Microsoft® Windows® for x64 | 9.2 TS2M3 | 9.3 TS1M2 | ||
Microsoft Windows XP 64-bit Edition | 9.2 TS2M3 | 9.3 TS1M2 | ||
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS2M3 | 9.3 TS1M2 | ||
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS2M3 | 9.3 TS1M2 | ||
Solaris for x64 | 9.2 TS2M3 | 9.3 TS1M2 | ||
Windows Vista | 9.2 TS2M3 | 9.3 TS1M2 | ||
Windows 7 Ultimate x64 | 9.2 TS2M3 | 9.3 TS1M2 | ||
Windows 7 Ultimate 32 bit | 9.2 TS2M3 | 9.3 TS1M2 | ||
Windows 7 Professional x64 | 9.2 TS2M3 | 9.3 TS1M2 | ||
Windows 7 Professional 32 bit | 9.2 TS2M3 | 9.3 TS1M2 | ||
Windows 7 Home Premium x64 | 9.2 TS2M3 | 9.3 TS1M2 | ||
Windows 7 Home Premium 32 bit | 9.2 TS2M3 | 9.3 TS1M2 | ||
Windows 7 Enterprise x64 | 9.2 TS2M3 | 9.3 TS1M2 | ||
Windows 7 Enterprise 32 bit | 9.2 TS2M3 | 9.3 TS1M2 | ||
Microsoft Windows XP Professional | 9.2 TS2M3 | 9.3 TS1M2 | ||
Microsoft Windows Server 2008 for x64 | 9.2 TS2M3 | 9.3 TS1M2 | ||
Microsoft Windows Server 2008 | 9.2 TS2M3 | 9.3 TS1M2 | ||
Microsoft Windows Server 2003 for x64 | 9.2 TS2M3 | 9.3 TS1M2 | ||
Microsoft Windows Server 2003 Standard Edition | 9.2 TS2M3 | 9.3 TS1M2 | ||
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS2M3 | 9.3 TS1M2 |