<?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: read a file delimited by string in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/read-a-file-delimited-by-string/m-p/758044#M239326</link>
    <description>Awesome! I didn't new there is such thing like dlmstr &lt;BR /&gt;thanks much &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
    <pubDate>Thu, 29 Jul 2021 11:26:38 GMT</pubDate>
    <dc:creator>Aexor</dc:creator>
    <dc:date>2021-07-29T11:26:38Z</dc:date>
    <item>
      <title>read a file delimited by string</title>
      <link>https://communities.sas.com/t5/SAS-Programming/read-a-file-delimited-by-string/m-p/758039#M239321</link>
      <description>&lt;P&gt;I want to read values from mytext file&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;mytext&lt;/P&gt;
&lt;P&gt;Ram&lt;STRONG&gt;abc&lt;/STRONG&gt;Sam&lt;STRONG&gt;abc&lt;/STRONG&gt;Kale&lt;STRONG&gt;abc&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to read data this type of file. Please advise.&lt;/P&gt;
&lt;P&gt;Also please let me know if i can specify string in dlm option&lt;/P&gt;
&lt;P&gt;for e.g dlm='abc'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2021 11:01:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/read-a-file-delimited-by-string/m-p/758039#M239321</guid>
      <dc:creator>Aexor</dc:creator>
      <dc:date>2021-07-29T11:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: read a file delimited by string</title>
      <link>https://communities.sas.com/t5/SAS-Programming/read-a-file-delimited-by-string/m-p/758043#M239325</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/327170"&gt;@Aexor&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can specify strings as delimiters in the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lestmtsref/n1rill4udj0tfun1fvce3j401plo.htm#n10jzr9z76e1ghn12i7ie8514fjv" target="_blank" rel="noopener"&gt;DLM&lt;STRONG&gt;STR&lt;/STRONG&gt;= option&lt;/A&gt; of the INFILE statement:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* Create test file for demonstration */

filename myfile temp; 

data _null_;
file myfile;
put 'RamabcSamabcKaleabc';
run;

/* Read the test file */

data want;
infile myfile dlmstr='abc';
input (var1-var3)($);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 29 Jul 2021 11:23:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/read-a-file-delimited-by-string/m-p/758043#M239325</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2021-07-29T11:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: read a file delimited by string</title>
      <link>https://communities.sas.com/t5/SAS-Programming/read-a-file-delimited-by-string/m-p/758044#M239326</link>
      <description>Awesome! I didn't new there is such thing like dlmstr &lt;BR /&gt;thanks much &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Thu, 29 Jul 2021 11:26:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/read-a-file-delimited-by-string/m-p/758044#M239326</guid>
      <dc:creator>Aexor</dc:creator>
      <dc:date>2021-07-29T11:26:38Z</dc:date>
    </item>
  </channel>
</rss>

