Hello everyone,
I am running the following SAS code to zip files in a folder(mylib) in UNIX server from SAS EG.
data _null_;
call system ("gzip -r /server1/sasdata/dir1/mylib;");
run;
The files are very large and will take long time to finish.
May I know how I can get notification from EG when the task(gzip) is finish?
Thank you!
Hi @GeorgeSAS ,
I know it's not the "exact" answer but maybe you could do it "indirectly" with a little help of Outlook?
All the best
Bart
options xwait;
data _null_;
call system ("gzip -r /server1/sasdata/dir1/mylib;");
run;
filename sendmail email 'xxx@yyy.zzz' subject='EG gzip done';
data _null_;
file sendmail ;
put 'Hi!';
put 'Done.';
put 'yours truly';
put 'EG';
run;
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.