Desktop productivity for business analysts and programmers

SAS Enterprise Guide Questions

Posts: 1

SAS Enterprise Guide Questions

My following commands are no longer working now. I am not sure what is causing the problem. I got recently installed hotfix for SAS Enterprise Guide and upgraded microsoft office. I did test with simple SAS statement as below. I did not get an error message and did not create directory either. There statements are working fine a few weeks ago. Any suggestions. Thanks.

filename fileref PIPE ‘a DOS command’;
%SYSEXEC Statement

for example,
Filename fileref PIPE ‘mkdir “c:\a dir”’;
Data _null_;
Infile fileref;
Input ;
Put _infile_;
Frequent Contributor
Posts: 139

Re: SAS Enterprise Guide Questions

General submitting shell commands x piping etc... are turned-off in EG. But if system option –ALLOWXCMD is turned on you can do that. Maybe when the hotfix was applied this options was deactivated.

there is a work around using the MODULE function, below is a paper that I wrote that shows how to create directiory by accessing the Windows API directing.
Ask a Question
Discussion stats
  • 1 reply
  • 2 in conversation