<?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 Another automation question - the VB.net side isn't able to read job conditions in an egp file.... in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Another-automation-question-the-VB-net-side-isn-t-able-to-read/m-p/675992#M36697</link>
    <description>&lt;P&gt;The automation we are building is failing on job conditions.&amp;nbsp; At line 5, below, notice there is nothing in between the quotes of the "if" condition. It is null.&amp;nbsp;&amp;nbsp; So the VB.net side that drives the run can't yet see what the condition is.&amp;nbsp;&amp;nbsp; In the job condition in the SAS EG project, it says "If this&amp;nbsp;condition is true: &amp;nbsp;"Include or Exclude Vendor equal to 'EXCLUDE'"&amp;nbsp; So we want the piece of hand-coding to run if the user chooses EXCLUDE.&amp;nbsp; Our automation can read the user picking EXCLUDE just fine.&amp;nbsp; But when it gets to the job condition, it can't read the SAS EG interface's job condition.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do we fix this so our automation can see this "if" condition???&amp;nbsp; Here is the log snippet with the missing if condition:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Log for "Condition Evaluation for Piece_of_Handcoding1." run at 8/11/2020 3:34:20 PM on MyServer&lt;BR /&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;*';*";*/;quit;run;&lt;BR /&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OPTIONS PAGENO=MIN;&lt;BR /&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %LET INCL_EXCL = EXCLUDE;&lt;BR /&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data _NULL_; rc = 0;&lt;BR /&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if '' = 'EXCLUDE' then&lt;BR /&gt;6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rc = 1;&lt;BR /&gt;7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL SYMPUT('_egrc', PUT(rc,1.));&lt;BR /&gt;8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stop;&lt;BR /&gt;9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Aug 2020 20:21:42 GMT</pubDate>
    <dc:creator>saslover15</dc:creator>
    <dc:date>2020-08-11T20:21:42Z</dc:date>
    <item>
      <title>Another automation question - the VB.net side isn't able to read job conditions in an egp file....</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Another-automation-question-the-VB-net-side-isn-t-able-to-read/m-p/675992#M36697</link>
      <description>&lt;P&gt;The automation we are building is failing on job conditions.&amp;nbsp; At line 5, below, notice there is nothing in between the quotes of the "if" condition. It is null.&amp;nbsp;&amp;nbsp; So the VB.net side that drives the run can't yet see what the condition is.&amp;nbsp;&amp;nbsp; In the job condition in the SAS EG project, it says "If this&amp;nbsp;condition is true: &amp;nbsp;"Include or Exclude Vendor equal to 'EXCLUDE'"&amp;nbsp; So we want the piece of hand-coding to run if the user chooses EXCLUDE.&amp;nbsp; Our automation can read the user picking EXCLUDE just fine.&amp;nbsp; But when it gets to the job condition, it can't read the SAS EG interface's job condition.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do we fix this so our automation can see this "if" condition???&amp;nbsp; Here is the log snippet with the missing if condition:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Log for "Condition Evaluation for Piece_of_Handcoding1." run at 8/11/2020 3:34:20 PM on MyServer&lt;BR /&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;*';*";*/;quit;run;&lt;BR /&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OPTIONS PAGENO=MIN;&lt;BR /&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %LET INCL_EXCL = EXCLUDE;&lt;BR /&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data _NULL_; rc = 0;&lt;BR /&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if '' = 'EXCLUDE' then&lt;BR /&gt;6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rc = 1;&lt;BR /&gt;7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL SYMPUT('_egrc', PUT(rc,1.));&lt;BR /&gt;8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stop;&lt;BR /&gt;9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 20:21:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Another-automation-question-the-VB-net-side-isn-t-able-to-read/m-p/675992#M36697</guid>
      <dc:creator>saslover15</dc:creator>
      <dc:date>2020-08-11T20:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Another automation question - the VB.net side isn't able to read job conditions in an egp file..</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Another-automation-question-the-VB-net-side-isn-t-able-to-read/m-p/679584#M36868</link>
      <description>&lt;P&gt;We solved this, in case anyone ever stumbles across this post.&amp;nbsp; The solution is to put on the VB.NET side,&amp;nbsp; 'INCLUDE' = 'INCLUDE' (or 'EXCLUDE = 'EXCLUDE' if it is the exclude scenario).&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 19:42:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Another-automation-question-the-VB-net-side-isn-t-able-to-read/m-p/679584#M36868</guid>
      <dc:creator>saslover15</dc:creator>
      <dc:date>2020-08-26T19:42:31Z</dc:date>
    </item>
  </channel>
</rss>

