<?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: Error exporting to SAS using task scheduler? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Error-exporting-to-SAS-using-task-scheduler/m-p/735800#M229215</link>
    <description>&lt;P&gt;This definitely looks like a data issue.&lt;/P&gt;
&lt;P&gt;The odd part is that the issue does not arise when running the program manually.&lt;/P&gt;
&lt;P&gt;Can it be reliably be repeated if the batch program is run several time?&lt;/P&gt;
&lt;P&gt;Does &lt;STRONG&gt;all&lt;/STRONG&gt; the data look OK when the import is manual?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I were you, I'd try to find which data causes that issue.&lt;/P&gt;
&lt;P&gt;Several ways to do this: by growing the number of lines read until the suspicious data triggers the error, or by running a thorough cell validation in Excel.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Apr 2021 22:50:17 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2021-04-20T22:50:17Z</dc:date>
    <item>
      <title>Error exporting to SAS using task scheduler?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-exporting-to-SAS-using-task-scheduler/m-p/735571#M229147</link>
      <description>&lt;P&gt;I'm trying to export a SAS dataset as an Excel file; this process is scheduled using Task Scheduler.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Occasionally, I'll get the following error, and the file will either not export or not finish exporting--ending up in a corrupt file. Running the code manually doesn't appear to have this issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;WARNING: During insert: : Data value was not sent for column. Coll_Dt&lt;BR /&gt;WARNING: During insert: : Data value was not sent for column. Coll_Dt&lt;BR /&gt;WARNING: The data set _IMEX_.Collected_DATE may be incomplete. When this step was &lt;BR /&gt;stopped there were 788585 observations and 16 variables.&lt;BR /&gt;ERROR: ROLLBACK issued due to errors for data set _IMEX_.Collected_DATE.&lt;BR /&gt;ERROR: User asked for termination&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE EXPORT used (Total process time):&lt;BR /&gt;real time 15:35.08&lt;BR /&gt;cpu time 14:05.43&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Someone I work with suggested it's because a data variable in the original dataset might contain a date before 01/01/1900, but when I went through the dataset, I didn't find anything earlier than January 2021.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas or guidance to solve this would be helpful.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 14:25:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-exporting-to-SAS-using-task-scheduler/m-p/735571#M229147</guid>
      <dc:creator>SAS93</dc:creator>
      <dc:date>2021-04-20T14:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Error exporting to SAS using task scheduler?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-exporting-to-SAS-using-task-scheduler/m-p/735800#M229215</link>
      <description>&lt;P&gt;This definitely looks like a data issue.&lt;/P&gt;
&lt;P&gt;The odd part is that the issue does not arise when running the program manually.&lt;/P&gt;
&lt;P&gt;Can it be reliably be repeated if the batch program is run several time?&lt;/P&gt;
&lt;P&gt;Does &lt;STRONG&gt;all&lt;/STRONG&gt; the data look OK when the import is manual?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I were you, I'd try to find which data causes that issue.&lt;/P&gt;
&lt;P&gt;Several ways to do this: by growing the number of lines read until the suspicious data triggers the error, or by running a thorough cell validation in Excel.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 22:50:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-exporting-to-SAS-using-task-scheduler/m-p/735800#M229215</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-04-20T22:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error exporting to SAS using task scheduler?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-exporting-to-SAS-using-task-scheduler/m-p/735801#M229216</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;nbsp;When this step was&amp;nbsp;stopped there were 788585 observations and 16 variables.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;That's a starting point. Focus your investigation there. What's different?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 22:51:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-exporting-to-SAS-using-task-scheduler/m-p/735801#M229216</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-04-20T22:51:45Z</dc:date>
    </item>
  </channel>
</rss>

