SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 55670: The &SYSERR macro variable returns a value of 0 when you use the DATASETS procedure with a DELETE statement to delete a SAS® SPD Server table

DetailsHotfixAboutRate It

If you use the DATASETS procedure with a DELETE statement to delete a SAS SPD Server table while the table is in use, the &SYSERR macro variable might return a value of 0. Here is an example:

14   proc datasets lib=spdslib;
NOTE: Writing HTML Body file: sashtml.htm
15    delete tbl;
16   quit;

NOTE: Deleting SPDSLIB.TBL (memtype=DATA).
NOTE: File SPDSLIB.TBL (memtype=DATA) cannot be deleted because it is in use.
NOTE: PROCEDURE DATASETS used (Total process time):
      real time           1.87 seconds
      cpu time            1.10 seconds

17
18   %put SYSERR=&syserr;
SYSERR=0

The &SYSERR macro variable is set to 0 incorrectly.

Click the Hot Fix tab in this note to access the hot fix for this issue.

After you apply the Hot Fix, you should see that the following error message and SYSERR are set to 1008:

ERROR: File SPDSLIB.TBL.DATA cannot be deleted because it is locked by another user.


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SPDSScalable Performance Data ClientMicrosoft® Windows® for x644.534.53 HF6
Microsoft Windows 8.1 Enterprise x644.534.53 HF6
Microsoft Windows Server 2008 for x644.534.53 HF6
Windows 7 Enterprise x644.534.53 HF6
64-bit Enabled AIX4.534.53 HF6
64-bit Enabled HP-UX4.534.53 HF6
64-bit Enabled Solaris4.534.53 HF6
HP-UX IPF4.534.53 HF6
Linux for x644.534.53 HF6
Solaris for x644.534.53 HF6
* 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.