| Date: | Mon, 25 Feb 2008 03:46:15 +0000 |
| Reply-To: | jay.wind@ATT.NET |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Jay Jacob Wind <jay.wind@ATT.NET> |
| Subject: | creating dummy records |
|
Keith W. Larson" asked how to create dummy records for a screening of "The Birds" or something like that.
Do this:
data littlebirdies;
catpures=.;
do species="YWAR","AUWA","PUFI","SWTH";
do station="CABN","ODES";
do year=1997,1998,1999,2000;
output;
end;
end;
end;
data bigbirdies;
merge littlebirdies test;
by species station test;
run;
I have one last suggestion.
rename catpures=captures;
|