<?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 Retain Question in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Retain-Question/m-p/526461#M5090</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am very new to SAS &amp;amp; SCL (SAS Component Language), but I have some experience with Object-Oriented Languages in my past. I am currently working on&amp;nbsp;some SCL code for a form, and I am currently stuck on how to handle this situation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Issue:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I press&amp;nbsp;a button on a form I am working on, it pulls up a SAS table. However, I would like to adjust the columns before the table opens up by using a 'Retain' statement. Is it possible to run this type of SAS statement from a button that uses SCL? If so, how would I go about doing this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Fri, 11 Jan 2019 19:33:45 GMT</pubDate>
    <dc:creator>mdlucas1</dc:creator>
    <dc:date>2019-01-11T19:33:45Z</dc:date>
    <item>
      <title>Retain Question</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Retain-Question/m-p/526461#M5090</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am very new to SAS &amp;amp; SCL (SAS Component Language), but I have some experience with Object-Oriented Languages in my past. I am currently working on&amp;nbsp;some SCL code for a form, and I am currently stuck on how to handle this situation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Issue:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I press&amp;nbsp;a button on a form I am working on, it pulls up a SAS table. However, I would like to adjust the columns before the table opens up by using a 'Retain' statement. Is it possible to run this type of SAS statement from a button that uses SCL? If so, how would I go about doing this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 19:33:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Retain-Question/m-p/526461#M5090</guid>
      <dc:creator>mdlucas1</dc:creator>
      <dc:date>2019-01-11T19:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Retain Question</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Retain-Question/m-p/526481#M5092</link>
      <description>&lt;P&gt;Are you working in SAS/AF or SAS/FSP or a different development environment?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In SAS/AF the initial block of the object would allow you to filter data on either an environment variable value or&amp;nbsp; fixed code but the statement involved would most likely be either a KEEP (to keep variables) or DROP to remove variables. Basically similar but the syntax to list the explicit variables is usually shorter using one option over the other; want 5 of 50 variables then use Keep to list the 5, want 45 of 50 variables use Drop to remove the ones you don't.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;RETAIN&amp;nbsp; is used to make the value of a variable propagate across records in a data step.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 20:23:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Retain-Question/m-p/526481#M5092</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-01-11T20:23:35Z</dc:date>
    </item>
  </channel>
</rss>

