<?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: How to get last 3 bytes in a variable in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-last-3-bytes-in-a-variable/m-p/76606#M16577</link>
    <description>This looks promising.&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
data test;&lt;BR /&gt;
   infile cards dlm=', .;';&lt;BR /&gt;
   input word :$24. @@;&lt;BR /&gt;
   length L3 $3;&lt;BR /&gt;
   L3= substrN(word,length(word)-2);&lt;BR /&gt;
   cards4;&lt;BR /&gt;
Hi,&lt;BR /&gt;
I need to get last 3 bytes in a variable length variable, irrespective of what ever total length that variable is.&lt;BR /&gt;
&lt;BR /&gt;
thanks,&lt;BR /&gt;
sasbase &lt;BR /&gt;
;;;;&lt;BR /&gt;
   run;&lt;BR /&gt;
   &lt;BR /&gt;
proc contents;&lt;BR /&gt;
   run;&lt;BR /&gt;
proc print;&lt;BR /&gt;
   run;&lt;BR /&gt;
[/pre]</description>
    <pubDate>Sat, 07 Mar 2009 15:01:21 GMT</pubDate>
    <dc:creator>data_null__</dc:creator>
    <dc:date>2009-03-07T15:01:21Z</dc:date>
    <item>
      <title>How to get last 3 bytes in a variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-last-3-bytes-in-a-variable/m-p/76605#M16576</link>
      <description>Hi,&lt;BR /&gt;
I need to get last 3 bytes in a variable length variable, irrespective of what ever total length that variable is.&lt;BR /&gt;
&lt;BR /&gt;
thanks,&lt;BR /&gt;
sasbase</description>
      <pubDate>Sat, 07 Mar 2009 14:05:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-get-last-3-bytes-in-a-variable/m-p/76605#M16576</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-03-07T14:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to get last 3 bytes in a variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-last-3-bytes-in-a-variable/m-p/76606#M16577</link>
      <description>This looks promising.&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
data test;&lt;BR /&gt;
   infile cards dlm=', .;';&lt;BR /&gt;
   input word :$24. @@;&lt;BR /&gt;
   length L3 $3;&lt;BR /&gt;
   L3= substrN(word,length(word)-2);&lt;BR /&gt;
   cards4;&lt;BR /&gt;
Hi,&lt;BR /&gt;
I need to get last 3 bytes in a variable length variable, irrespective of what ever total length that variable is.&lt;BR /&gt;
&lt;BR /&gt;
thanks,&lt;BR /&gt;
sasbase &lt;BR /&gt;
;;;;&lt;BR /&gt;
   run;&lt;BR /&gt;
   &lt;BR /&gt;
proc contents;&lt;BR /&gt;
   run;&lt;BR /&gt;
proc print;&lt;BR /&gt;
   run;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Sat, 07 Mar 2009 15:01:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-get-last-3-bytes-in-a-variable/m-p/76606#M16577</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2009-03-07T15:01:21Z</dc:date>
    </item>
  </channel>
</rss>

