BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
woo
Barite | Level 11 woo
Barite | Level 11

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 

 

Patrick
Opal | Level 21

You need to set option "options noxwait;" as else your SAS session waits for the Dos shell to exit - which never happens. 

http://support.sas.com/documentation/cdl/en/hostwin/67962/HTML/default/viewer.htm#n0xwt90ik8vxdrn137...

 

 

Astounding
PROC Star

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.

woo
Barite | Level 11 woo
Barite | Level 11

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...

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 18 replies
  • 16401 views
  • 1 like
  • 5 in conversation