<?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: interpreting the SAS code in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/interpreting-the-SAS-code/m-p/59357#M16748</link>
    <description>Hi:&lt;BR /&gt;
  And to supplement Scott's reply:&lt;BR /&gt;
SET statement documentation:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/61722/HTML/default/a001281588.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrcon/61722/HTML/default/a001281588.htm&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/61722/HTML/default/a001107839.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrcon/61722/HTML/default/a001107839.htm&lt;/A&gt;&lt;BR /&gt;
   &lt;BR /&gt;
RENAME option and KEEP documentation:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/61722/HTML/default/a000695119.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrcon/61722/HTML/default/a000695119.htm&lt;/A&gt;&lt;BR /&gt;
    &lt;BR /&gt;
Expressions:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/61722/HTML/default/a000998770.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrcon/61722/HTML/default/a000998770.htm&lt;/A&gt;&lt;BR /&gt;
   &lt;BR /&gt;
PROC PRINT documentation:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a000064113.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a000064113.htm&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
    <pubDate>Thu, 18 Feb 2010 14:04:00 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2010-02-18T14:04:00Z</dc:date>
    <item>
      <title>interpreting the SAS code</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/interpreting-the-SAS-code/m-p/59355#M16746</link>
      <description>Hello ,&lt;BR /&gt;
&lt;BR /&gt;
could you please guide as to what does the following code mean  :&lt;BR /&gt;
&lt;BR /&gt;
data q2vienna;&lt;BR /&gt;
	set sc.aprtarget (rename=(Flight=FlightID&lt;BR /&gt;
					  FClassTar=FTarget&lt;BR /&gt;
					  EClassTar=ETarget))&lt;BR /&gt;
	    sc.maytarget sc.juntarget;&lt;BR /&gt;
	TotTar = sum(FTarget,ETarget);&lt;BR /&gt;
	TotRev = sum(FRev,ERev);&lt;BR /&gt;
	keep FlightID Destination Date TotTar TotRev;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
proc print data=q2vienna;&lt;BR /&gt;
run;</description>
      <pubDate>Thu, 18 Feb 2010 12:51:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/interpreting-the-SAS-code/m-p/59355#M16746</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-02-18T12:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: interpreting the SAS code</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/interpreting-the-SAS-code/m-p/59356#M16747</link>
      <description>First, there is a SAS DATA step - one that is creating a new file (DATA statement) by inputting multiple SAS files (SET statement), one having variables RENAMEd).  Two new SAS variables are computed in assignment statements using the SUM function.  Lastly, the KEEP statements tells the SAS system specifically what variables / columns to output to the file specified on the DATA statement.&lt;BR /&gt;
&lt;BR /&gt;
The DATA step is followed by a SAS PROC step, executing the PRINT procedure, printing all SAS variables in the file WORK.q2vienna.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
Google advanced search argument, this topic/post:&lt;BR /&gt;
&lt;BR /&gt;
data step programming introduction site:sas.com</description>
      <pubDate>Thu, 18 Feb 2010 13:44:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/interpreting-the-SAS-code/m-p/59356#M16747</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-02-18T13:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: interpreting the SAS code</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/interpreting-the-SAS-code/m-p/59357#M16748</link>
      <description>Hi:&lt;BR /&gt;
  And to supplement Scott's reply:&lt;BR /&gt;
SET statement documentation:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/61722/HTML/default/a001281588.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrcon/61722/HTML/default/a001281588.htm&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/61722/HTML/default/a001107839.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrcon/61722/HTML/default/a001107839.htm&lt;/A&gt;&lt;BR /&gt;
   &lt;BR /&gt;
RENAME option and KEEP documentation:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/61722/HTML/default/a000695119.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrcon/61722/HTML/default/a000695119.htm&lt;/A&gt;&lt;BR /&gt;
    &lt;BR /&gt;
Expressions:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/61722/HTML/default/a000998770.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrcon/61722/HTML/default/a000998770.htm&lt;/A&gt;&lt;BR /&gt;
   &lt;BR /&gt;
PROC PRINT documentation:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a000064113.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a000064113.htm&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Thu, 18 Feb 2010 14:04:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/interpreting-the-SAS-code/m-p/59357#M16748</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-02-18T14:04:00Z</dc:date>
    </item>
  </channel>
</rss>

