I also tried running both code after putting brand new zipped file (unprocessed before),
x 'unzip d:\test\*.zip';
run fine and did nothing
%sysexec unzip d:\test\*.zip;
prompting same two windows as i mentioned above
You need to set option "options noxwait;" as else your SAS session waits for the Dos shell to exit - which never happens.
I agree with Patrick ... NOXWAIT is required, and may be all that is missing at this point. If the results are still not successful, I would try breaking the steps into pieces as follows:
options noxwait;
x 'cd d:\test';
x 'dir';
x 'unzip *.zip';
The DIR command isn't really necessary once things are working properly, but it may help diagnose what is happening. I'm hoping this works, because after this I'm out of ideas.
infect i was using options noxwait, and i was prompting that message...don't know why..but appreciate your efforts and time...Thank you so much...
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.