<?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 Schedule error while successful tests in DIS in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Schedule-error-while-successful-tests-in-DIS/m-p/470682#M14737</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a data job that runs ok in DIS, when executed over and over again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I'm trying to schedule it but some errors come up, that are completely new. Please see attached the log that I obtain from the server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The very first error that appears in the log is the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How come an error show up with the schedule if the executions in DIS show no problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know your thoughts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;</description>
    <pubDate>Fri, 15 Jun 2018 19:20:03 GMT</pubDate>
    <dc:creator>mchiappe83</dc:creator>
    <dc:date>2018-06-15T19:20:03Z</dc:date>
    <item>
      <title>Schedule error while successful tests in DIS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Schedule-error-while-successful-tests-in-DIS/m-p/470682#M14737</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a data job that runs ok in DIS, when executed over and over again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I'm trying to schedule it but some errors come up, that are completely new. Please see attached the log that I obtain from the server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The very first error that appears in the log is the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How come an error show up with the schedule if the executions in DIS show no problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know your thoughts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 19:20:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Schedule-error-while-successful-tests-in-DIS/m-p/470682#M14737</guid>
      <dc:creator>mchiappe83</dc:creator>
      <dc:date>2018-06-15T19:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Schedule error while successful tests in DIS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Schedule-error-while-successful-tests-in-DIS/m-p/470705#M14742</link>
      <description>&lt;P&gt;The problem appears to be that a macro isn't being found. I suspect there's some difference in the environment where you're trying to run now and the one where it used to work that a macro library isn't available, or the SAS options have changed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 20:31:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Schedule-error-while-successful-tests-in-DIS/m-p/470705#M14742</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2018-06-15T20:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: Schedule error while successful tests in DIS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Schedule-error-while-successful-tests-in-DIS/m-p/470846#M14758</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/205100"&gt;@mchiappe83&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;If you chose for your job "Collect Runtime Statistics" then the macro definition for&amp;nbsp; %etls_setPerfInit; gets directly generated into the code for the DIS job.&lt;/P&gt;
&lt;P&gt;If "&lt;SPAN&gt;Collect Runtime Statistics&lt;/SPAN&gt;" hasn't been chosen then this macro gets neither defined nor used in the generated code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you've got code which uses the macro without it being defined in the same job code then I'd assume that "someone" modified the code after deploying the job.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To fix this:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Redeploy your DIS job.&lt;/P&gt;
&lt;P&gt;2. Make sure that the scheduler uses the deployment object which you've used to redeploy your job&lt;/P&gt;
&lt;P&gt;3. Rerun code via scheduler.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let us know if this resolved your problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jun 2018 04:23:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Schedule-error-while-successful-tests-in-DIS/m-p/470846#M14758</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2018-06-17T04:23:28Z</dc:date>
    </item>
  </channel>
</rss>

