<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic get notification when call system task finish in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/get-notification-when-call-system-task-finish/m-p/615707#M180119</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am running the following SAS code to zip files in a folder(&lt;CODE class=" language-sas"&gt;mylib&lt;/CODE&gt;) in UNIX server from SAS EG.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_; 
call system ("gzip -r /server1/sasdata/dir1/mylib;"); 
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The files are very large and will take long time to finish.&lt;/P&gt;
&lt;P&gt;May I know how I can get notification from EG when the task(gzip) is finish?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jan 2020 16:02:34 GMT</pubDate>
    <dc:creator>GeorgeSAS</dc:creator>
    <dc:date>2020-01-07T16:02:34Z</dc:date>
    <item>
      <title>get notification when call system task finish</title>
      <link>https://communities.sas.com/t5/SAS-Programming/get-notification-when-call-system-task-finish/m-p/615707#M180119</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am running the following SAS code to zip files in a folder(&lt;CODE class=" language-sas"&gt;mylib&lt;/CODE&gt;) in UNIX server from SAS EG.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_; 
call system ("gzip -r /server1/sasdata/dir1/mylib;"); 
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The files are very large and will take long time to finish.&lt;/P&gt;
&lt;P&gt;May I know how I can get notification from EG when the task(gzip) is finish?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 16:02:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/get-notification-when-call-system-task-finish/m-p/615707#M180119</guid>
      <dc:creator>GeorgeSAS</dc:creator>
      <dc:date>2020-01-07T16:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: get notification when call system task finish</title>
      <link>https://communities.sas.com/t5/SAS-Programming/get-notification-when-call-system-task-finish/m-p/616149#M180333</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10531"&gt;@GeorgeSAS&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know it's not the "exact" answer but maybe you could do it "indirectly" with a little help of Outlook?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All the best&lt;/P&gt;&lt;P&gt;Bart&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;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;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Jan 2020 08:43:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/get-notification-when-call-system-task-finish/m-p/616149#M180333</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2020-01-09T08:43:21Z</dc:date>
    </item>
  </channel>
</rss>

