<?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 Re: Comma Delimited to Tab Delimited in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Comma-Delimited-to-Tab-Delimited/m-p/241416#M44736</link>
    <description>&lt;P&gt;Define macro variable by the&amp;nbsp;&lt;SPAN&gt;ASCII code&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%LET TAB='09'X&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then use it in the put statment&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;&amp;amp;TAB&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Or use it directly in the put statment&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Put ..... '09'X ..... ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Dec 2015 18:55:30 GMT</pubDate>
    <dc:creator>mohamed_zaki</dc:creator>
    <dc:date>2015-12-31T18:55:30Z</dc:date>
    <item>
      <title>Comma Delimited to Tab Delimited</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Comma-Delimited-to-Tab-Delimited/m-p/241413#M44734</link>
      <description>&lt;P&gt;I need to change the below code from comma separated to tab separated. I am writing this code to a specific location and the name of the file needs to remain dynamic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC FORMAT;&lt;BR /&gt;PICTURE mmddyyyy other ='%0m%0d%Y' (DATATYPE = date);&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DATA _NULL_;&lt;BR /&gt;CALL SYMPUT("TODAY_MDY",LEFT(PUT(today(),mmddyyyy.)));&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DATA _NULL_;&lt;BR /&gt;SET FINAL;&lt;BR /&gt;FILE "//DropBox/Ad Hoc/Location/Policies_&amp;amp;TODAY_MDY..txt" DLM=',' TERMSTR=crlf;&lt;BR /&gt;IF _N_ = 1 THEN DO;&lt;BR /&gt;PUT 'Date'&lt;BR /&gt;',' 'Name'&lt;BR /&gt;',' 'Email'&lt;BR /&gt;',' 'Description'&lt;BR /&gt;',' 'ProductSearchCode'&lt;BR /&gt;',' 'Policy'&lt;BR /&gt;',' 'MerchantIdentifier'&lt;BR /&gt;',' 'FeedbackDate'&lt;BR /&gt;',' 'Tags';&lt;BR /&gt;END;&lt;BR /&gt;PUT Date Name Email Description ProductSearchCode Policy MerchantIdentifier FeedbackDate Tags;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2015 18:24:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Comma-Delimited-to-Tab-Delimited/m-p/241413#M44734</guid>
      <dc:creator>Roddy</dc:creator>
      <dc:date>2015-12-31T18:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Comma Delimited to Tab Delimited</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Comma-Delimited-to-Tab-Delimited/m-p/241416#M44736</link>
      <description>&lt;P&gt;Define macro variable by the&amp;nbsp;&lt;SPAN&gt;ASCII code&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%LET TAB='09'X&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then use it in the put statment&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;&amp;amp;TAB&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Or use it directly in the put statment&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Put ..... '09'X ..... ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2015 18:55:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Comma-Delimited-to-Tab-Delimited/m-p/241416#M44736</guid>
      <dc:creator>mohamed_zaki</dc:creator>
      <dc:date>2015-12-31T18:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Comma Delimited to Tab Delimited</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Comma-Delimited-to-Tab-Delimited/m-p/241417#M44737</link>
      <description>&lt;P&gt;Also change the DLM option in your file statement.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2015 18:54:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Comma-Delimited-to-Tab-Delimited/m-p/241417#M44737</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-12-31T18:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: Comma Delimited to Tab Delimited</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Comma-Delimited-to-Tab-Delimited/m-p/241584#M44779</link>
      <description>&lt;P&gt;Why not use proc export. It is simple.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc export data=sashelp.class outfile='/folders/myfolders/x.txt' dbms=tab replace;run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Jan 2016 02:46:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Comma-Delimited-to-Tab-Delimited/m-p/241584#M44779</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-01-04T02:46:00Z</dc:date>
    </item>
  </channel>
</rss>

