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;
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.