<?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: In Rubmit parallel processing can call sas code by uisng %include and status in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/In-Rubmit-parallel-processing-can-call-sas-code-by-uisng-include/m-p/896939#M354442</link>
    <description>&lt;P&gt;The STATUS= option is not a valid option for %INCLUDE, that's probably why you get the error. Where did you see that option?&lt;/P&gt;</description>
    <pubDate>Tue, 03 Oct 2023 13:28:01 GMT</pubDate>
    <dc:creator>s_lassen</dc:creator>
    <dc:date>2023-10-03T13:28:01Z</dc:date>
    <item>
      <title>In Rubmit parallel processing can call sas code by uisng %include and status</title>
      <link>https://communities.sas.com/t5/SAS-Programming/In-Rubmit-parallel-processing-can-call-sas-code-by-uisng-include/m-p/896934#M354437</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm having below code, but getting error by using % include statment for calling sas code, where i'm using status to get status of process. Help is appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;options sascmd="sas";&lt;/P&gt;
&lt;P&gt;signon Ora1;&lt;BR /&gt;rsubmit Ora1 wait=no;&lt;BR /&gt;%include '/sasdata/cro_rte/user_libs/crm_prod/aasbon/systask/BT_Fraud_Model_Driver1/Ora1.sas' status=auths;&lt;BR /&gt;%put &amp;amp;auths.;&lt;BR /&gt;endrsubmit;&lt;/P&gt;
&lt;P&gt;signon Ora2;&lt;BR /&gt;rsubmit Ora2 wait=no;&lt;BR /&gt;%include '/sasdata/cro_rte/user_libs/crm_prod/aasbon/systask/BT_Fraud_Model_Driver1/Ora2.sas' status=trgrs;&lt;BR /&gt;%put &amp;amp;trgrs.;&lt;/P&gt;
&lt;P&gt;endrsubmit;&lt;BR /&gt;waitfor _all_;&lt;BR /&gt;signoff _all_;&lt;/P&gt;
&lt;P&gt;data _null_;&lt;BR /&gt;if ((&amp;amp;auths &amp;gt; 4) or (&amp;amp;trgrs &amp;gt; 4)) then do;&lt;BR /&gt;if &amp;amp;auths &amp;gt; 4 then do;&lt;BR /&gt;putlog 'ERROR occured during the execution of Ora1.sas';&lt;BR /&gt;abort cancel;&lt;BR /&gt;end;&lt;BR /&gt;if &amp;amp;trgrs &amp;gt; 4 then do;&lt;BR /&gt;putlog 'ERROR occured during the execution of Ora2.sas';&lt;BR /&gt;abort cancel;&lt;BR /&gt;end;&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Error:-&lt;/P&gt;
&lt;P&gt;ERROR: Incorrect %INCLUDE statement will not be executed. There is a syntax error.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Kenneth.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2023 13:11:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/In-Rubmit-parallel-processing-can-call-sas-code-by-uisng-include/m-p/896934#M354437</guid>
      <dc:creator>Asbon</dc:creator>
      <dc:date>2023-10-03T13:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: In Rubmit parallel processing can call sas code by uisng %include and status</title>
      <link>https://communities.sas.com/t5/SAS-Programming/In-Rubmit-parallel-processing-can-call-sas-code-by-uisng-include/m-p/896939#M354442</link>
      <description>&lt;P&gt;The STATUS= option is not a valid option for %INCLUDE, that's probably why you get the error. Where did you see that option?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2023 13:28:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/In-Rubmit-parallel-processing-can-call-sas-code-by-uisng-include/m-p/896939#M354442</guid>
      <dc:creator>s_lassen</dc:creator>
      <dc:date>2023-10-03T13:28:01Z</dc:date>
    </item>
  </channel>
</rss>

