<?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 Re: need help with MACRO code plz in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126931#M10445</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me put it this way...I am sorry if i am not explaining it at my best...i really need help on this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is where i am wirte now&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*&amp;nbsp;&amp;nbsp; have created one sas dataset 'A' with 1 variable and 7 exception errors&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/*&amp;nbsp;&amp;nbsp; now i am planning to write a sas program as below which will trigger A.SAS7BDAT after woo.sas complete to check if woo.log has same error as A dataset &lt;/STRONG&gt;&lt;STRONG&gt;errors and then dataset one will have 0 obs and 1 variable after reading records from logfile, woo.log&amp;nbsp;&amp;nbsp; */&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*here for me mystry part is highlighted with &lt;STRONG&gt;BOLD&lt;/STRONG&gt;&amp;nbsp; in code */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*&amp;nbsp;&amp;nbsp; location of the log file&amp;nbsp;&amp;nbsp; */&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;filename logfile "c:\...\woo.log"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro woo;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*&amp;nbsp;&amp;nbsp; if log file doesn't exist pass error to user&amp;nbsp;&amp;nbsp;&amp;nbsp; */&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;%if %sysfunc(fileexist(logfile) eq 0 %then %let syscc=100;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*&amp;nbsp;&amp;nbsp; now reading woo.log file&amp;nbsp;&amp;nbsp; */&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;data one;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;infile logfile end=eof;&lt;/P&gt;&lt;P&gt;input string $varying500. length;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;if string=: "error:" eq A.sas7bdat variable then delete;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt; /*&amp;nbsp;&amp;nbsp; here A.sas7bdat has same error as woo.log may have...- i have created A sas data set&amp;nbsp;&amp;nbsp; */&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*determine number of errors using PROC SQL&amp;nbsp;&amp;nbsp; */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;/*&amp;nbsp;&amp;nbsp; if there are any errors - pass an errors to scheduler&amp;nbsp;&amp;nbsp; */&lt;/P&gt;&lt;P&gt;%if &amp;amp;count ne 0 %then %let syscc=100;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%mend woo;&lt;/P&gt;&lt;P&gt;%woo;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Sep 2013 22:26:37 GMT</pubDate>
    <dc:creator>woo</dc:creator>
    <dc:date>2013-09-03T22:26:37Z</dc:date>
    <item>
      <title>need help with MACRO code plz</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126918#M10432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: georgia,palatino; font-size: 12pt;"&gt;hi SAS folks - i am new at sas and need help with macro code &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: georgia,palatino; font-size: 12pt;"&gt;Question:-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: georgia,palatino; font-size: 12pt;"&gt;i have created one table with 1 variable and 7 observation (this table contains error name strings as observation).&amp;nbsp; i am planning to trigger this table with macro logic in such a way that if we have same string error as mention in table oservation then error will be ignored and code would run without any failure shown...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: georgia,palatino; font-size: 12pt;"&gt;(so basically table observation as error will be ignored in log)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: georgia,palatino; font-size: 12pt;"&gt;I would really appreciate help with logic and code if someone can provide...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: georgia,palatino; font-size: 12pt;"&gt;Thanks in advance...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2013 18:57:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126918#M10432</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2013-08-30T18:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: need help with MACRO code plz</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126919#M10433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what you mean.&lt;/P&gt;&lt;P&gt;Do you want to know how to query a table to find out if a given macro variable matches the value of one of the variables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sql noprint ;&lt;/P&gt;&lt;P&gt; select var from my.table where var="&amp;amp;mvar" ;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;%if (&amp;amp;sqlobs) %then %put Found a match ;&lt;/P&gt;&lt;P&gt;%else %put No match found. ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2013 20:21:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126919#M10433</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-08-30T20:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: need help with MACRO code plz</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126920#M10434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your quick response...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no Tom -&lt;SPAN style="text-decoration: underline;"&gt; Macro code&lt;/SPAN&gt; would check the &lt;SPAN style="text-decoration: underline;"&gt;one particular log file&lt;/SPAN&gt; (created by another sas program and macro code i am talking about would dump into this program) and if log file has same error as mentioned in the &lt;SPAN style="text-decoration: underline;"&gt;table&lt;/SPAN&gt; (that i already created with exception error's name, 1 variable and 7 observation - here observations are error's name) then macro code would refer/match/trigger that table (which has 7 exception error) and error will ignored (since error string match with table) and SAS code will continue to run to finish rest...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will clear you doubts...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2013 20:53:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126920#M10434</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2013-08-30T20:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: need help with MACRO code plz</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126921#M10435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would submit that reading a log is kind of late for graceful error handling. The SAS automatic SYSERR variable available after many procedures and datastep might be a more profitable place to spend coding time than trying to parse Log text.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2013 22:32:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126921#M10435</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2013-08-30T22:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: need help with MACRO code plz</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126922#M10436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am not sure what would be good whether macro or data steps but if someone share logic/code with macro/data step would be grt...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2013 22:59:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126922#M10436</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2013-08-30T22:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: need help with MACRO code plz</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126923#M10437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a lot documented, but difficult to find, a good starting point is: &lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/64801/HTML/default/viewer.htm#p0rafz0thpktv9n1vvb6ku0wnki9.htm" title="http://support.sas.com/documentation/cdl/en/lrcon/64801/HTML/default/viewer.htm#p0rafz0thpktv9n1vvb6ku0wnki9.htm"&gt;SAS(R) 9.4 Language Reference: Concepts&lt;/A&gt; ( &lt;A id="p0rafz0thpktv9n1vvb6ku0wnki9"&gt; &lt;/A&gt;Error Processing and Debugging )&lt;/P&gt;&lt;P&gt;Having this it is more easier to find it elsewhere as it everywhere coming back.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/mcrolref/64754/HTML/default/viewer.htm#n18mk1d0g1j31in1q6chazvfseel.htm" title="http://support.sas.com/documentation/cdl/en/mcrolref/64754/HTML/default/viewer.htm#n18mk1d0g1j31in1q6chazvfseel.htm"&gt;SAS(R) 9.4 Macro Language: Reference&lt;/A&gt; (automatic macro vars)&lt;/P&gt;&lt;P&gt;The OS level (batch processing) can get the completion code (companiums).&lt;/P&gt;&lt;P&gt;SQL has a lot on it, SAS/connect has.... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Aug 2013 07:59:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126923#M10437</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2013-08-31T07:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: need help with MACRO code plz</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126924#M10438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my logic would be like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*&lt;/P&gt;&lt;P&gt;%macro woo;&lt;/P&gt;&lt;P&gt;filename logfile "c:\abcd\woo.log;&lt;/P&gt;&lt;P&gt;if string=:"error:" into %logfile is eq variable_name into sas dataset then delete;&lt;/P&gt;&lt;P&gt;/* here variable_name variable is contains error name string which could occure in logfile and i want to delete those error string*/&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;%mend woo;&lt;/P&gt;&lt;P&gt;*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*invoke macro*/&lt;/P&gt;&lt;P&gt;%woo;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but still i am not getting correct code to do this...so if someone can help...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 17:33:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126924#M10438</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2013-09-03T17:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: need help with MACRO code plz</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126925#M10439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need to share more details about what you're trying to do. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Is the SAS code generating an error and then failing to continue the process? &lt;/P&gt;&lt;P&gt;Is there macros involved? &lt;/P&gt;&lt;P&gt;Is this multiple programs running in Batch?&lt;/P&gt;&lt;P&gt;Is it for a specific program for a specific row for example or for multiple programs? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See here:&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="2263" __jive_macro_name="document" class="jive_macro jive_macro_document" href="https://communities.sas.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 17:37:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126925#M10439</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-09-03T17:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: need help with MACRO code plz</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126926#M10440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am running sas 9.1.3 on windows 2003.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one sas program running in batch, lets say &lt;STRONG style="text-decoration: underline;"&gt;'woo.sas'&lt;/STRONG&gt;, and its log,&lt;STRONG style="text-decoration: underline;"&gt; "woo.log"&lt;/STRONG&gt; has some error as mentioned below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;error: this is the one error&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;error: this is the second error&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;error: this is the third error&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;error: this is the seventh error&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*&lt;/P&gt;&lt;P&gt;i wanted to delete all these errors (from &lt;SPAN style="text-decoration: underline;"&gt;"&lt;STRONG&gt;woo.log&lt;/STRONG&gt;&lt;/SPAN&gt;") with a logic using macro or data step or something like that...in order to do that i have done following thing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*step-1*/&lt;/P&gt;&lt;P&gt;/*have created table 'A' wich has all above seven error in it/*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;error::this is the first error&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;error: this is the second error&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;error: this is the third error&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;error: this is the seventh error&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*step2*/&lt;/P&gt;&lt;P&gt;/*want to write &lt;STRONG&gt;&lt;EM style="text-decoration: underline;"&gt;code/logic&lt;/EM&gt;&lt;/STRONG&gt; which will excute right after "&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;woo.sas"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;and check "&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;woo.log&lt;/STRONG&gt;&lt;/SPAN&gt;" and if&amp;nbsp; "&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;woo.log"&lt;/STRONG&gt;&lt;/SPAN&gt; has same error as in table&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;A&lt;/STRONG&gt;&lt;/SPAN&gt; (that i have cretaed) then all error will be deleted */&lt;/P&gt;&lt;P&gt;/*so basically a macro which would point table 'A' and if woo.log has same error as table 'A' then all errors will be deleted like below - &lt;STRONG&gt;&lt;EM&gt;but not getting code right&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp; way&lt;/EM&gt;*/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;%macro woo;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;filename logfile "c:\abcd\woo.log;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;if string=:"error:" into %logfile is eq variable_name into table A then delete;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;/* here variable_name variable is contains error name string which could occure in woo.log and i want to delete those error string*/&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;%mend woo;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;/*invoke macro*/&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;%woo;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*Thanks a lot*/&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 18:12:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126926#M10440</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2013-09-03T18:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: need help with MACRO code plz</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126927#M10441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You still need to describe more the purpose of the activity.&amp;nbsp; Sounds like you want to post-process a SAS log and somehow indicate that it is ok to ignore selected error messages.&amp;nbsp; What actions do you want to perform?&amp;nbsp; Sounds like you want to produce a modified version of the log file.&amp;nbsp; Do you also want to produce a status summary such as number of unacceptable error messages?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First figure out how to process one file to locate one example error message.&amp;nbsp; This probably needs to be reasonably flexible as SAS error messages usually have some variable information in them such as line number, variable name or dataset name.&amp;nbsp; Here is a trivial example to ignore errors about missing WORK.Y dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;data _null_;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; if eof then call symputx('nerrors',nerrors);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; infile 'woo.log' end=eof ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; file 'woo.log_fixed';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; input ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; if _infile_ =: 'ERROR' then do;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if _infile_ = 'ERROR: File WORK.Y.DATA does not exist.' then _infile_='IGNORE ' || _infile_;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else nerrors+1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; end;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; put _infile_ ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then figure out how to handle multiple error messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then figure out how to generate the code that works for multiple messages from an input dataset or input macro variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At that point you are ready to begin writing your macro.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 19:17:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126927#M10441</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-09-03T19:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: need help with MACRO code plz</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126928#M10442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is an automatic macro variable you can use:&amp;nbsp; &amp;amp;SYSERRORTEXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will have to make sure that the values in your table match what would be contained in &amp;amp;SYSERRORTEXT (or could be mapped to it, if need be).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A macro could easily generate this statement to end your program/session if a new error message (one that is not part of your table) is found:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endsas;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course, you will have to invoke the macro many times ... after each DATA or PROC step, perhaps even more frequently since each SELECT statement within PROC SQL could generate an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 19:34:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126928#M10442</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2013-09-03T19:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: need help with MACRO code plz</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126929#M10443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i wants to delete all error messages that &lt;STRONG&gt;woo.log&lt;/STRONG&gt; might have and may be same as table 'A' has...............so in batch i will run &lt;STRONG&gt;woo.sas&lt;/STRONG&gt; first then &lt;STRONG&gt;new_code.sas &lt;/STRONG&gt;(new_code.sas may be has same logic as you just mentioned).........and in batch it will go like this.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"C:\...\sas.exe" -sysin c:\...\&lt;STRONG&gt;woo.sas&lt;/STRONG&gt; -log c:\...\log -CONFIG "C:\...\SASV9.CFG" -NOPRINT&lt;/P&gt;&lt;P&gt;"C:\...\sas.exe" -sysin c:\...\&lt;STRONG&gt;new_code.sas&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*currently so &lt;STRONG&gt;woo.sas&lt;/STRONG&gt; has&lt;STRONG&gt; %let syscc=0; (&lt;/STRONG&gt;at end of the code) and also has some error messages in woo.log and printing log message at end of the log like&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; error: errors printed on pages 1234, 5678. errors printed on pages 123456, 789101.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; (THEN - &lt;STRONG&gt;new_code.sas&lt;/STRONG&gt; will run with logic (may be same as you mention) - trigger table 'A' - mathing woo.log error with table 'A' and&amp;nbsp; then DELETE/IGNORE all&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; those error in woo.log - (&lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;&lt;STRONG&gt;all these errors are exceptional error in our business definition)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt; ----Thanks&lt;/P&gt;&lt;P&gt;*/&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 20:03:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126929#M10443</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2013-09-03T20:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: need help with MACRO code plz</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126930#M10444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are the types of errors you're trying to avoid printing? You can control the level of errors that sas prints. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It does sound like a modified log issue, so scan your log, find an error. Then look up the error, my guess is using a format, rather than any merge. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then delete that row rather than output is my guess. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What exactly do you need help with?&lt;/P&gt;&lt;P&gt;There are log parsers online that search for error, so adding in a format to see if the error matches should be relatively easy. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roland has an example here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.datasavantconsulting.com/roland/scanlog.sas" title="http://www.datasavantconsulting.com/roland/scanlog.sas"&gt;http://www.datasavantconsulting.com/roland/scanlog.sas&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 21:27:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126930#M10444</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-09-03T21:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: need help with MACRO code plz</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126931#M10445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me put it this way...I am sorry if i am not explaining it at my best...i really need help on this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is where i am wirte now&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*&amp;nbsp;&amp;nbsp; have created one sas dataset 'A' with 1 variable and 7 exception errors&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/*&amp;nbsp;&amp;nbsp; now i am planning to write a sas program as below which will trigger A.SAS7BDAT after woo.sas complete to check if woo.log has same error as A dataset &lt;/STRONG&gt;&lt;STRONG&gt;errors and then dataset one will have 0 obs and 1 variable after reading records from logfile, woo.log&amp;nbsp;&amp;nbsp; */&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*here for me mystry part is highlighted with &lt;STRONG&gt;BOLD&lt;/STRONG&gt;&amp;nbsp; in code */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*&amp;nbsp;&amp;nbsp; location of the log file&amp;nbsp;&amp;nbsp; */&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;filename logfile "c:\...\woo.log"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro woo;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*&amp;nbsp;&amp;nbsp; if log file doesn't exist pass error to user&amp;nbsp;&amp;nbsp;&amp;nbsp; */&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;%if %sysfunc(fileexist(logfile) eq 0 %then %let syscc=100;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*&amp;nbsp;&amp;nbsp; now reading woo.log file&amp;nbsp;&amp;nbsp; */&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;data one;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;infile logfile end=eof;&lt;/P&gt;&lt;P&gt;input string $varying500. length;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;if string=: "error:" eq A.sas7bdat variable then delete;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt; /*&amp;nbsp;&amp;nbsp; here A.sas7bdat has same error as woo.log may have...- i have created A sas data set&amp;nbsp;&amp;nbsp; */&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*determine number of errors using PROC SQL&amp;nbsp;&amp;nbsp; */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;/*&amp;nbsp;&amp;nbsp; if there are any errors - pass an errors to scheduler&amp;nbsp;&amp;nbsp; */&lt;/P&gt;&lt;P&gt;%if &amp;amp;count ne 0 %then %let syscc=100;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%mend woo;&lt;/P&gt;&lt;P&gt;%woo;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 22:26:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126931#M10445</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2013-09-03T22:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: need help with MACRO code plz</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126932#M10446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Again. Write a program that works for one string.&amp;nbsp; A macro is a code generator. You have to know what code you want to generate before you can "macrotize" it.&lt;/P&gt;&lt;P&gt;For example if you logic included the line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;if string in : ("ERROR: File WORK.Y.DATA does not exist.") then delete;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you could make a dataset that had that text in it.&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;data a;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; errstring = "ERROR: File WORK.Y.DATA does not exist." ;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;run;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you could pull that string out into a macro variable that your program could reference.&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;proc sql noprint;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; select quote(trim(errstring)) into :errlist separated by ',' from a;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;quit;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;...&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;if string in : (&amp;amp;errlist) then delete;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;...&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I doubt that your program will end up being that simple, but the idea is the same.&amp;nbsp; Figure out what code you want to generate, then you can work on generating it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 23:34:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126932#M10446</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-09-03T23:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: need help with MACRO code plz</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126933#M10447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes tom - as you mentioned i already make a dataset (&lt;STRONG&gt;err_chk_logic.sas7bdat&lt;/STRONG&gt;) that had text in it.....now i only need logic to trigger this dataset (err_chk_logic) to check with woo.log if it has same errors with my 'err_chk_logic.sas7bdat' sas dataset and if so - then delete&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;err_chk_logic.sas7bdat (&lt;/STRONG&gt;with variable A and 7 observation ) at my library "c:\woo\err_chk_logic"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;---------------------------------------------|&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;---------------------------------------------|&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;error: this is the one error&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;---------------------------------------------|&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;error: this is the second error&amp;nbsp;&amp;nbsp; |&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;---------------------------------------------|&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;error: this is the third error&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;---------------------------------------------|&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;---------------------------------------------|&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;---------------------------------------------|&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;error: this is the seventh error&amp;nbsp; |&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;---------------------------------------------&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-family: inherit; font-style: inherit;"&gt;if string in : ("woo.err_chk_logic.sas7bdat") then delete;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*&amp;nbsp; &lt;/STRONG&gt;&lt;/EM&gt;-----i need this logic------not sure what it is exactly-------*/&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-family: inherit; font-style: inherit;"&gt; &lt;/STRONG&gt;&lt;/EM&gt;&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-family: inherit; font-style: inherit;"&gt; &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 00:15:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126933#M10447</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2013-09-04T00:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: need help with MACRO code plz</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126934#M10448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do you think it could be like this for me since i have multiple log error and have already created dataset err_chk_logic.sas7bdat,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA ONE;&lt;/P&gt;&lt;P&gt;SET WOO.ERR_CHK_LOGIC;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*&amp;nbsp; instead of your logic&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-family: inherit; font-style: inherit;"&gt;data a;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-family: inherit; font-style: inherit;"&gt;&amp;nbsp; errstring = "ERROR: File WORK.Y.DATA does not exist." ;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-family: inherit; font-style: inherit;"&gt;run;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;*/&lt;/P&gt;&lt;P&gt;/*AND */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC SQL NOPRINT;&lt;/P&gt;&lt;P&gt;SELECT QUOTE(TRIM(WOO.ERR_CHK_LOGIC)) INTO :ERRLIST SEPERATED BY ',' FROM A&lt;/P&gt;&lt;P&gt;QUIT;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*instead of your logic&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-family: inherit; font-style: inherit;"&gt;proc sql noprint;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-family: inherit; font-style: inherit;"&gt;&amp;nbsp; select quote(trim(errstring)) into :errlist separated by ',' from a;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-family: inherit; font-style: inherit;"&gt;quit;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*AND*/&lt;/P&gt;&lt;P&gt;IF STRING IN :WOO.ERR_CHK_LOGIC THEN DELETE;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/instead of your logic&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-family: inherit; font-style: inherit;"&gt;if string in : (&amp;amp;errlist) then delete;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- SORRY STILL HAVE COFUSION...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 00:46:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126934#M10448</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2013-09-04T00:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: need help with MACRO code plz</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126935#M10449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try that. You need to fix your variable reference in the SQL code.&lt;/P&gt;&lt;P&gt;You using &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;WOO.ERR_CHK_LOGIC&lt;/SPAN&gt; which implies that there is a dataset (or an alias) named WOO that contains a variable named ERR_CHK_LOGIC.&amp;nbsp; But the dataset you are referencing is named A and you are not using any alias with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;proc sql noprint;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; select quote(trim(err_chk_logic))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; into :errlist seperated by ','&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from a&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;quit;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 01:08:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126935#M10449</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-09-04T01:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: need help with MACRO code plz</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126936#M10450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tom I did like your first reply (and Ballards) , asking why this all is needed what problem he is trying to solve.&lt;BR /&gt;Woo is saying he is new to SAS is n't it.&lt;/P&gt;&lt;P&gt;We can help him with building the most advanced and nice kind of coding as he asking. We can help him to build something when seen the whole of it all he is doing, is not necessary at all, or is a wrong approach, or an interenal fight to failing IT support, or ... .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like his is trying to build a scheduler solution. Schedulers are standard tools.&lt;/P&gt;&lt;P&gt; - LSF Grid is a approach in SAS.&lt;/P&gt;&lt;P&gt; - Eguide can connect to Windows scheduler&lt;/P&gt;&lt;P&gt; - Eguide has Flow processing that supports running steps/jobs and is dependencies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like his is trying to analyse errors/warnings in a own approach.&lt;/P&gt;&lt;P&gt;Possible he has already some programming experience and is trying to map that on a SAS environment. Not aware of what SAS offers and is somehow diferent at some areas.&lt;/P&gt;&lt;P&gt;- This is part of SAS and more IT components, but by itself they are not fully errorfree.&lt;/P&gt;&lt;P&gt;- The latest version of Eguide will get Log analyses by it self.&lt;/P&gt;&lt;P&gt;-&amp;nbsp; Code analyzing and optimizing of old the source approaches (scaproc) is already part of the normal running versions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Woo what is your issue?&lt;/P&gt;&lt;P&gt;The real problem you are dealing with, not the half way solution you go into by yourself with some coding problems.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 07:48:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126936#M10450</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2013-09-04T07:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: need help with MACRO code plz</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126937#M10451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;guys - i really appreciate all your response in this real coding help...especially Tom...I have some experience with coding but i am not that good in MACROS....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my goal is like create a sas dataset with 1 variable and 7 observation (which i already created) ---this dataset will trigger in new logic (which is i am trying to do) to match error in woo.log (of woo.sas) and if error match with dataset (&lt;STRONG&gt;dataset that i have created with errors text = woo.log erros&lt;/STRONG&gt;) that i have created then it will delete all errors becasue these errors are exceptional error in our business and no need to consider all these errors...---so here &lt;STRONG&gt;woo.SAS&lt;/STRONG&gt; run first which will create&lt;STRONG&gt; woo.log&lt;/STRONG&gt; and then new logic will run (by triggering dataset that i have created) - match errors with woo.log and if match then deletes ----&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am in process to do this using Tom logic and all...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 15:48:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/need-help-with-MACRO-code-plz/m-p/126937#M10451</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2013-09-04T15:48:26Z</dc:date>
    </item>
  </channel>
</rss>

