<?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 Reading raw data separated by semicolons in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Reading-raw-data-separated-by-semicolons/m-p/279833#M56438</link>
    <description>&lt;P&gt;I have raw data consisting of a long string of numbers separated by semicolons. Like this:&lt;/P&gt;
&lt;P&gt;1; 2; 3; 4; 5; …&lt;/P&gt;
&lt;P&gt;I don’t know the number of values in advance.&lt;/P&gt;
&lt;P&gt;I’d like to read these in using a data step and create one observation per value.&lt;/P&gt;
&lt;P&gt;I’ve looked at several examples of using the input statement, but nothing works the way I would like it to.&lt;/P&gt;
&lt;P&gt;Anyone have a suggestion?&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jun 2016 20:02:12 GMT</pubDate>
    <dc:creator>TedShelly</dc:creator>
    <dc:date>2016-06-23T20:02:12Z</dc:date>
    <item>
      <title>Reading raw data separated by semicolons</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-raw-data-separated-by-semicolons/m-p/279833#M56438</link>
      <description>&lt;P&gt;I have raw data consisting of a long string of numbers separated by semicolons. Like this:&lt;/P&gt;
&lt;P&gt;1; 2; 3; 4; 5; …&lt;/P&gt;
&lt;P&gt;I don’t know the number of values in advance.&lt;/P&gt;
&lt;P&gt;I’d like to read these in using a data step and create one observation per value.&lt;/P&gt;
&lt;P&gt;I’ve looked at several examples of using the input statement, but nothing works the way I would like it to.&lt;/P&gt;
&lt;P&gt;Anyone have a suggestion?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 20:02:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-raw-data-separated-by-semicolons/m-p/279833#M56438</guid>
      <dc:creator>TedShelly</dc:creator>
      <dc:date>2016-06-23T20:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Reading raw data separated by semicolons</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-raw-data-separated-by-semicolons/m-p/279835#M56439</link>
      <description>&lt;P&gt;You can use double trailing&amp;nbsp;@ to read multiple obs from one record.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data a;
   infile cards4 dsd dlm=';';
   input v @@;
   cards4;
1; 2; 3; 4; 5; 
;;;;
   run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Jun 2016 20:09:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-raw-data-separated-by-semicolons/m-p/279835#M56439</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2016-06-23T20:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Reading raw data separated by semicolons</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-raw-data-separated-by-semicolons/m-p/279846#M56446</link>
      <description>&lt;P&gt;That's a good approach.&amp;nbsp; You might find it necessary to include blanks as delimiters as well:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;dlm='; '&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 20:28:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-raw-data-separated-by-semicolons/m-p/279846#M56446</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2016-06-23T20:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Reading raw data separated by semicolons</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-raw-data-separated-by-semicolons/m-p/279868#M56458</link>
      <description>&lt;P&gt;This is very cool, thanks.&amp;nbsp; I had forgotten all about @@.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 22:59:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-raw-data-separated-by-semicolons/m-p/279868#M56458</guid>
      <dc:creator>TedShelly</dc:creator>
      <dc:date>2016-06-23T22:59:39Z</dc:date>
    </item>
  </channel>
</rss>

