Problem Note 57992: "Access Violation" errors might occur when multiple tables are joined with the UNION operator in SAS® Scalable Performance Data Server
An SQL union of multiple tables using the UNION operator might fail in SAS SPD Server.
Click the Full Code tab in this SAS Note to see an example of code that produces the following error in the SAS SPD Server log:
03/14/16 04:39:33:(411) SPDSBASE- ERROR: Access Violation
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SPDS | SAS Scalable Peformance Data Server | HP-UX IPF | 5.1 HF4 | 5.1 HF6 | | |
64-bit Enabled Solaris | 5.1 HF4 | 5.1 HF6 | | |
64-bit Enabled AIX | 5.1 HF4 | 5.1 HF6 | | |
Windows 7 Professional x64 | 5.1 HF4 | 5.1 HF6 | | |
Windows 7 Enterprise x64 | 5.1 HF4 | 5.1 HF6 | | |
Microsoft Windows Server 2012 R2 Std | 5.1 HF4 | 5.1 HF6 | | |
Microsoft Windows Server 2012 R2 Datacenter | 5.1 HF4 | 5.1 HF6 | | |
Microsoft Windows Server 2012 Datacenter | 5.1 HF4 | 5.1 HF6 | | |
Microsoft Windows Server 2008 for x64 | 5.1 HF4 | 5.1 HF6 | | |
Microsoft® Windows® for x64 | 5.1 HF4 | 5.1 HF6 | | |
Linux for x64 | 5.1 HF4 | 5.1 HF6 | | |
Solaris for x64 | 5.1 HF4 | 5.1 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.
Modify the macro variables to match your environment setting before submitting the code.
%let dom=spds51;
%let host=myhost.domain;
%let portno=5200;
libname foo sasspds "&dom" host="&host" serv="&portno" user='admin' password='secret' IP=YES LIBGEN=YES;
data foo.class;
set sashelp.class;
run;
%macro crttab (n_unions);
proc sql;
create table work.class as
select * from foo.class
%do i=1 %to &n_unions;
union
select * from foo.class
%end;
;
quit;
%put Unions &n_unions: sqlrc=&sqlrc syserr=&syserr syscc=&syscc;
%mend;
%crttab(14);
Type: | Problem Note |
Priority: | high |
Date Modified: | 2016-04-13 09:13:48 |
Date Created: | 2016-04-04 11:01:24 |