<?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 while running a basic code using Windows task Scheduler in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Error-while-running-a-basic-code-using-Windows-task-Scheduler/m-p/528239#M144138</link>
    <description>No. there is blank space after Mar-13</description>
    <pubDate>Fri, 18 Jan 2019 04:42:03 GMT</pubDate>
    <dc:creator>karthikraop</dc:creator>
    <dc:date>2019-01-18T04:42:03Z</dc:date>
    <item>
      <title>Error while running a basic code using Windows task Scheduler</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-while-running-a-basic-code-using-Windows-task-Scheduler/m-p/528230#M144131</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run the following code in SAS, it is giving me no errors but when I run the same code using windows task scheduler I am getting errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data pdata;&lt;BR /&gt;input Month$ Num Den;&lt;BR /&gt;datalines;&lt;BR /&gt;Jan-13 11 37&lt;BR /&gt;Feb-13 21 39&lt;BR /&gt;Mar-13 15 32&lt;BR /&gt;Apr-13 24 43&lt;BR /&gt;May-13 21 31&lt;BR /&gt;Jun-13 19 35&lt;BR /&gt;Jul-13 17 43&lt;BR /&gt;Aug-13 15 34&lt;BR /&gt;Sep-13 11 28&lt;BR /&gt;Oct-13 16 29&lt;BR /&gt;Nov-13 16 30&lt;BR /&gt;Dec-13 15 30&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the error message I am getting when using task scheduler.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data pdata;&lt;BR /&gt;3 input Month$ Num Den;&lt;BR /&gt;4 datalines;&lt;/P&gt;&lt;P&gt;NOTE: Invalid data for Num in line 6 1-12.&lt;BR /&gt;NOTE: Invalid data for Den in line 7 1-12.&lt;BR /&gt;RULE: ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----&lt;/P&gt;&lt;P&gt;7 CHAR Mar-13.15.32&lt;BR /&gt;ZONE 46723303303322222222222222222222222222222222222222222222222222222222222222222222&lt;BR /&gt;NUMR D12D1391593200000000000000000000000000000000000000000000000000000000000000000000&lt;BR /&gt;NOTE: Invalid data errors for file CARDS occurred outside the printed range.&lt;BR /&gt;NOTE: Increase available buffer lines with the INFILE n= option.&lt;BR /&gt;Month=Jan-13 1 Num=. Den=. _ERROR_=1 _N_=1&lt;BR /&gt;NOTE: Invalid data for Num in line 9 1-12.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Karthik.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 03:41:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-while-running-a-basic-code-using-Windows-task-Scheduler/m-p/528230#M144131</guid>
      <dc:creator>karthikraop</dc:creator>
      <dc:date>2019-01-18T03:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running a basic code using Windows task Scheduler</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-while-running-a-basic-code-using-Windows-task-Scheduler/m-p/528233#M144134</link>
      <description>&lt;P&gt;Why is there a dot after&amp;nbsp;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;Mar-13&lt;/FONT&gt; ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 04:50:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-while-running-a-basic-code-using-Windows-task-Scheduler/m-p/528233#M144134</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-01-18T04:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running a basic code using Windows task Scheduler</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-while-running-a-basic-code-using-Windows-task-Scheduler/m-p/528239#M144138</link>
      <description>No. there is blank space after Mar-13</description>
      <pubDate>Fri, 18 Jan 2019 04:42:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-while-running-a-basic-code-using-Windows-task-Scheduler/m-p/528239#M144138</guid>
      <dc:creator>karthikraop</dc:creator>
      <dc:date>2019-01-18T04:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running a basic code using Windows task Scheduler</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-while-running-a-basic-code-using-Windows-task-Scheduler/m-p/528242#M144141</link>
      <description>&lt;P&gt;No there isn't a space there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have to look at the log more carefully.&lt;/P&gt;
&lt;P&gt;It shows you have a tab (hexadecimal code 09).&lt;/P&gt;
&lt;P&gt;Clean your data.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;RULE: ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;CHAR Mar-13&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;.&lt;/FONT&gt;&lt;/STRONG&gt;15&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;.&lt;/FONT&gt;&lt;/STRONG&gt;32&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ZONE 467233&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/FONT&gt;33&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt;3322222222222222222222222222222222222222222222222222222222222222222222&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;NUMR D12D13&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;9&lt;/STRONG&gt;&lt;/FONT&gt;15&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;9&lt;/FONT&gt;&lt;/STRONG&gt;3200000000000000000000000000000000000000000000000000000000000000000000&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;[Edited: formatting]&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Jan 2019 06:01:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-while-running-a-basic-code-using-Windows-task-Scheduler/m-p/528242#M144141</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-01-19T06:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running a basic code using Windows task Scheduler</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-while-running-a-basic-code-using-Windows-task-Scheduler/m-p/528265#M144159</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/243584"&gt;@karthikraop&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;No. there is blank space after Mar-13&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Read your log again:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data pdata;
3 input Month$ Num Den;
4 datalines;

NOTE: Invalid data for Num in line 6 1-12.
NOTE: Invalid data for Den in line 7 1-12.
RULE: ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----

7 CHAR Mar-13.15.32
ZONE 46723303303322222222222222222222222222222222222222222222222222222222222222222222
NUMR D12D1391593200000000000000000000000000000000000000000000000000000000000000000000
NOTE: Invalid data errors for file CARDS occurred outside the printed range.
NOTE: Increase available buffer lines with the INFILE n= option.
Month=Jan-13 1 Num=. Den=. _ERROR_=1 _N_=1
NOTE: Invalid data for Num in line 9 1-12.&lt;/PRE&gt;
&lt;P&gt;The dots in the log are used to represent non-displayable characters, in this case tabs. Tabs can be used as delimiters, but then you should use an infile statement with the proper delimiter:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;infile datalines dlm='09'x;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Tabs are displayed as one or more &lt;EM&gt;blanks&lt;/EM&gt; in the program editor; it is always a good idea (IMO) to set the Enhanced Editor to not use tabs, and expand all tabs on input to the proper number of blanks. The resulting code in files is then safe across different execution environments.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 08:27:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-while-running-a-basic-code-using-Windows-task-Scheduler/m-p/528265#M144159</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-01-18T08:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running a basic code using Windows task Scheduler</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-while-running-a-basic-code-using-Windows-task-Scheduler/m-p/528345#M144189</link>
      <description>&lt;P&gt;A hint on reading your log. the following line in your errors:&lt;/P&gt;
&lt;PRE&gt;Month=Jan-13 1 Num=. Den=. _ERROR_=1 _N_=1
&lt;/PRE&gt;
&lt;P&gt;Shows the value of Month as read to be "Jan-13 1". Note that means that your code read the first part of Num into the Month variable. So that tells you have at least one issue with the way your input is working. Since the remaining 1 of 11 was NOT read into the variable Num that indicates the character following the second 1 was not interpreted as value separator, i.e. blank, and continue reading the data looking for a blank to end the current value. The error occurs because "1 37" is not a valid numeric value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These&lt;/P&gt;
&lt;PRE&gt;NOTE: Invalid data for Num in line 6 1-12.
NOTE: Invalid data for Den in line 7 1-12.&lt;/PRE&gt;
&lt;P&gt;tell that Num and Den&amp;nbsp;were attempting to be read from column 1 through 12 (your entire line) AND on different lines.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Second, a hint on using the forum more effectively: Post code and log text into a code box opened with the forums {I} icon, or the "running man" icon. The main message windows will reformat text, which you may see if you use code indentation, and the font by default is proportional. So text such as error message indicators which often place underscores under the line of code will not appear correctly unless in a code box.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 15:35:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-while-running-a-basic-code-using-Windows-task-Scheduler/m-p/528345#M144189</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-01-18T15:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running a basic code using Windows task Scheduler</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-while-running-a-basic-code-using-Windows-task-Scheduler/m-p/528363#M144198</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/243584"&gt;@karthikraop&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I run the following code in SAS, it is giving me no errors but when I run the same code using windows task scheduler I am getting errors.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data pdata;&lt;BR /&gt;input Month$ Num Den;&lt;BR /&gt;datalines;&lt;BR /&gt;Jan-13 11 37&lt;BR /&gt;Feb-13 21 39&lt;BR /&gt;Mar-13 15 32&lt;BR /&gt;Apr-13 24 43&lt;BR /&gt;May-13 21 31&lt;BR /&gt;Jun-13 19 35&lt;BR /&gt;Jul-13 17 43&lt;BR /&gt;Aug-13 15 34&lt;BR /&gt;Sep-13 11 28&lt;BR /&gt;Oct-13 16 29&lt;BR /&gt;Nov-13 16 30&lt;BR /&gt;Dec-13 15 30&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the error message I am getting when using task scheduler.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data pdata;&lt;BR /&gt;3 input Month$ Num Den;&lt;BR /&gt;4 datalines;&lt;/P&gt;
&lt;P&gt;NOTE: Invalid data for Num in line 6 1-12.&lt;BR /&gt;NOTE: Invalid data for Den in line 7 1-12.&lt;BR /&gt;RULE: ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----&lt;/P&gt;
&lt;P&gt;7 CHAR Mar-13.15.32&lt;BR /&gt;ZONE 46723303303322222222222222222222222222222222222222222222222222222222222222222222&lt;BR /&gt;NUMR D12D1391593200000000000000000000000000000000000000000000000000000000000000000000&lt;BR /&gt;NOTE: Invalid data errors for file CARDS occurred outside the printed range.&lt;BR /&gt;NOTE: Increase available buffer lines with the INFILE n= option.&lt;BR /&gt;Month=Jan-13 1 Num=. Den=. _ERROR_=1 _N_=1&lt;BR /&gt;NOTE: Invalid data for Num in line 9 1-12.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help me out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks,&lt;/P&gt;
&lt;P&gt;Karthik.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Specify tabs as your delimiter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data pdata;
infile cards dlm='09'x;
input Month$ Num Den;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 18 Jan 2019 16:24:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-while-running-a-basic-code-using-Windows-task-Scheduler/m-p/528363#M144198</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-18T16:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running a basic code using Windows task Scheduler</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-while-running-a-basic-code-using-Windows-task-Scheduler/m-p/528428#M144226</link>
      <description>Hello Ballard,&lt;BR /&gt;&lt;BR /&gt;thanks for the hint on effective use of forum.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Karthik.</description>
      <pubDate>Fri, 18 Jan 2019 19:32:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-while-running-a-basic-code-using-Windows-task-Scheduler/m-p/528428#M144226</guid>
      <dc:creator>karthikraop</dc:creator>
      <dc:date>2019-01-18T19:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running a basic code using Windows task Scheduler</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-while-running-a-basic-code-using-Windows-task-Scheduler/m-p/528431#M144228</link>
      <description>Hello Kurt,&lt;BR /&gt;&lt;BR /&gt;thank you very much for your response. your suggestion worked for me.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Karthik.</description>
      <pubDate>Fri, 18 Jan 2019 19:37:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-while-running-a-basic-code-using-Windows-task-Scheduler/m-p/528431#M144228</guid>
      <dc:creator>karthikraop</dc:creator>
      <dc:date>2019-01-18T19:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running a basic code using Windows task Scheduler</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-while-running-a-basic-code-using-Windows-task-Scheduler/m-p/528434#M144229</link>
      <description>Hello Reeza,&lt;BR /&gt;&lt;BR /&gt;thank you for your response. I have added Missover next to dlm='09'x in my code then it worked for me.&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;Karthik.</description>
      <pubDate>Fri, 18 Jan 2019 19:39:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-while-running-a-basic-code-using-Windows-task-Scheduler/m-p/528434#M144229</guid>
      <dc:creator>karthikraop</dc:creator>
      <dc:date>2019-01-18T19:39:15Z</dc:date>
    </item>
  </channel>
</rss>

