<?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 Input datalines with tab in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Input-datalines-with-tab/m-p/445667#M111708</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to create a dataset with character as below where tab is used to separate value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the second set, the datalines is mixed with space and tab to separate value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please help me with that?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HHCFX&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data name1;
input name :$32.  @@;
datalines;
a	b	c	d	e	f
;&lt;BR /&gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data name2;
input name :$32.  @@;
datalines;
a b	c d	e	f
;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Mar 2018 23:22:58 GMT</pubDate>
    <dc:creator>hhchenfx</dc:creator>
    <dc:date>2018-03-14T23:22:58Z</dc:date>
    <item>
      <title>Input datalines with tab</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Input-datalines-with-tab/m-p/445667#M111708</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to create a dataset with character as below where tab is used to separate value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the second set, the datalines is mixed with space and tab to separate value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please help me with that?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HHCFX&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data name1;
input name :$32.  @@;
datalines;
a	b	c	d	e	f
;&lt;BR /&gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data name2;
input name :$32.  @@;
datalines;
a b	c d	e	f
;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 23:22:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Input-datalines-with-tab/m-p/445667#M111708</guid>
      <dc:creator>hhchenfx</dc:creator>
      <dc:date>2018-03-14T23:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Input datalines with tab</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Input-datalines-with-tab/m-p/445675#M111713</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/49486"&gt;@hhchenfx&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will work but it is very different than your examples.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
  input c1 $ c2 $ c3 $ c4 $ c5 $;  
datalines;
a b c d		f
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best wishes,&lt;/P&gt;
&lt;P&gt;Jeff&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 00:15:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Input-datalines-with-tab/m-p/445675#M111713</guid>
      <dc:creator>JBailey</dc:creator>
      <dc:date>2018-03-15T00:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Input datalines with tab</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Input-datalines-with-tab/m-p/445677#M111715</link>
      <description>&lt;P&gt;DLM can specify multiple delimiters.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This worked for me, by manually entering a space followed by a tab in the editor.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data name2;
infile cards dlm=" 	"; *space and tab keyed in;
input name :$32.  @@;
datalines;
a b c d e	f
;

run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 15 Mar 2018 00:17:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Input-datalines-with-tab/m-p/445677#M111715</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-03-15T00:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: Input datalines with tab</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Input-datalines-with-tab/m-p/445681#M111717</link>
      <description>&lt;P&gt;Thanks a lot.&lt;/P&gt;
&lt;P&gt;It works great!&lt;/P&gt;
&lt;P&gt;HHCFX&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 00:25:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Input-datalines-with-tab/m-p/445681#M111717</guid>
      <dc:creator>hhchenfx</dc:creator>
      <dc:date>2018-03-15T00:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Input datalines with tab</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Input-datalines-with-tab/m-p/445820#M111777</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data name2;
infile cards expandtabs;
input name :$32.  @@;
datalines;
a b c d e	f
;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 15 Mar 2018 13:17:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Input-datalines-with-tab/m-p/445820#M111777</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2018-03-15T13:17:44Z</dc:date>
    </item>
  </channel>
</rss>

