<?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 Variable while using infile function in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Variable-while-using-infile-function/m-p/566452#M11357</link>
    <description>Hi&lt;BR /&gt;I want to create a data set from .txt file containg below data&lt;BR /&gt;Name Age&lt;BR /&gt;Rao 30&lt;BR /&gt;Tom 40&lt;BR /&gt;&lt;BR /&gt;I want to use code as below&lt;BR /&gt;Data Test;&lt;BR /&gt;Infile "path of .txt file";&lt;BR /&gt;?&lt;BR /&gt;Run;&lt;BR /&gt;&lt;BR /&gt;my question is what code I should use so that first row should be read as varaible and rest observation from txt. file?</description>
    <pubDate>Sun, 16 Jun 2019 16:21:07 GMT</pubDate>
    <dc:creator>Kamal5522</dc:creator>
    <dc:date>2019-06-16T16:21:07Z</dc:date>
    <item>
      <title>Variable while using infile function</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Variable-while-using-infile-function/m-p/566452#M11357</link>
      <description>Hi&lt;BR /&gt;I want to create a data set from .txt file containg below data&lt;BR /&gt;Name Age&lt;BR /&gt;Rao 30&lt;BR /&gt;Tom 40&lt;BR /&gt;&lt;BR /&gt;I want to use code as below&lt;BR /&gt;Data Test;&lt;BR /&gt;Infile "path of .txt file";&lt;BR /&gt;?&lt;BR /&gt;Run;&lt;BR /&gt;&lt;BR /&gt;my question is what code I should use so that first row should be read as varaible and rest observation from txt. file?</description>
      <pubDate>Sun, 16 Jun 2019 16:21:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Variable-while-using-infile-function/m-p/566452#M11357</guid>
      <dc:creator>Kamal5522</dc:creator>
      <dc:date>2019-06-16T16:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Variable while using infile function</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Variable-while-using-infile-function/m-p/566454#M11358</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
infile "datafile.txt" firstobs=2;
input Name $ Age;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 16 Jun 2019 16:51:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Variable-while-using-infile-function/m-p/566454#M11358</guid>
      <dc:creator>ghosh</dc:creator>
      <dc:date>2019-06-16T16:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Variable while using infile function</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Variable-while-using-infile-function/m-p/566455#M11359</link>
      <description>Thanks</description>
      <pubDate>Sun, 16 Jun 2019 16:52:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Variable-while-using-infile-function/m-p/566455#M11359</guid>
      <dc:creator>Kamal5522</dc:creator>
      <dc:date>2019-06-16T16:52:45Z</dc:date>
    </item>
  </channel>
</rss>

