<?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 write the code to remove loans that have payment Center that ends in 30 or 35 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-write-the-code-to-remove-loans-that-have-payment-Center/m-p/527931#M144022</link>
    <description>Indeed I forgot the colon.  Thank you.</description>
    <pubDate>Thu, 17 Jan 2019 06:15:10 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2019-01-17T06:15:10Z</dc:date>
    <item>
      <title>How to write the code to remove loans that have payment Center that ends in 30 or 35</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-write-the-code-to-remove-loans-that-have-payment-Center/m-p/527901#M144011</link>
      <description>&lt;P&gt;How to write the code to remove loans that have payment Center that ends in 30 or 35 in SAS EG and also in SAS VA&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 01:33:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-write-the-code-to-remove-loans-that-have-payment-Center/m-p/527901#M144011</guid>
      <dc:creator>QAMARSULTANA</dc:creator>
      <dc:date>2019-01-17T01:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to write the code to remove loans that have payment Center that ends in 30 or 35</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-write-the-code-to-remove-loans-that-have-payment-Center/m-p/527903#M144013</link>
      <description>&lt;P&gt;This entry enters the competition for shortest question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One way:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;where reverse(catt(CENTER)) not in: ('53','03')&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;[Edited] colon added. Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4954"&gt;@Astounding&lt;/a&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 20:32:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-write-the-code-to-remove-loans-that-have-payment-Center/m-p/527903#M144013</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-01-17T20:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to write the code to remove loans that have payment Center that ends in 30 or 35</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-write-the-code-to-remove-loans-that-have-payment-Center/m-p/527905#M144015</link>
      <description>Is Payment Centre numeric or character? Are you programming or using the GUI.</description>
      <pubDate>Thu, 17 Jan 2019 01:49:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-write-the-code-to-remove-loans-that-have-payment-Center/m-p/527905#M144015</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-17T01:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to write the code to remove loans that have payment Center that ends in 30 or 35</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-write-the-code-to-remove-loans-that-have-payment-Center/m-p/527915#M144017</link>
      <description>&lt;P&gt;This looks promising, but should add a colon:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;where reverse(catt(CENTER)) not in : ('53','03')&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 03:49:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-write-the-code-to-remove-loans-that-have-payment-Center/m-p/527915#M144017</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2019-01-17T03:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to write the code to remove loans that have payment Center that ends in 30 or 35</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-write-the-code-to-remove-loans-that-have-payment-Center/m-p/527931#M144022</link>
      <description>Indeed I forgot the colon.  Thank you.</description>
      <pubDate>Thu, 17 Jan 2019 06:15:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-write-the-code-to-remove-loans-that-have-payment-Center/m-p/527931#M144022</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-01-17T06:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to write the code to remove loans that have payment Center that ends in 30 or 35</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-write-the-code-to-remove-loans-that-have-payment-Center/m-p/527936#M144024</link>
      <description>&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;Challenge accepted&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;where&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; prxmatch(&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New"&gt;"m/^.*(35|30)\s*$/"&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;,CENTER)=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New"&gt;or even&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;if &lt;/FONT&gt;&lt;FONT face="Courier New"&gt;prxmatch(&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New"&gt;"m/^.*(35|30)\s*$/"&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;,CENTER)=0;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 07:27:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-write-the-code-to-remove-loans-that-have-payment-Center/m-p/527936#M144024</guid>
      <dc:creator>Oligolas</dc:creator>
      <dc:date>2019-01-17T07:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to write the code to remove loans that have payment Center that ends in 30 or 35</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-write-the-code-to-remove-loans-that-have-payment-Center/m-p/527961#M144026</link>
      <description>&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;prxmatch(&lt;/FONT&gt;&lt;FONT face="Courier New" color="#800080"&gt;"/3[50] *$/"&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;,CENTER)=0;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 09:51:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-write-the-code-to-remove-loans-that-have-payment-Center/m-p/527961#M144026</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-01-17T09:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to write the code to remove loans that have payment Center that ends in 30 or 35</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-write-the-code-to-remove-loans-that-have-payment-Center/m-p/528065#M144066</link>
      <description>It is numeric,&lt;BR /&gt;The code that I wrote was,&lt;BR /&gt;proc sql;&lt;BR /&gt;create table Sample as&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;select distinct&lt;BR /&gt;b.mktDesc,&lt;BR /&gt;a.acctno as Loan_Number ,&lt;BR /&gt;a.acctSName ,&lt;BR /&gt;a.balToday,&lt;BR /&gt;a.commitment,&lt;BR /&gt;a.TDR,&lt;BR /&gt;d.SICD ,&lt;BR /&gt;a.PD,&lt;BR /&gt;a.LGD,&lt;BR /&gt;a.pastDue,&lt;BR /&gt;a.user1 ,&lt;BR /&gt;c.offcrname,&lt;BR /&gt;a.timeid,&lt;BR /&gt;a.costCenter&lt;BR /&gt;from everest.loans a&lt;BR /&gt;left join everest.loanMaster b&lt;BR /&gt;on a.acctno = b.acctno&lt;BR /&gt;left join everest.loanOfficer c&lt;BR /&gt;on a.offcrCde = c.offcrid&lt;BR /&gt;left join WORK.sic d&lt;BR /&gt;on a.acctno=d.acctno&lt;BR /&gt;where a.timeid = "&amp;amp;CM."&lt;BR /&gt;and a.restructFlg = 'Y'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;and a.commitment not in (0)&lt;BR /&gt;Order by a.commitment desc, a.baltoday desc;&lt;BR /&gt;&lt;BR /&gt;quit;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;But now I have too remove loans that have costCenter that ends in 20 or&lt;BR /&gt;25.&lt;BR /&gt;&lt;BR /&gt;Help me out with this.&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Jan 2019 15:20:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-write-the-code-to-remove-loans-that-have-payment-Center/m-p/528065#M144066</guid>
      <dc:creator>QAMARSULTANA</dc:creator>
      <dc:date>2019-01-17T15:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to write the code to remove loans that have payment Center that ends in 30 or 35</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-write-the-code-to-remove-loans-that-have-payment-Center/m-p/528073#M144070</link>
      <description>&lt;P&gt;When the value is numeric you would want&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;mod(variable,100) in (30 35)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the MOD function returns the remainder when dividing the variable by the second parameter&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 15:43:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-write-the-code-to-remove-loans-that-have-payment-Center/m-p/528073#M144070</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-01-17T15:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to write the code to remove loans that have payment Center that ends in 30 or 35</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-write-the-code-to-remove-loans-that-have-payment-Center/m-p/528084#M144075</link>
      <description>Use PUT(varNAME, 8. -l) to convert it to a character.</description>
      <pubDate>Thu, 17 Jan 2019 16:15:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-write-the-code-to-remove-loans-that-have-payment-Center/m-p/528084#M144075</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-17T16:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to write the code to remove loans that have payment Center that ends in 30 or 35</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-write-the-code-to-remove-loans-that-have-payment-Center/m-p/528146#M144102</link>
      <description>&lt;P&gt;The very first reply you got works&amp;nbsp;for both numbers and strings.&lt;/P&gt;
&lt;P&gt;Have you tried?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 20:30:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-write-the-code-to-remove-loans-that-have-payment-Center/m-p/528146#M144102</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-01-17T20:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to write the code to remove loans that have payment Center that ends in 30 or 35</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-write-the-code-to-remove-loans-that-have-payment-Center/m-p/528227#M144129</link>
      <description>I get this error message&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;53 left join WORK.sic d&lt;BR /&gt;54 on a.acctno=d.acctno&lt;BR /&gt;55 where prxmatch("m/^.*(35|30)\s*$/",costCenter)=0&lt;BR /&gt;2 The SAS&lt;BR /&gt;System 20:56 Thursday, January 17, 2019&lt;BR /&gt;56&lt;BR /&gt;57 and a.timeid = "&amp;amp;CM."&lt;BR /&gt;58 and a.restructFlg = 'Y'&lt;BR /&gt;59&lt;BR /&gt;60&lt;BR /&gt;61 and a.commitment not in (0)&lt;BR /&gt;62 Order by a.commitment desc, a.baltoday desc;&lt;BR /&gt;ERROR: Function PRXMATCH requires a character expression as argument 2.&lt;BR /&gt;ERROR: Expression using equals (=) has components that are of different&lt;BR /&gt;data types.&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Jan 2019 03:15:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-write-the-code-to-remove-loans-that-have-payment-Center/m-p/528227#M144129</guid>
      <dc:creator>QAMARSULTANA</dc:creator>
      <dc:date>2019-01-18T03:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to write the code to remove loans that have payment Center that ends in 30 or 35</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-write-the-code-to-remove-loans-that-have-payment-Center/m-p/528247#M144145</link>
      <description>&lt;P&gt;Your variable is numeric. Use the cat function. &lt;/P&gt;</description>
      <pubDate>Sat, 19 Jan 2019 05:56:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-write-the-code-to-remove-loans-that-have-payment-Center/m-p/528247#M144145</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-01-19T05:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to write the code to remove loans that have payment Center that ends in 30 or 35</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-write-the-code-to-remove-loans-that-have-payment-Center/m-p/528262#M144156</link>
      <description>&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;if&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; ^prxmatch(&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New"&gt;"/3[50] *$/"&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;,CENTER);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New"&gt;considering the new requirements:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New"&gt;^prxmatch(&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New"&gt;"/2[50]$/"&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;,catt(CENTER));&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 08:07:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-write-the-code-to-remove-loans-that-have-payment-Center/m-p/528262#M144156</guid>
      <dc:creator>Oligolas</dc:creator>
      <dc:date>2019-01-18T08:07:40Z</dc:date>
    </item>
  </channel>
</rss>

