<?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: Importing a file with multiple delimiters per record in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Importing-a-file-with-multiple-delimiters-per-record/m-p/120469#M1480</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV style="font-family: Courier New; font-size: 11pt;"&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;data&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; dlm;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;length&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; dlm $&lt;/SPAN&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;1&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;infile&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;cards&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;dlm&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;=dlm &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;dsd&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;do&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; dlm=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; background-color: #ffffff;"&gt;'|'&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;input&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; a b c @;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;end&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;do&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; dlm = &lt;/SPAN&gt;&lt;SPAN style="color: #800080; background-color: #ffffff;"&gt;','&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;input&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; d e f;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;end&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;cards&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffc0;"&gt;1|2|3|99,98,19&lt;BR /&gt;221|212||9559,98,1009&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;;;;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Oct 2013 16:19:38 GMT</pubDate>
    <dc:creator>data_null__</dc:creator>
    <dc:date>2013-10-22T16:19:38Z</dc:date>
    <item>
      <title>Importing a file with multiple delimiters per record</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Importing-a-file-with-multiple-delimiters-per-record/m-p/120465#M1476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="gmw_"&gt;I really think this other team just doesn't like me... they sent me a .log file today where the first 4 variables are tab delimited, then the next 10 variables are comma delimited.&amp;nbsp; And I can't use &lt;SPAN class="gm_ gm_f205d7ca-5d62-2d35-8187-bf39731992be gm-spell"&gt;an&lt;/SPAN&gt; @PUT statement, because while the tab delimited variables are all 36 characters, the comma delimited variables are different lengths.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have a suggestion?&amp;nbsp; I think I stumped google...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 15:15:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Importing-a-file-with-multiple-delimiters-per-record/m-p/120465#M1476</guid>
      <dc:creator>That____Redhead</dc:creator>
      <dc:date>2013-10-22T15:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a file with multiple delimiters per record</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Importing-a-file-with-multiple-delimiters-per-record/m-p/120466#M1477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;filename x "path";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data have;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infile x dlm='09'x dsd;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input var1 var2 var3 .......;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jagadish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 15:22:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Importing-a-file-with-multiple-delimiters-per-record/m-p/120466#M1477</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2013-10-22T15:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a file with multiple delimiters per record</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Importing-a-file-with-multiple-delimiters-per-record/m-p/120467#M1478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagadish,&lt;/P&gt;&lt;P&gt;That only is going to import the tab delimited.&amp;nbsp; I need the comma delimited to be individual variables as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Russell&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 15:28:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Importing-a-file-with-multiple-delimiters-per-record/m-p/120467#M1478</guid>
      <dc:creator>That____Redhead</dc:creator>
      <dc:date>2013-10-22T15:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a file with multiple delimiters per record</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Importing-a-file-with-multiple-delimiters-per-record/m-p/120468#M1479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it is just the case that all rows have the same number of values and it is using two different delimiters then you can tell SAS to use both tab and comma as a delimiter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;infile 'myfile' dsd dlm='092C'x .... ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;dlm=','||'09'x ;&lt;/P&gt;&lt;P&gt;infile 'myfile' dsd dlm=dlm ... ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if instead they have tried to store a hierarchical structure into a flat file where the a particular tab delimited field can have a different number of commas within it per observation then you will need to take a two step approach of reading the comma delimited values as character strings and then parsing out the individual values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; length fixed1 fixed2 fixed3 fixed4 8 text5-text10 $36 ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; infile myfile dsd dlm='09'x truncover ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; input fixed1-fixed4 text5-text10 ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; array var5 var51 - var59 ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; do i=1 by 9 ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var5(i) = scan(text5,i,',');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 16:09:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Importing-a-file-with-multiple-delimiters-per-record/m-p/120468#M1479</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-10-22T16:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a file with multiple delimiters per record</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Importing-a-file-with-multiple-delimiters-per-record/m-p/120469#M1480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV style="font-family: Courier New; font-size: 11pt;"&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;data&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; dlm;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;length&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; dlm $&lt;/SPAN&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;1&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;infile&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;cards&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;dlm&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;=dlm &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;dsd&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;do&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; dlm=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; background-color: #ffffff;"&gt;'|'&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;input&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; a b c @;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;end&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;do&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; dlm = &lt;/SPAN&gt;&lt;SPAN style="color: #800080; background-color: #ffffff;"&gt;','&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;input&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; d e f;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;end&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;cards&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffc0;"&gt;1|2|3|99,98,19&lt;BR /&gt;221|212||9559,98,1009&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;;;;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 16:19:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Importing-a-file-with-multiple-delimiters-per-record/m-p/120469#M1480</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2013-10-22T16:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a file with multiple delimiters per record</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Importing-a-file-with-multiple-delimiters-per-record/m-p/120470#M1481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow - thanks!&amp;nbsp; Works perfect!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 16:57:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Importing-a-file-with-multiple-delimiters-per-record/m-p/120470#M1481</guid>
      <dc:creator>That____Redhead</dc:creator>
      <dc:date>2013-10-22T16:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a file with multiple delimiters per record</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Importing-a-file-with-multiple-delimiters-per-record/m-p/120471#M1482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;guys then how can we resolve this scenario...?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cards,&lt;/P&gt;&lt;P&gt;12,13|14,15|16,17&lt;/P&gt;&lt;P&gt;5|6|,7,8|9,10&lt;/P&gt;&lt;P&gt;90,20,|15,.,.|12&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 17:16:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Importing-a-file-with-multiple-delimiters-per-record/m-p/120471#M1482</guid>
      <dc:creator>sas_9</dc:creator>
      <dc:date>2013-10-22T17:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a file with multiple delimiters per record</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Importing-a-file-with-multiple-delimiters-per-record/m-p/120472#M1483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Depends on what you want that to mean.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 17:23:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Importing-a-file-with-multiple-delimiters-per-record/m-p/120472#M1483</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-10-22T17:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a file with multiple delimiters per record</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Importing-a-file-with-multiple-delimiters-per-record/m-p/120473#M1484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A __default_attr="3209" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt;: Couldn't you just use&amp;nbsp; dlm='|,'&amp;nbsp;&amp;nbsp; ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 17:24:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Importing-a-file-with-multiple-delimiters-per-record/m-p/120473#M1484</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2013-10-22T17:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a file with multiple delimiters per record</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Importing-a-file-with-multiple-delimiters-per-record/m-p/120474#M1485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandy,&lt;/P&gt;&lt;P&gt;You can either use what Sandip said or if you want to use hexadecimal it would be '7C2C'x&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Full list of hexadecimal codes can be found here: &lt;A href="http://courses.engr.illinois.edu/ece390/books/labmanual/ascii-code-table.html" title="http://courses.engr.illinois.edu/ece390/books/labmanual/ascii-code-table.html"&gt;ASCII Codes in Hex, Octal, and Decimal&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 17:28:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Importing-a-file-with-multiple-delimiters-per-record/m-p/120474#M1485</guid>
      <dc:creator>That____Redhead</dc:creator>
      <dc:date>2013-10-22T17:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a file with multiple delimiters per record</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Importing-a-file-with-multiple-delimiters-per-record/m-p/120475#M1486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what i meant was, what if we have data file contains &lt;SPAN style="text-decoration: underline;"&gt;rendom delimiter for one observation&lt;/SPAN&gt; ('|', ',')&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt;but not in same order for each observation&lt;/SPAN&gt; and &lt;SPAN style="text-decoration: underline;"&gt;with same number of variables for all observation&lt;/SPAN&gt; with&lt;SPAN style="text-decoration: underline;"&gt; some missing values for some observation too&lt;/SPAN&gt; ? -&amp;nbsp; how we read that kind of data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have shown example what i have in my mind...data like below...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;cards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;12,13|14,15|16,17&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;5|6|,7,8|9,10&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;90,20,|15,.,.|12&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 19:00:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Importing-a-file-with-multiple-delimiters-per-record/m-p/120475#M1486</guid>
      <dc:creator>sas_9</dc:creator>
      <dc:date>2013-10-22T19:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a file with multiple delimiters per record</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Importing-a-file-with-multiple-delimiters-per-record/m-p/120476#M1487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what you mean.&amp;nbsp; The following would work if your data represent 7 variables and the first record is simply missing the 7th variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data have;&lt;/P&gt;&lt;P&gt;&amp;nbsp; infile cards dlm='|,' dsd truncover;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input x1-x7;&lt;/P&gt;&lt;P&gt;cards;&lt;/P&gt;&lt;P&gt;12,13|14,15|16,17&lt;/P&gt;&lt;P&gt;5|6|,7,8|9,10&lt;/P&gt;&lt;P&gt;90,20,|15,.,.|12&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 19:11:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Importing-a-file-with-multiple-delimiters-per-record/m-p/120476#M1487</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2013-10-22T19:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a file with multiple delimiters per record</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Importing-a-file-with-multiple-delimiters-per-record/m-p/120477#M1488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;awesome sir, its working fine...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for clearing doubts...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 19:44:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Importing-a-file-with-multiple-delimiters-per-record/m-p/120477#M1488</guid>
      <dc:creator>sas_9</dc:creator>
      <dc:date>2013-10-22T19:44:24Z</dc:date>
    </item>
  </channel>
</rss>

