<?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 Import file with two delimiters in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Import-file-with-two-delimiters/m-p/104278#M258383</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I have a file that has two delimiters, tab &amp;amp; comma that I need to import into SAS 9.1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any assistance would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Feb 2013 22:54:56 GMT</pubDate>
    <dc:creator>jlaw</dc:creator>
    <dc:date>2013-02-08T22:54:56Z</dc:date>
    <item>
      <title>Import file with two delimiters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-file-with-two-delimiters/m-p/104278#M258383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I have a file that has two delimiters, tab &amp;amp; comma that I need to import into SAS 9.1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any assistance would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 22:54:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-file-with-two-delimiters/m-p/104278#M258383</guid>
      <dc:creator>jlaw</dc:creator>
      <dc:date>2013-02-08T22:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Import file with two delimiters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-file-with-two-delimiters/m-p/104279#M258384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A __default_attr="811898" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt;: In an infile statement you can include a delimiter option and that can include multiple delimiters, but I can't figure out how to do it with a tab and a comma.&amp;nbsp; On the other hand, you could just do something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp; infile "c:\art\test\test.txt" delimiter=',' truncover;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input @;&lt;/P&gt;&lt;P&gt;&amp;nbsp; informat x $3.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; _infile_=translate(_infile_,',','09'x);&lt;/P&gt;&lt;P&gt;&amp;nbsp; input x y z;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Feb 2013 00:07:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-file-with-two-delimiters/m-p/104279#M258384</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2013-02-09T00:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Import file with two delimiters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-file-with-two-delimiters/m-p/104280#M258385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you mean that you want to treat the presence of either a TAB or a COMMA is indicating the start of a new field then you can set the DLM= option on the INFILE statement to a variable that you have populated with that value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;dlm='09'x || ',' ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;infile 'myfile' dlm=dlm ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But is that what you want or is what you really have is a nested structure.&amp;nbsp; Frequently you might see a file that is tab delimited and one of the fields is a text sting that is really a list of values separated by commas.&amp;nbsp;&amp;nbsp; Here is an example where I have replace&amp;nbsp; TAB with | so that it is readable online.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ID|GENDER|MULTISELECT|DATE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;1|M|1,3|01JAN2010&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;2|F|2,3,4,5|01FEB2011&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To read this you need to define MUTLISELECT as a character variable.&amp;nbsp; Then I could loop over it and create multiple variables (or multilple rows) that show the set of values nested inside of it.&amp;nbsp; So to turn it into rows you could do something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;data want ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; length id 8 gender $1 date choice select 8 multiselect $20 ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; informat date date9.;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; format date date9.;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; infile cards dsd dlm='|' truncover firstobs=2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; input id gender multiselect date ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; do choice=1 by 1 until (missing(select)) ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; select = input(scan(multiselect,choice,','),best.) ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if not missing(select) or choice=1 then output;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; end;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; drop multiselect ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;cards;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ID|GENDER|MULTISELECT|DATE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;1|M|1,3|01JAN2010&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;2|F|2,3,4,5|01FEB2011&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Obs&amp;nbsp;&amp;nbsp;&amp;nbsp; id&amp;nbsp;&amp;nbsp;&amp;nbsp; gender&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; choice&amp;nbsp;&amp;nbsp;&amp;nbsp; select&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; M&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01JAN2010&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; M&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01JAN2010&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01FEB2011&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01FEB2011&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; 5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01FEB2011&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; 6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01FEB2011&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Feb 2013 04:51:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-file-with-two-delimiters/m-p/104280#M258385</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-02-09T04:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Import file with two delimiters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-file-with-two-delimiters/m-p/104281#M258386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will give this a try and let you know how it works.&lt;/P&gt;&lt;P&gt;Thank you for your assistance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2013 17:06:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-file-with-two-delimiters/m-p/104281#M258386</guid>
      <dc:creator>jlaw</dc:creator>
      <dc:date>2013-02-14T17:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Import file with two delimiters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-file-with-two-delimiters/m-p/104282#M258387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tom - this is useful to know, I may need this in the future...but I am definitely looking for how to import with two existing delimiters.&lt;/P&gt;&lt;P&gt;Thank you for your reply!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2013 17:07:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-file-with-two-delimiters/m-p/104282#M258387</guid>
      <dc:creator>jlaw</dc:creator>
      <dc:date>2013-02-14T17:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Import file with two delimiters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-file-with-two-delimiters/m-p/104283#M258388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I attempted Arthur's method and almost got it to work but wasn't quite working the way it should. The columns were importing with inappropriate widths, although I did adjust in regards to my data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also attempted Tom's first method and got stuck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While although its not the best solution I was able to come up with at least a temporary work around so that I can still automate the process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Answer:&lt;/P&gt;&lt;P&gt;#1) Import file with tab delimiter&lt;/P&gt;&lt;P&gt;#2) Remove commas from all the columns&lt;/P&gt;&lt;P&gt;#3) Export with comma delimiter&lt;/P&gt;&lt;P&gt;#4) Import file with formats&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your responses &amp;amp; I am still open to more effecient way to accomplish the task of importing a double delimited file, contains tab delimiter &amp;amp; comma delimiter in file to import.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;company,&amp;lt;tab&amp;gt;companynumber,&amp;lt;tab&amp;gt;DATE&lt;/P&gt;&lt;P&gt;ABC,&amp;lt;tab&amp;gt; 1234,&amp;lt;tab&amp;gt;01/01/1987&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 00:24:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-file-with-two-delimiters/m-p/104283#M258388</guid>
      <dc:creator>jlaw</dc:creator>
      <dc:date>2013-02-15T00:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Import file with two delimiters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-file-with-two-delimiters/m-p/104284#M258389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try the DLMSTR option on the INFILE statement.&amp;nbsp; If you set DLMSTR='2C09'X then it will treat &amp;lt;comma&amp;gt;&amp;lt;tab&amp;gt; as the delimiter between fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;13&amp;nbsp;&amp;nbsp; data test ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;14&amp;nbsp;&amp;nbsp;&amp;nbsp; infile userfile dlmstr='2C09'x truncover ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;15&amp;nbsp;&amp;nbsp;&amp;nbsp; input (x1-x5) (:$20.);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;16&amp;nbsp;&amp;nbsp;&amp;nbsp; put (x1-x5) (=);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;17&amp;nbsp;&amp;nbsp; run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;x1=company x2=companynumber x3=DATE x4=&amp;nbsp; x5=&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;x1=ABC x2=1234 x3=01/01/1987 x4=&amp;nbsp; x5=&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NOTE: 2 records were read from the infile USERFILE.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 01:26:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-file-with-two-delimiters/m-p/104284#M258389</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-02-15T01:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Import file with two delimiters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-file-with-two-delimiters/m-p/104285#M258390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tom - this did work, thank you!&amp;nbsp; It inserted extra blank columns between each column, but very easy to work with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again for your assistnce &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2013 22:22:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-file-with-two-delimiters/m-p/104285#M258390</guid>
      <dc:creator>jlaw</dc:creator>
      <dc:date>2013-02-19T22:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Import file with two delimiters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-file-with-two-delimiters/m-p/104286#M258391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds like you used DLM= instead of DLMSTR= and that you also specified DSD.&lt;/P&gt;&lt;P&gt;You could try NOT specifying DSD in the INFILE.&amp;nbsp; That would eliminate the empty columns.&amp;nbsp; But it would also shift values to the left if you do have actual empty cells in the input.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2013 23:12:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-file-with-two-delimiters/m-p/104286#M258391</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-02-19T23:12:15Z</dc:date>
    </item>
  </channel>
</rss>

