<?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 how to read data set from raw data set which variable has blank? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-read-data-set-from-raw-data-set-which-variable-has-blank/m-p/726902#M225954</link>
    <description>&lt;P&gt;The following is the raw data set in a txt file , suppose there are two variable , one is named ID, the other is named Name . I want to read the data set , how should I do ? Thank you.&lt;/P&gt;
&lt;P&gt;1 Nay Rong&lt;BR /&gt;2 Kelly Windsor&lt;BR /&gt;3 Julio Meraz&lt;BR /&gt;4 Richard Krabill&lt;/P&gt;</description>
    <pubDate>Tue, 16 Mar 2021 20:35:48 GMT</pubDate>
    <dc:creator>tianerhu</dc:creator>
    <dc:date>2021-03-16T20:35:48Z</dc:date>
    <item>
      <title>how to read data set from raw data set which variable has blank?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-read-data-set-from-raw-data-set-which-variable-has-blank/m-p/726902#M225954</link>
      <description>&lt;P&gt;The following is the raw data set in a txt file , suppose there are two variable , one is named ID, the other is named Name . I want to read the data set , how should I do ? Thank you.&lt;/P&gt;
&lt;P&gt;1 Nay Rong&lt;BR /&gt;2 Kelly Windsor&lt;BR /&gt;3 Julio Meraz&lt;BR /&gt;4 Richard Krabill&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 20:35:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-read-data-set-from-raw-data-set-which-variable-has-blank/m-p/726902#M225954</guid>
      <dc:creator>tianerhu</dc:creator>
      <dc:date>2021-03-16T20:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to read data set from raw data set which variable has blank?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-read-data-set-from-raw-data-set-which-variable-has-blank/m-p/726906#M225956</link>
      <description>&lt;P&gt;This works for me:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
infile cards;
input ID Name $50.;
cards;
1 Nay Rong
2 Kelly Windsor
3 Julio Meraz
4 Richard Krabill
;;;;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/268447"&gt;@tianerhu&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;The following is the raw data set in a txt file , suppose there are two variable , one is named ID, the other is named Name . I want to read the data set , how should I do ? Thank you.&lt;/P&gt;
&lt;P&gt;1 Nay Rong&lt;BR /&gt;2 Kelly Windsor&lt;BR /&gt;3 Julio Meraz&lt;BR /&gt;4 Richard Krabill&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 20:49:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-read-data-set-from-raw-data-set-which-variable-has-blank/m-p/726906#M225956</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-03-16T20:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to read data set from raw data set which variable has blank?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-read-data-set-from-raw-data-set-which-variable-has-blank/m-p/726912#M225960</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tianerhu_0-1615928263010.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/56033i8F78B4F9460C9A39/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tianerhu_0-1615928263010.png" alt="tianerhu_0-1615928263010.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thank you. But it doesn't work.&lt;/P&gt;
&lt;P&gt;above is the result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 20:59:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-read-data-set-from-raw-data-set-which-variable-has-blank/m-p/726912#M225960</guid>
      <dc:creator>tianerhu</dc:creator>
      <dc:date>2021-03-16T20:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to read data set from raw data set which variable has blank?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-read-data-set-from-raw-data-set-which-variable-has-blank/m-p/726917#M225965</link>
      <description>Then something is different than what you posted. Please upload a sample of your actual file or make sure to post your data using the code block. Otherwise HTML screens will often strip away characters (tabs) that could be important to your data. &lt;BR /&gt;&lt;BR /&gt;It would also help to show your log and code because the code I provided wouldn't have generated anything like that and I don't know which output I should even be looking at. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Mar 2021 21:17:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-read-data-set-from-raw-data-set-which-variable-has-blank/m-p/726917#M225965</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-03-16T21:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to read data set from raw data set which variable has blank?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-read-data-set-from-raw-data-set-which-variable-has-blank/m-p/726943#M225979</link>
      <description>&lt;P&gt;I have sloved it . Thank you very much.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 23:45:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-read-data-set-from-raw-data-set-which-variable-has-blank/m-p/726943#M225979</guid>
      <dc:creator>tianerhu</dc:creator>
      <dc:date>2021-03-16T23:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to read data set from raw data set which variable has blank?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-read-data-set-from-raw-data-set-which-variable-has-blank/m-p/727150#M226094</link>
      <description>Then please update the post with the correct solution for others and mark it as solved.</description>
      <pubDate>Wed, 17 Mar 2021 15:58:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-read-data-set-from-raw-data-set-which-variable-has-blank/m-p/727150#M226094</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-03-17T15:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to read data set from raw data set which variable has blank?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-read-data-set-from-raw-data-set-which-variable-has-blank/m-p/727214#M226123</link>
      <description>&lt;P&gt;data ABC;&lt;BR /&gt;infile datalines;&lt;BR /&gt;input ID&lt;BR /&gt;Name&amp;amp;:$15.;&lt;BR /&gt;datalines;&lt;BR /&gt;1 Nay Rong&lt;BR /&gt;2 Kelly Windsor&lt;BR /&gt;3 Julio Meraz&lt;BR /&gt;4 Richard Krabill&lt;BR /&gt;;&lt;BR /&gt;run; &lt;BR /&gt;proc print data = ABC noobs;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 19:12:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-read-data-set-from-raw-data-set-which-variable-has-blank/m-p/727214#M226123</guid>
      <dc:creator>tianerhu</dc:creator>
      <dc:date>2021-03-17T19:12:22Z</dc:date>
    </item>
  </channel>
</rss>

