<?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: Row and column delimiter in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Row-and-column-delimiter/m-p/315379#M68773</link>
    <description>&lt;P&gt;If your data is as posted then the actual line delimiter SAS uses to determine "end of line" is still a LineFeed (LF) - or CRLF if it's Windows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The row delimiter you're talking about is for SAS just another field - and as it's the last field in the record just don't map it to a SAS column. That's what I've done in the sample code posted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Should your actual data be on a single line coming in as a data stream without any end of line indicators like CRLF and the only way how you can determine a new record is this row delimiter string, then let us know.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Nov 2016 00:39:08 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2016-11-30T00:39:08Z</dc:date>
    <item>
      <title>Row and column delimiter</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Row-and-column-delimiter/m-p/315342#M68756</link>
      <description>&lt;P&gt;I have my data in the text file which looks like below. My column delimeter = !~~! and my row delimeter = ~##~. When I run my below code the row delimiter is read as column, It doesn't identify my column delimeter and read the next varaible as a new row. Can someone let me know how to read the row delimiter here ? Thanks for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;00064342424242!~~!N/A!~~!test_mail@GMAIL.COM!~~!!~~!!~~!!~~!06/01/2017 00:00:00.000!~~!!~~!!~~!!~~!!~~!!~~!!~~!!~~!~##~&lt;BR /&gt;907992146412508561EMPEA!~~!N/A!~~!EWS1001@SEP16.COM!~~!!~~!!~~!!~~!06/01/2017 00:00:00.000!~~!!~~!!~~!!~~!!~~!!~~!!~~!!~~!~##~&lt;BR /&gt;00024242424242!~~!N/A!~~!abc@gmail.com!~~!!~~!!~~!!~~!06/01/2017 00:00:00.000!~~!!~~!!~~!!~~!!~~!!~~!!~~!!~~!~##~&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data account;&lt;BR /&gt;infile 'text_location.TXT' DLMSTR ='!~~!' dsd flowover ;&lt;BR /&gt;input col_1 :$50.&lt;BR /&gt;col_2 :$50.&lt;BR /&gt;col_3 :$255.&lt;BR /&gt;col_4 :$255.&lt;BR /&gt;col_5 :$255.&lt;BR /&gt;col_6 :$255.&lt;BR /&gt;col_7 :$255.&lt;BR /&gt;col_8 :$50.&lt;BR /&gt;col_9 :$19.&lt;BR /&gt;col_10 :$50.&lt;BR /&gt;col_11 :$50.&lt;BR /&gt;col_12 :$50.&lt;BR /&gt;col_13 :$50.&lt;BR /&gt;col_14 :$1.&lt;BR /&gt;col_15 :$1.&lt;BR /&gt;col_16 :$25.&lt;BR /&gt;col_17 :$50.&lt;BR /&gt;col_18 :$50.&lt;BR /&gt;col_19 :$50.&lt;BR /&gt;col_20 :$9.&lt;BR /&gt;col_21 :$1.&lt;BR /&gt;col_22 :$1.&lt;BR /&gt;col23 :$19.&lt;BR /&gt;col_24 :$19.&lt;BR /&gt;col_25 :$17.&lt;BR /&gt;col_26 :$255.&lt;BR /&gt;col_27 :$255.&lt;BR /&gt;col_28 :$255.&lt;BR /&gt;col_29 :$255.&lt;BR /&gt;col_30 :$255.&lt;BR /&gt;col_31 :$255.&lt;BR /&gt;col_32 :$255.&lt;BR /&gt;col_33 :$255.&lt;BR /&gt;col_34 :$50.&lt;BR /&gt;col_35 :$50.&lt;BR /&gt;col_36 :$50.&lt;BR /&gt;col_37 :$50.&lt;BR /&gt;col_38 :$50.;&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>Tue, 29 Nov 2016 21:24:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Row-and-column-delimiter/m-p/315342#M68756</guid>
      <dc:creator>Anju</dc:creator>
      <dc:date>2016-11-29T21:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: Row and column delimiter</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Row-and-column-delimiter/m-p/315356#M68762</link>
      <description>&lt;P&gt;If I copy the data you've posted then they appear to be on a single line and every record has the same number of fields and delimiters. If this is also the case with your real data then:&lt;/P&gt;
&lt;P&gt;1. only read as many columns as you actually need/have in your file&lt;/P&gt;
&lt;P&gt;2. use Truncover instead of Flowover.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename txt temp;
data _null_;
  file txt;
  infile datalines;
  input;
  put _infile_;
  datalines;
00064342424242!~~!N/A!~~!test_mail@GMAIL.COM!~~!!~~!!~~!!~~!06/01/2017 00:00:00.000!~~!!~~!!~~!!~~!!~~!!~~!!~~!!~~!~##~
907992146412508561EMPEA!~~!N/A!~~!EWS1001@SEP16.COM!~~!!~~!!~~!!~~!06/01/2017 00:00:00.000!~~!!~~!!~~!!~~!!~~!!~~!!~~!!~~!~##~
00024242424242!~~!N/A!~~!abc@gmail.com!~~!!~~!!~~!!~~!06/01/2017 00:00:00.000!~~!!~~!!~~!!~~!!~~!!~~!!~~!!~~!~##~
;
run;
 
data account;
  /*infile 'text_location.TXT' DLMSTR ='!~~!' dsd flowover ;*/
  infile txt DLMSTR ='!~~!' dsd truncover ;
  attrib 
    col_1 - col_14 informat=$50.
    ;
  input col_1 - col_14;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Nov 2016 22:11:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Row-and-column-delimiter/m-p/315356#M68762</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2016-11-29T22:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Row and column delimiter</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Row-and-column-delimiter/m-p/315357#M68763</link>
      <description>&lt;P&gt;Thanks for the quick reply. Sure, Is there a way I can delete the row delimiter here ?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2016 22:19:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Row-and-column-delimiter/m-p/315357#M68763</guid>
      <dc:creator>Anju</dc:creator>
      <dc:date>2016-11-29T22:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Row and column delimiter</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Row-and-column-delimiter/m-p/315365#M68765</link>
      <description>&lt;P&gt;Personally, I would read it in as a variable and then drop it, ie Col15.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS doesn't have a way of identifying row delimiters that jumps to mind.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2016 23:29:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Row-and-column-delimiter/m-p/315365#M68765</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-11-29T23:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Row and column delimiter</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Row-and-column-delimiter/m-p/315367#M68767</link>
      <description>&lt;P&gt;Where do you want to delete the row delimiter ?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2016 23:29:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Row-and-column-delimiter/m-p/315367#M68767</guid>
      <dc:creator>anoopmohandas7</dc:creator>
      <dc:date>2016-11-29T23:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Row and column delimiter</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Row-and-column-delimiter/m-p/315379#M68773</link>
      <description>&lt;P&gt;If your data is as posted then the actual line delimiter SAS uses to determine "end of line" is still a LineFeed (LF) - or CRLF if it's Windows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The row delimiter you're talking about is for SAS just another field - and as it's the last field in the record just don't map it to a SAS column. That's what I've done in the sample code posted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Should your actual data be on a single line coming in as a data stream without any end of line indicators like CRLF and the only way how you can determine a new record is this row delimiter string, then let us know.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2016 00:39:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Row-and-column-delimiter/m-p/315379#M68773</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2016-11-30T00:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Row and column delimiter</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Row-and-column-delimiter/m-p/315455#M68817</link>
      <description>&lt;P&gt;Where is the file from, can you change it? &amp;nbsp;I would suggest using a standard file format - CSV, XML, Json. &amp;nbsp;Creating your own special file format just means more work from both ends, and no-one else will be able to pick it up an run. &amp;nbsp;For instance, why not just use default line endings - even if the system is different that can be handled easily with an option.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2016 09:54:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Row-and-column-delimiter/m-p/315455#M68817</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-11-30T09:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: Row and column delimiter</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Row-and-column-delimiter/m-p/315626#M68883</link>
      <description>&lt;P&gt;Patrick,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I only read the columns i am interested in and ignored the last one which is also a row delimiter. The flowover with&amp;nbsp;DLMSTR worked. Thanks for your help on this !! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2016 18:12:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Row-and-column-delimiter/m-p/315626#M68883</guid>
      <dc:creator>Anju</dc:creator>
      <dc:date>2016-11-30T18:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Row and column delimiter</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Row-and-column-delimiter/m-p/315629#M68884</link>
      <description>&lt;P&gt;Yes thats what I did. I was wondering if SAS might have a row delimiter. But I did not read that column so I am good now &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2016 18:14:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Row-and-column-delimiter/m-p/315629#M68884</guid>
      <dc:creator>Anju</dc:creator>
      <dc:date>2016-11-30T18:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: Row and column delimiter</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Row-and-column-delimiter/m-p/371258#M88673</link>
      <description>&lt;P&gt;Hi Patrick,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am trying to read the data from .txt external file through SAS Code,it has '|' as a column&amp;nbsp;delimiter and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;'&amp;lt;' as a row&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;delimiter.I am not able to read the data in proper way,I am using below mentioned code to read the data from the server.Data is coming in as a data stream without any end of line indicators like CRLF.I tried all the options FLOWOVER,MISSOVER and TRUCOVER but i am not getting the desired result.Can you please let me know how to read the row delimiter here ? Thanks for your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;DATA WORK.PURCHASE;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; LENGTH&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Filer_TIN &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$ 11&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Ret_Type &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $ 1&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Period_Key &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 8&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TAXABLE_GOODS_VAL &amp;nbsp; 8&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AMT_TAX_VAL &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;8&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; INCL_TAX_VAL &amp;nbsp; &amp;nbsp; &amp;nbsp; 8&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; COMP_VAL &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 8&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TAX_FRE_SALES_VAL &amp;nbsp; 8&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; EXEM_SALES_VAL &amp;nbsp; &amp;nbsp; 8&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LABOUR_CHRGES_VAL &amp;nbsp; 8&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OTHER_CHRGES_VAL &amp;nbsp; 8&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; GROSS_TOTAL_VAL &amp;nbsp; &amp;nbsp;8&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FORM_NUM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 8&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE_OF_TX &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 8&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Partner_TIN &amp;nbsp; &amp;nbsp; &amp;nbsp;$ 11;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; FORMAT&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Filer_TIN &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$CHAR11.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Ret_Type &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $CHAR1.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Period_Key &amp;nbsp; &amp;nbsp; &amp;nbsp; BEST4.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TAXABLE_GOODS_VAL BEST11.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AMT_TAX_VAL &amp;nbsp; &amp;nbsp; &amp;nbsp;BEST9.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; INCL_TAX_VAL &amp;nbsp; &amp;nbsp; BEST10.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; COMP_VAL &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; BEST9.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TAX_FRE_SALES_VAL BEST10.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; EXEM_SALES_VAL &amp;nbsp; BEST8.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LABOUR_CHRGES_VAL BEST10.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OTHER_CHRGES_VAL BEST9.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; GROSS_TOTAL_VAL &amp;nbsp;BEST11.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FORM_NUM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; BEST3.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE_OF_TX &amp;nbsp; &amp;nbsp; &amp;nbsp; BEST2.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Partner_TIN &amp;nbsp; &amp;nbsp; &amp;nbsp;$CHAR11.;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; INFORMAT&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Filer_TIN &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$CHAR11.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Ret_Type &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $CHAR1.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Period_Key &amp;nbsp; &amp;nbsp; &amp;nbsp; BEST4.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TAXABLE_GOODS_VAL BEST11.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AMT_TAX_VAL &amp;nbsp; &amp;nbsp; &amp;nbsp;BEST9.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; INCL_TAX_VAL &amp;nbsp; &amp;nbsp; BEST10.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; COMP_VAL &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; BEST9.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TAX_FRE_SALES_VAL BEST10.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; EXEM_SALES_VAL &amp;nbsp; BEST8.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LABOUR_CHRGES_VAL BEST10.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OTHER_CHRGES_VAL BEST9.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; GROSS_TOTAL_VAL &amp;nbsp;BEST11.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FORM_NUM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; BEST3.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE_OF_TX &amp;nbsp; &amp;nbsp; &amp;nbsp; BEST2.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Partner_TIN &amp;nbsp; &amp;nbsp; &amp;nbsp;$CHAR11.;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; INFILE '/sas/EIUData/PURCHASE_ANNEX.txt'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LRECL=102&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ENCODING="UTF-8"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DLMSTR="|" truncover;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; INPUT&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Filer_TIN &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: $CHAR11.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Ret_Type &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; : $CHAR1.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Period_Key &amp;nbsp; &amp;nbsp; &amp;nbsp; : ?? BEST4.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TAXABLE_GOODS_VAL : ?? COMMA11.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AMT_TAX_VAL &amp;nbsp; &amp;nbsp; &amp;nbsp;: ?? COMMA9.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; INCL_TAX_VAL &amp;nbsp; &amp;nbsp; : ?? COMMA10.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; COMP_VAL &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; : ?? COMMA9.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TAX_FRE_SALES_VAL : ?? COMMA10.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; EXEM_SALES_VAL &amp;nbsp; : ?? COMMA8.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LABOUR_CHRGES_VAL : ?? COMMA10.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OTHER_CHRGES_VAL : ?? COMMA9.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; GROSS_TOTAL_VAL &amp;nbsp;: ?? COMMA11.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FORM_NUM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; : ?? BEST3.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPE_OF_TX &amp;nbsp; &amp;nbsp; &amp;nbsp; : ?? BEST2.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Partner_TIN &amp;nbsp; &amp;nbsp; &amp;nbsp;: $CHAR11. ;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RUN;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;How we can read "&amp;lt;" as rew delimitre in SAS?coud you please help me on this?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Sample Data :&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;27020018076 |R|1606|5045.48|277.48|0.00|0.00|0.00|0.00|0.00|0.00|5322.96|231 |10 |27080058880 |&amp;lt;27020018076 |R|1606|947.87|52.13|0.00|0.00|0.00|0.00|&lt;BR /&gt;0.00|0.00|1000.00|231 |10 |27131130266 |&amp;lt;27020018076 |R|1606|1848.34|101.66|0.00|0.00|0.00|0.00|0.00|0.00|1950.00|231 |10 |27220036105&lt;BR /&gt;|&amp;lt;27020018076 |R|1606|8597.17|472.85|0.00|0.00|0.00|0.00|0.00|0.00|9070.02|231 |10 |27220646138 |&amp;lt;27020018076 |R|1606|22800.00|1360.00|0.00|&lt;BR /&gt;0.00|0.00|0.00|0.00|0.00|24160.00|231 |10 |27240041138 |&amp;lt;27020018076 |R|1606|67096.22|4025.02|0.00|0.00|0.00|0.00|0.00|0.00|71121.24|231 |10&lt;BR /&gt;|27260645728 |&amp;lt;27020018076 |R|1606|6493.12|357.12|0.00|0.00|0.00|0.00|0.00|0.00|6850.24|231 |10 |27270301033 |&amp;lt;27020018076 |R|1606|945001.00|&lt;BR /&gt;52605.00|0.00|0.00|0.00|0.00|0.00|0.00|997606.00|231 |10 |27290000710 |&amp;lt;27020018076 |R|1606|3981.04|218.96|0.00|0.00|0.00|0.00|0.00|0.00|4200.00|&lt;BR /&gt;231 |10 |27290279682 |&amp;lt;27020018076 |R|1606|2800.00|168.00|0.00|0.00|0.00|0.00|0.00|0.00|2968.00|231 |10 |27361171219 |&amp;lt;27020018076 |R|1606|&lt;BR /&gt;59052.49|3247.87|0.00|0.00|0.00|0.00|0.00|0.00|62300.36|231 |10 |27390019279 |&amp;lt;27020018076 |R|1606|8583163.22|514989.78|0.00|0.00|0.00|0.00|&lt;BR /&gt;0.00|0.00|9098153.00|231 |10 |27460293314 |&amp;lt;27020018076 |R|1606|440662.27|26439.73|0.00|0.00|0.00|0.00|0.00|0.00|467102.00|231 |10 |&lt;BR /&gt;27490371140 |&amp;lt;27020018076 |R|1606|4146.96|228.08|0.00|0.00|0.00|0.00|0.00|0.00|4375.04|231 |10 |27530294100 |&amp;lt;27020018076 |R|1606|54424.24|&lt;BR /&gt;7347.24|0.00|0.00|0.00|0.00|0.00|0.00|61771.48|231 |10 |27610060189 |&amp;lt;27020018076 |R|1606|3500.50|192.50|0.00|0.00|0.00|0.00|0.00|0.00|3693.00|&lt;BR /&gt;231 |10 |27650269493 |&amp;lt;27020018076 |R|1606|471985.10|28319.10|0.00|0.00|0.00|0.00|0.00|0.00|500304.20|231 |10 |27670990871 |&amp;lt;27020018076 |&lt;BR /&gt;R|1606|2853.81|171.23|0.00|0.00|0.00|0.00|0.00|0.00|3025.04|231 |10 |27690241729 |&amp;lt;27020018076 |R|1606|642012.00|38970.74|0.00|0.00|0.00|0.00|&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Kindly find the attached sample data for your refrence.&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 28 Jun 2017 12:41:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Row-and-column-delimiter/m-p/371258#M88673</guid>
      <dc:creator>Qavi</dc:creator>
      <dc:date>2017-06-28T12:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: Row and column delimiter</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Row-and-column-delimiter/m-p/371472#M88733</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Read the last row as another extra column and drop it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the row delimeter appears in your last column you can use something like if col50='&lt;SPAN&gt;~##~' then col50=' ';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope this helps.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 21:54:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Row-and-column-delimiter/m-p/371472#M88733</guid>
      <dc:creator>Anju</dc:creator>
      <dc:date>2017-06-28T21:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Row and column delimiter</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Row-and-column-delimiter/m-p/371474#M88735</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Read the last row as another extra column and drop it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the row delimeter appears in your last column you can use something like if col50='&lt;SPAN&gt;~##~' then col50=' ';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Else you can use compress function to remove the value '~##~' &amp;nbsp;from col50&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope this helps.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 21:56:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Row-and-column-delimiter/m-p/371474#M88735</guid>
      <dc:creator>Anju</dc:creator>
      <dc:date>2017-06-28T21:56:26Z</dc:date>
    </item>
  </channel>
</rss>

