<?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 from an external files in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Reading-raw-data-from-an-external-files/m-p/520248#M141043</link>
    <description>&lt;P&gt;I have data in .txt file ,where each word is separated by single space like below.&lt;/P&gt;&lt;P&gt;mayoflstat mayolc accrual mayolc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I would like to read the .txt file and create a single variable having the below values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Text&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;mayoflstat&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;mayolc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;accrual&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;mayolc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;data test;&lt;BR /&gt;INFILE '/home/rpv/var.txt' dlm =" " ;&lt;BR /&gt;INPUT Text&amp;nbsp; $1000.;&lt;BR /&gt;RUN;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I there any options need to add the above code to get the required result? or need to update the code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Dec 2018 06:15:27 GMT</pubDate>
    <dc:creator>manoj_pandey</dc:creator>
    <dc:date>2018-12-11T06:15:27Z</dc:date>
    <item>
      <title>Reading raw data from an external files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-raw-data-from-an-external-files/m-p/520248#M141043</link>
      <description>&lt;P&gt;I have data in .txt file ,where each word is separated by single space like below.&lt;/P&gt;&lt;P&gt;mayoflstat mayolc accrual mayolc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I would like to read the .txt file and create a single variable having the below values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Text&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;mayoflstat&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;mayolc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;accrual&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;mayolc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;data test;&lt;BR /&gt;INFILE '/home/rpv/var.txt' dlm =" " ;&lt;BR /&gt;INPUT Text&amp;nbsp; $1000.;&lt;BR /&gt;RUN;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I there any options need to add the above code to get the required result? or need to update the code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 06:15:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-raw-data-from-an-external-files/m-p/520248#M141043</guid>
      <dc:creator>manoj_pandey</dc:creator>
      <dc:date>2018-12-11T06:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Reading raw data from an external files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-raw-data-from-an-external-files/m-p/520253#M141045</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="无标题.jpg" style="width: 312px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/25532iDD0541E54A4318F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="无标题.jpg" alt="无标题.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 06:55:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-raw-data-from-an-external-files/m-p/520253#M141045</guid>
      <dc:creator>learsaas</dc:creator>
      <dc:date>2018-12-11T06:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Reading raw data from an external files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-raw-data-from-an-external-files/m-p/520256#M141046</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
  infile "&amp;lt;your path here&amp;gt;" truncover;
  input var $30. @;
  run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Dec 2018 06:56:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-raw-data-from-an-external-files/m-p/520256#M141046</guid>
      <dc:creator>ShiroAmada</dc:creator>
      <dc:date>2018-12-11T06:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Reading raw data from an external files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-raw-data-from-an-external-files/m-p/520258#M141047</link>
      <description>&lt;P&gt;It's worked. Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 07:00:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-raw-data-from-an-external-files/m-p/520258#M141047</guid>
      <dc:creator>manoj_pandey</dc:creator>
      <dc:date>2018-12-11T07:00:00Z</dc:date>
    </item>
  </channel>
</rss>

