06-15-2012 09:37 AM
Can I issue a DOS command in SAS by using the X command, in such a way that the resulting DOS window is either minimized, or doesn't pop up at all? Windows 7 Professional, 64 bit, SAS 9.3
06-15-2012 10:43 AM
I think there are some options for that but I like using the PIPE access method to execute DOS commands.
infile dummy pipe filevar=command .....;
You can then read the output from DIR into a data set.
You can also look at SYSTASK COMMAND to execute DOS commands.
Generally I don't like X.
06-15-2012 10:45 AM
Are you saying (implying) that if I use the Pipe access method, no DOS windows pops up? Because in this particular instance, I don't really need the features you mention.
Need further help from the community? Please ask a new question.