Problem Note 59432: "Segmentation Violation" occurs when you use the DATE. format in SAS® Scalable Performance Data Server
A segmentation violation error might occur in SAS Scalable Performance Data Server if your SAS program references a column that contains the DATE. format.
Attempts to use the DATE. format might generate errors like the following:
ERROR: An exception has been encountered.
Please contact technical support and provide them with the following traceback information:
The SAS task name is [DATASETS]
Segmentation Violation
Click the Full Code tab in this SAS Note to see an example of code that produces the errors.
To circumvent this issue, change the DATE. format to use the default DATE7. width (7).
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 | Microsoft Windows Server 2012 Std | 5.1 HF6 | 5.1 HF7 | 9.4 TS1M3 | 9.4 TS1M3 |
Windows 7 Professional x64 | 5.1 HF6 | 5.1 HF7 | 9.4 TS1M3 | 9.4 TS1M3 |
64-bit Enabled AIX | 5.1 HF6 | 5.1 HF7 | 9.4 TS1M3 | 9.4 TS1M3 |
64-bit Enabled Solaris | 5.1 HF6 | 5.1 HF7 | 9.4 TS1M3 | 9.4 TS1M3 |
HP-UX IPF | 5.1 HF6 | 5.1 HF7 | 9.4 TS1M3 | 9.4 TS1M3 |
Linux for x64 | 5.1 HF6 | 5.1 HF7 | 9.4 TS1M3 | 9.4 TS1M3 |
Solaris for x64 | 5.1 HF6 | 5.1 HF7 | 9.4 TS1M3 | 9.4 TS1M3 |
Microsoft Windows Server 2012 R2 Std | 5.1 HF6 | 5.1 HF7 | 9.4 TS1M3 | 9.4 TS1M3 |
Microsoft Windows Server 2012 R2 Datacenter | 5.1 HF6 | 5.1 HF7 | 9.4 TS1M3 | 9.4 TS1M3 |
Microsoft Windows Server 2012 Datacenter | 5.1 HF6 | 5.1 HF7 | 9.4 TS1M3 | 9.4 TS1M3 |
Microsoft® Windows® for x64 | 5.1 HF6 | 5.1 HF7 | 9.4 TS1M3 | 9.4 TS1M3 |
*
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=spds52;
%let host=myhost.domain;
%let portno=5200;
libname foo sasspds "&dom" host="&host" serv="&portno" user='anonymous' IP=YES LIBGEN=YES;
data foo.TBL(drop=i);
format ultimo_dt date.;
do i=1 to 10;
ultimo_dt=int(ranuni(0)*60);
output;
end;
run;
proc sql;
create index ultimo_dt on foo.TBL (ultimo_dt);
quit;
ODS LISTING CLOSE;
ODS OUTPUT enginehost=work.mem_enginehost;
proc datasets lib=foo nolist;
contents data=TBL (verbose=yes);
quit;
ODS OUTPUT CLOSE;
ODS LISTING;
Type: | Problem Note |
Priority: | high |
Date Modified: | 2016-12-14 16:40:16 |
Date Created: | 2016-12-01 07:41:20 |