<?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 Invalid Numeric Data in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Invalid-Numeric-Data/m-p/50068#M13604</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will need to convert the character string into a date value.&lt;/P&gt;&lt;P&gt;You can do this with the INPUT function.&amp;nbsp; Which format to use will depend on the format of the characters that are in the scheduled_date variable.&lt;/P&gt;&lt;P&gt;Once you have figured that out then you can create a boolean variable using a statement like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;match = (date1 = input(scheduled_date,date10.) );&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Feb 2012 11:53:26 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2012-02-09T11:53:26Z</dc:date>
    <item>
      <title>Invalid Numeric Data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Invalid-Numeric-Data/m-p/50067#M13603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a Data step that subtracts&amp;nbsp; one date from another&amp;nbsp; the differ than is match&amp;nbsp; to if it was done on correct date.&lt;/P&gt;&lt;P&gt;Data Test1;&lt;/P&gt;&lt;P&gt;Set Test1;&lt;/P&gt;&lt;P&gt;date1= date2-date3;&lt;/P&gt;&lt;P&gt;Put "differ in" Date1;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;The second data step is&lt;/P&gt;&lt;P&gt;Date1 - Scheduled date which if it matches than its a yes if it doesn't than its a No.&lt;/P&gt;&lt;P&gt;The Scheduled date is format with informant 10$ &lt;/P&gt;&lt;P&gt;How can I convert to date ?&amp;nbsp; &lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 08:41:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Invalid-Numeric-Data/m-p/50067#M13603</guid>
      <dc:creator>BETO</dc:creator>
      <dc:date>2012-02-09T08:41:08Z</dc:date>
    </item>
    <item>
      <title>Invalid Numeric Data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Invalid-Numeric-Data/m-p/50068#M13604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will need to convert the character string into a date value.&lt;/P&gt;&lt;P&gt;You can do this with the INPUT function.&amp;nbsp; Which format to use will depend on the format of the characters that are in the scheduled_date variable.&lt;/P&gt;&lt;P&gt;Once you have figured that out then you can create a boolean variable using a statement like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;match = (date1 = input(scheduled_date,date10.) );&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 11:53:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Invalid-Numeric-Data/m-p/50068#M13604</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2012-02-09T11:53:26Z</dc:date>
    </item>
    <item>
      <title>Invalid Numeric Data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Invalid-Numeric-Data/m-p/50069#M13605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; This is my data step.&amp;nbsp; The 2nd data step&amp;nbsp; is the issue&amp;nbsp; where I try to format date to mmddyy8. whats in the column is 02/06/2012 it doesn't read it as date.I tried your suggestionI might be inserting it wrong no results... Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal"&gt;&lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;data&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; Table1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal"&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; table1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal"&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;Scheduled_Settle=reportdate1-days;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal"&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;put&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple; font-size: 10pt;"&gt;"diffrence in"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; Scheduled_Settle;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal"&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;PUT&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; scheduled_Settle &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: teal; font-size: 10pt;"&gt;MMDDYY8.&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal"&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal"&gt;&lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;data&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; table1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal"&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; table1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal"&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;date=(SETTLEMENT);&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal"&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;format&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; date &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: teal; font-size: 10pt;"&gt;mmddyy8.&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal"&gt;&lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal"&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal"&gt;&lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;data&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; table1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal"&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; table1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal"&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;FORMAT&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; ON_SCHEDULE &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: teal; font-size: 10pt;"&gt;$5.&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal"&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;length&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; On_schedule &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: teal; font-size: 10pt;"&gt;$5.&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal"&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;ON_SCHEDULE = &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple; font-size: 10pt;"&gt;'FALSE'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal"&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; date=Scheduled_Settle &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;THEN&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; ON_SCHEDULE=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple; font-size: 10pt;"&gt;'TRUE'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal"&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; DEPPULLDAYS =&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple; font-size: 10pt;"&gt;'Other'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;Then&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&amp;nbsp; ON_SCHEDULE=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple; font-size: 10pt;"&gt;'FALSE'&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 15:26:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Invalid-Numeric-Data/m-p/50069#M13605</guid>
      <dc:creator>BETO</dc:creator>
      <dc:date>2012-02-09T15:26:20Z</dc:date>
    </item>
    <item>
      <title>Invalid Numeric Data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Invalid-Numeric-Data/m-p/50070#M13606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide at least a sample of records from table1?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 15:31:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Invalid-Numeric-Data/m-p/50070#M13606</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-02-09T15:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Numeric Data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Invalid-Numeric-Data/m-p/50071#M13607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is SETTLEMENT character or numeric? If it is character, just setting a date format won't convert it to a date. As Tom said, you would need something like&lt;/P&gt;&lt;P&gt; date=input(settlement,mmddyy8.);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 15:36:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Invalid-Numeric-Data/m-p/50071#M13607</guid>
      <dc:creator>DouglasMartin</dc:creator>
      <dc:date>2012-02-09T15:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Numeric Data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Invalid-Numeric-Data/m-p/50072#M13608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the value of SETTLEMENT is the text string '02/06/2012' and that means 06FEB2012 then you should use MMDDYY informat to convert to a date.&lt;/P&gt;&lt;P&gt;You do not need to keep going back through the data to make the transformations.&amp;nbsp; Until you get it working avoid overwritting the existing file.&lt;/P&gt;&lt;P&gt;Try something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal" style="background-color: #eef4f9;"&gt;&lt;STRONG style="background-color: white; font-size: 10pt; color: navy; font-family: 'Courier New';"&gt;data&lt;/STRONG&gt;&lt;SPAN style="background-color: white; font-size: 10pt; font-family: 'Courier New'; color: black;"&gt; Table1_new;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal" style="background-color: #eef4f9;"&gt;&lt;SPAN style="background-color: white; font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;&amp;nbsp; set&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-size: 10pt; font-family: 'Courier New'; color: black;"&gt; table1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; background-color: white; font-family: 'Courier New'; color: blue;"&gt;&amp;nbsp; length&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background-color: white; font-family: 'Courier New'; color: black;"&gt; date 8 On_schedule &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background-color: white; font-family: 'Courier New'; color: teal;"&gt;$5&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background-color: white; font-family: 'Courier New'; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal" style="background-color: #eef4f9;"&gt;&lt;SPAN style="background-color: white; color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp; Scheduled_Settle=reportdate1-days;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal" style="background-color: #eef4f9;"&gt;&lt;SPAN style="background-color: white; color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp; date=input(SETTLEMENT,mmddyy10.);&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal" style="background-color: #eef4f9; min-height: 8pt; height: 8pt;"&gt;&lt;SPAN style="background-color: white; font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;&amp;nbsp; format&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-size: 10pt; font-family: 'Courier New'; color: black;"&gt; reportdate1 scheduled_settle date &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-size: 10pt; font-family: 'Courier New'; color: teal;"&gt;mmddyy8.&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-size: 10pt; font-family: 'Courier New'; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal" style="background-color: #eef4f9;"&gt;&lt;SPAN style="background-color: white; font-size: 10pt; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp; ON_SCHEDULE = &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-size: 10pt; font-family: 'Courier New'; color: purple;"&gt;'FALSE'&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-size: 10pt; font-family: 'Courier New'; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal" style="background-color: #eef4f9;"&gt;&lt;SPAN style="background-color: white; font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;&amp;nbsp; if&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-size: 10pt; font-family: 'Courier New'; color: black;"&gt; date=Scheduled_Settle &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;THEN&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-size: 10pt; font-family: 'Courier New'; color: black;"&gt; ON_SCHEDULE=&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-size: 10pt; font-family: 'Courier New'; color: purple;"&gt;'TRUE'&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-size: 10pt; font-family: 'Courier New'; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal" style="background-color: #eef4f9;"&gt;&lt;SPAN style="background-color: white; font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;&amp;nbsp; if&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-size: 10pt; font-family: 'Courier New'; color: black;"&gt; DEPPULLDAYS =&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-size: 10pt; font-family: 'Courier New'; color: purple;"&gt;'Other'&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-size: 10pt; font-family: 'Courier New'; color: black;"&gt; &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;Then&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-size: 10pt; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp; ON_SCHEDULE=&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-size: 10pt; font-family: 'Courier New'; color: purple;"&gt;'FALSE';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put (reportdate1 days scheduled_settle deppulldays date on_schedule) (=);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 15:42:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Invalid-Numeric-Data/m-p/50072#M13608</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2012-02-09T15:42:11Z</dc:date>
    </item>
    <item>
      <title>Invalid Numeric Data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Invalid-Numeric-Data/m-p/50073#M13609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Tom,&lt;/P&gt;&lt;P&gt;It worked thank you so much ... I stayed up all night cracking my head on this ... Could you explain how it worked?&amp;nbsp; In layman's terms ... Again Thank you &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 17:21:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Invalid-Numeric-Data/m-p/50073#M13609</guid>
      <dc:creator>BETO</dc:creator>
      <dc:date>2012-02-09T17:21:37Z</dc:date>
    </item>
    <item>
      <title>Invalid Numeric Data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Invalid-Numeric-Data/m-p/50074#M13610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The only statement that is doing anything non-obvious is the INPUT function.&amp;nbsp; What it is doing is converting the string of characters stored in the text variable SETTLEMENT into the number that SAS uses to store the equivalent date.&amp;nbsp; The particular informat that I used is for dates in the format MM/DD/YYYY.&amp;nbsp;&amp;nbsp; If your text strings were in a different format then you would need to use a different informat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FORMAT statement is also important as it will allow you to understand the meaning of the numbers stored in the date variables. SAS actually stores dates as the number of days since 1/1/1960.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So SAS will create the new dataset Table1_New be reading in observations from the existing dataset TABLE1.&lt;/P&gt;&lt;P&gt;For each observation it will do these steps:&lt;/P&gt;&lt;P&gt;- Calculate Scheduled_settle as the day that is DAYS before ReportDate1.&lt;/P&gt;&lt;P&gt;- create the numeric variable DATE by decoding the string in the variable SETTLEMENT.&lt;/P&gt;&lt;P&gt;The logic for creating ON_SCHEDULE is just as you already had.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 19:01:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Invalid-Numeric-Data/m-p/50074#M13610</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2012-02-09T19:01:23Z</dc:date>
    </item>
  </channel>
</rss>

