| Date: | Tue, 5 Mar 2002 22:38:44 -0500 |
| Reply-To: | Sigurd Hermansen <hermans1@WESTAT.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Sigurd Hermansen <hermans1@WESTAT.COM> |
| Subject: | Re: tip: copy structure |
|
Not commentary so much as a subtle reminder to check the SAS SQL manual for
Create table like xyz;
Sig
On Mon, 4 Mar 2002 14:30:48 -0500, Fehd, Ronald J. <rjf2@CDC.GOV> wrote:
>while polishing my (in)famous 800-lb gorilla/800-line program
>I saw that it would make debugging immensely easier
>if I copied structures from the library members soon to be appended to.
>
>DATA XY;X = 1;Y=2;OUTPUT;STOP;
>DATA YX;Y = 1;X=2;OUTPUT;STOP;
>DATA XYZ;
>if 0 then set XY;%*copy structure;
> %*(obs=0) not needed;
>set YX;
>PROC PRINT data = XYZ;
>RUN;
>
>commentary?
>
>Ron Fehd the macro maven CDC Atlanta GA USA RJF2@cdc.gov
>
>If you think I know what I'm doing
>it's probably because you know even less about it.
>-- Pot-Shots by Ashleigh Brilliant
|