| Date: | Mon, 3 Jun 2002 20:51:11 +0000 |
| Reply-To: | mohandas sundareswaran <macmohan_das@HOTMAIL.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | mohandas sundareswaran <macmohan_das@HOTMAIL.COM> |
| Subject: | Proc Report |
| Content-Type: | text/html |
|---|
<html><div style='background-color:'><DIV></DIV>
<DIV></DIV><FONT size=2>
<P>Hi </P>
<P>I had a question ?</P>
<P>while using proc report can i do a compute as below </P>
<P>Define Chg_Cost_Py /computed Format =7.;</P>
<P>Compute Chg_Cost_Py;</P>
<P>if Pytd_Cost ne 0 then </P>
<P>Chg_Cost_Py = (Cytd_Cost -</P>
<P>Pytd_Cost)*100/Pytd_Cost; /*AC*/</P>
<P>else </P>
<P>Chg_Cost_Py =0;</P>
<P>endcomp;</P>
<P>or do i need to do it as below </P>
<P>Define Chg_Cost_Py /computed Format =7.;</P>
<P>Compute Chg_Cost_Py;</P>
<P>if Pytd_Cost.sum ne 0 then </P>
<P>Chg_Cost_Py = (Cytd_Cost.sum -</P>
<P>Pytd_Cost.sum)*100/Pytd_Cost.sum; /*AC*/</P>
<P>else </P>
<P>Chg_Cost_Py =0;</P>
<P>endcomp;</P></FONT><BR><BR><BR>
<H4>Keep Smiling </H4>Mohandas Sundareswaran
<DIV></DIV>
<DIV></DIV>
<DIV></DIV></div><br clear=all><hr>Send and receive Hotmail on your mobile device: <a href='http://g.msn.com/1HM303401/38'>Click Here</a><br></html>
|