<?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: Could not Read the below data into the SAS Data Set in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Could-not-Read-the-below-data-into-the-SAS-Data-Set/m-p/176668#M33840</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;Do you want the entire value in single variable ???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Apr 2014 06:48:45 GMT</pubDate>
    <dc:creator>SKK</dc:creator>
    <dc:date>2014-04-11T06:48:45Z</dc:date>
    <item>
      <title>Could not Read the below data into the SAS Data Set</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Could-not-Read-the-below-data-into-the-SAS-Data-Set/m-p/176667#M33839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;182-04-7814ASPDEN530&lt;/P&gt;&lt;P&gt;302-57-5023ATWOOD480&lt;/P&gt;&lt;P&gt;123-89-8470BROSNAN560&lt;/P&gt;&lt;P&gt;152-64-0014BROSSO780&lt;/P&gt;&lt;P&gt;813-63-7456CUTCHINS790&lt;/P&gt;&lt;P&gt;186-79-3143HOLERBACH670&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you:)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 04:30:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Could-not-Read-the-below-data-into-the-SAS-Data-Set/m-p/176667#M33839</guid>
      <dc:creator>Chikku</dc:creator>
      <dc:date>2014-04-11T04:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Could not Read the below data into the SAS Data Set</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Could-not-Read-the-below-data-into-the-SAS-Data-Set/m-p/176668#M33840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;Do you want the entire value in single variable ???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 06:48:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Could-not-Read-the-below-data-into-the-SAS-Data-Set/m-p/176668#M33840</guid>
      <dc:creator>SKK</dc:creator>
      <dc:date>2014-04-11T06:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Could not Read the below data into the SAS Data Set</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Could-not-Read-the-below-data-into-the-SAS-Data-Set/m-p/176669#M33841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's straightforward:&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; attrib var1 format=$200.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infile datalines;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input var1 $;&lt;/P&gt;&lt;P&gt;datalines;&lt;/P&gt;&lt;P&gt;182-04-7814ASPDEN530&lt;/P&gt;&lt;P&gt;302-57-5023ATWOOD480&lt;/P&gt;&lt;P&gt;123-89-8470BROSNAN560&lt;/P&gt;&lt;P&gt;152-64-0014BROSSO780&lt;/P&gt;&lt;P&gt;813-63-7456CUTCHINS790&lt;/P&gt;&lt;P&gt;186-79-3143HOLERBACH670&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though I presume you mean you want to read it in as separate variables?&amp;nbsp; If so post process it, here is a quick example, you just need to do substrings and chop it up (or use perl regular expressions).&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set want;&lt;/P&gt;&lt;P&gt;&amp;nbsp; attrib first_string second_string format=$20. lastnum format=best.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; first_string=substr(var1,1,10);&lt;/P&gt;&lt;P&gt;&amp;nbsp; lastnum=input(reverse(substr(reverse(strip(var1)),1,3)),best.);&lt;/P&gt;&lt;P&gt;&amp;nbsp; second_string=substr(var1,11,length(strip(var1))-3);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 08:22:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Could-not-Read-the-below-data-into-the-SAS-Data-Set/m-p/176669#M33841</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-04-11T08:22:12Z</dc:date>
    </item>
  </channel>
</rss>

