<?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 USE SECOND ARGUMENT IN THIS PROGRAM in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/HOW-TO-USE-SECOND-ARGUMENT-IN-THIS-PROGRAM/m-p/489309#M127736</link>
    <description>&lt;P&gt;Probably easier to just list the digits you want to keep.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;compress(xxx,'01356789','k')&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 23 Aug 2018 15:29:17 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2018-08-23T15:29:17Z</dc:date>
    <item>
      <title>HOW TO USE SECOND ARGUMENT IN THIS PROGRAM</title>
      <link>https://communities.sas.com/t5/SAS-Programming/HOW-TO-USE-SECOND-ARGUMENT-IN-THIS-PROGRAM/m-p/489184#M127663</link>
      <description>&lt;P&gt;DATA S ;&lt;BR /&gt;NAME='ROITNCV42365672-908$#&amp;amp;^*(#$' ;&lt;BR /&gt;NEW=COMPRESS(NAME,'24' ,'KD') ;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I WANT TO KEEP ONLY DIGITS AND WITH IN DIGITS I DON'T NEED 2,4 NUMBERS .&lt;/P&gt;&lt;P&gt;IS ABOVE PROGRAM CORRECT ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;USE OF SECOND ARGUMENT?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 10:12:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/HOW-TO-USE-SECOND-ARGUMENT-IN-THIS-PROGRAM/m-p/489184#M127663</guid>
      <dc:creator>thanikondharish</dc:creator>
      <dc:date>2018-08-23T10:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO USE SECOND ARGUMENT IN THIS PROGRAM</title>
      <link>https://communities.sas.com/t5/SAS-Programming/HOW-TO-USE-SECOND-ARGUMENT-IN-THIS-PROGRAM/m-p/489186#M127664</link>
      <description>&lt;P&gt;TRY PRESSING THE CAPS LOCK BUTTON, ITS OFFENSIVE TO BE SHOUTED AT!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need two compress statements, inner to keep digits, outer to remove 2 and 4:&lt;/P&gt;
&lt;PRE&gt;data s;
  name='ROITNCV42365672-908$#&amp;amp;^*(#$';
  new=compress(compress(name," ","kd"),'24');
run;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 10:17:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/HOW-TO-USE-SECOND-ARGUMENT-IN-THIS-PROGRAM/m-p/489186#M127664</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-08-23T10:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO USE SECOND ARGUMENT IN THIS PROGRAM</title>
      <link>https://communities.sas.com/t5/SAS-Programming/HOW-TO-USE-SECOND-ARGUMENT-IN-THIS-PROGRAM/m-p/489189#M127666</link>
      <description>USE OF " " AFTER THE VARIABLE NAME&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Aug 2018 10:21:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/HOW-TO-USE-SECOND-ARGUMENT-IN-THIS-PROGRAM/m-p/489189#M127666</guid>
      <dc:creator>thanikondharish</dc:creator>
      <dc:date>2018-08-23T10:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO USE SECOND ARGUMENT IN THIS PROGRAM</title>
      <link>https://communities.sas.com/t5/SAS-Programming/HOW-TO-USE-SECOND-ARGUMENT-IN-THIS-PROGRAM/m-p/489218#M127686</link>
      <description>&lt;P&gt;You do not read others replies completely.&amp;nbsp; STOP using all UPPERCASE.&amp;nbsp; YOU are shouting at us.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 12:12:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/HOW-TO-USE-SECOND-ARGUMENT-IN-THIS-PROGRAM/m-p/489218#M127686</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2018-08-23T12:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO USE SECOND ARGUMENT IN THIS PROGRAM</title>
      <link>https://communities.sas.com/t5/SAS-Programming/HOW-TO-USE-SECOND-ARGUMENT-IN-THIS-PROGRAM/m-p/489305#M127734</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/209685"&gt;@thanikondharish&lt;/a&gt;&amp;nbsp;you're probably aware but this is a community forum, everyone answering your questions is likely exactly like you either studying at school or working a full time job. There are some SAS employee's on here, but they're identified as such as well. Please take the time to properly format your questions and to mark them solved when someone has taken the time to answer it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/122002"&gt;@VDD&lt;/a&gt;&amp;nbsp;This is an entirely optional activity, so my solution is to not engage/respond further &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 15:21:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/HOW-TO-USE-SECOND-ARGUMENT-IN-THIS-PROGRAM/m-p/489305#M127734</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-08-23T15:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO USE SECOND ARGUMENT IN THIS PROGRAM</title>
      <link>https://communities.sas.com/t5/SAS-Programming/HOW-TO-USE-SECOND-ARGUMENT-IN-THIS-PROGRAM/m-p/489309#M127736</link>
      <description>&lt;P&gt;Probably easier to just list the digits you want to keep.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;compress(xxx,'01356789','k')&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Aug 2018 15:29:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/HOW-TO-USE-SECOND-ARGUMENT-IN-THIS-PROGRAM/m-p/489309#M127736</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2018-08-23T15:29:17Z</dc:date>
    </item>
  </channel>
</rss>

