Problem Note 55931: Your SAS® session might terminate abnormally when you use PROC IMPORT or PROC EXPORT code with the DOSUBL function
Your SAS® session might terminate abnormally if the text string that is submitted with the DOSUBL function contains PROC IMPORT or PROC EXPORT code. The problem also occurs when you invoke a macro that contains PROC IMPORT or PROC EXPORT code from within the DOSUBL function.
The example code below illustrates the problem:
options mlogic symbolgen;
data list;
fname="test";
flg=0;
run;
%macro cretateMargeData(fname, flg);
%if &flg=0 %then %do;
proc import out=work.data
datafile= "c:\&fname..csv"
dbms=csv replace;
getnames=yes;
datarow=2;
run;
%end;
%mend cretateMargeData;
data _null_;
set list;
rc=dosubl('%cretateMargeData('||fname||', '||flg||');');
put rc;
run;
The following circumvention uses CALL EXECUTE instead of the DOSUBL function that was shown in the DATA _NULL_ step above:
data _null_;
set list;
call execute('%cretateMargeData('||fname||', '||flg||');');
put rc;
run;
Operating System and Release Information
SAS System | Base SAS | Solaris for x64 | 9.4 TS1M0 | |
Linux for x64 | 9.4 TS1M0 | |
HP-UX IPF | 9.4 TS1M0 | |
64-bit Enabled Solaris | 9.4 TS1M0 | |
64-bit Enabled AIX | 9.4 TS1M0 | |
Windows 7 Professional x64 | 9.4 TS1M0 | |
Microsoft Windows Server 2008 R2 | 9.4 TS1M0 | |
Microsoft Windows 10 | 9.4 TS1M0 | |
Microsoft Windows 8.1 Pro x64 | 9.4 TS1M0 | |
Microsoft Windows 8.1 Pro 32-bit | 9.4 TS1M0 | |
Microsoft Windows 8.1 Enterprise x64 | 9.4 TS1M0 | |
Microsoft Windows 8.1 Enterprise 32-bit | 9.4 TS1M0 | |
Microsoft Windows 8 Pro x64 | 9.4 TS1M0 | |
Microsoft Windows 8 Enterprise x64 | 9.4 TS1M0 | |
Microsoft® Windows® for x64 | 9.4 TS1M0 | |
z/OS 64-bit | 9.4 TS1M0 | |
Windows 7 Enterprise x64 | 9.4 TS1M0 | |
Microsoft Windows Server 2012 Std | 9.4 TS1M0 | |
Microsoft Windows Server 2012 R2 Std | 9.4 TS1M0 | |
Microsoft Windows Server 2012 R2 Datacenter | 9.4 TS1M0 | |
Microsoft Windows Server 2012 Datacenter | 9.4 TS1M0 | |
Microsoft Windows Server 2008 for x64 | 9.4 TS1M0 | |
z/OS | 9.4 TS1M0 | |
*
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.
Referencing procedures like PROC IMPORT or PROC EXPORT with the DOSUBL function might cause your SAS session to terminate abnormally.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2015-06-04 14:24:32 |
Date Created: | 2015-06-04 11:21:26 |