Well ,lets create a ds ‘two’ having only even numbered obs from ds ‘one’ .
/* create sample data set */
data one;
do i=1 to 10;
output;
end;
run;
data two;
set one;
if mod(i,2)=0 then output;/*outputs only even obs*/
run;
proc print;
run;
/* RESULTS */
Obs i
1 2
2 4
3 6
4 8
5 10
hi, let us study how to generate different report formats in sas using different techniques and sas procedures..we will also learn how to customize the layout of the reports as per the requirement using the power of sas.. Discalimer-:This blog is for sharing the knowledge that i have gained .i do not calim the ownership of the original content that is included in the blog.SAS is a trademark of SAS ,usa.
Showing posts with label mod(). Show all posts
Showing posts with label mod(). Show all posts
Sunday, July 12, 2009
Subscribe to:
Posts (Atom)
Send link to --

The Little Web Directory
Monster Directory A List Sites