<?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: Keep record but suppress field in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Keep-record-but-suppress-field/m-p/625444#M184340</link>
    <description>&lt;P&gt;Like this?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;by CTR;
if first.CTR then PAID_FOUND=0;
if STATUS='Paid' then 
  if PAID_FOUND then STATUS=' '; else PAID_FOUND+1;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Feb 2020 21:06:11 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2020-02-17T21:06:11Z</dc:date>
    <item>
      <title>Keep record but suppress field</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Keep-record-but-suppress-field/m-p/625277#M184283</link>
      <description>&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; have;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;length&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ctr Status &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;$25.&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;input&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ctr cnt cnt2 Status;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;return&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;datalines&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4544 2 1 Paid&lt;/P&gt;
&lt;P&gt;4544 3 1 Paid&amp;nbsp; /*suppress the name paid but keep record*/&lt;/P&gt;
&lt;P&gt;4544 4 1 Paid&lt;/P&gt;
&lt;P&gt;4544 5 1 Paid&lt;/P&gt;
&lt;P&gt;4465 10 1&lt;/P&gt;
&lt;P&gt;4465 5 1&lt;/P&gt;
&lt;P&gt;4475 1 0&lt;/P&gt;
&lt;P&gt;4475 2 0 Paid&lt;/P&gt;
&lt;P&gt;4475 3 1 Paid /*suppress the name paid but keep record*/&lt;/P&gt;
&lt;P&gt;4476 5 2&lt;/P&gt;
&lt;P&gt;4476 6 1 Paid&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;Is there a way to keep all record however suppress the name "Paid" after it shows the first time? So in a series per ctr, if the status is "Paid", I want to see it displayed on the first instance only but keep all record.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2020 14:32:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Keep-record-but-suppress-field/m-p/625277#M184283</guid>
      <dc:creator>Q1983</dc:creator>
      <dc:date>2020-02-17T14:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Keep record but suppress field</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Keep-record-but-suppress-field/m-p/625288#M184290</link>
      <description>See it displayed in what?  &lt;BR /&gt;&lt;BR /&gt;What have you tried so far?</description>
      <pubDate>Mon, 17 Feb 2020 14:49:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Keep-record-but-suppress-field/m-p/625288#M184290</guid>
      <dc:creator>tomrvincent</dc:creator>
      <dc:date>2020-02-17T14:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Keep record but suppress field</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Keep-record-but-suppress-field/m-p/625348#M184303</link>
      <description>Use SET and BY CTR, maybe add NOTSORTED if the data is grouped by CTR, but not sorted. The use&lt;BR /&gt;if not first.ctr then Status = " ";&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Feb 2020 16:58:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Keep-record-but-suppress-field/m-p/625348#M184303</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2020-02-17T16:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Keep record but suppress field</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Keep-record-but-suppress-field/m-p/625444#M184340</link>
      <description>&lt;P&gt;Like this?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;by CTR;
if first.CTR then PAID_FOUND=0;
if STATUS='Paid' then 
  if PAID_FOUND then STATUS=' '; else PAID_FOUND+1;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2020 21:06:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Keep-record-but-suppress-field/m-p/625444#M184340</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-02-17T21:06:11Z</dc:date>
    </item>
  </channel>
</rss>

