Date: Wed, 6 Jun 2001 19:02:34 +0100
Reply-To: John Whittington <John.W@MEDISCIENCE.CO.UK>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: John Whittington <John.W@MEDISCIENCE.CO.UK>
Subject: Re: How to make a dataset with 0 observations?
In-Reply-To: <E157hPf-0000Lk-00@relay1.netnames.net>
Content-Type: text/plain; charset="us-ascii"
At 13:24 06/06/01 -0400, Shilling, Brian [PRI] wrote:
>you could shorten the keystrokes even more by leaving out the data set name;
>
>data;
>x=y;
>stop;
>run;
>
>would create a work dataset called DATA1.
Well, it might! It might also create a dataset called DATA273 (or
whatever!) depending upon what else had been happening in the programme;
it therefore could be a little difficult to 'reference' it!
>How is that for messy?
Far from full marks, I fear - (a) you didn't omit the RUN statement and (b)
you wrote each statement on a different lining, 'wasting' CR keystrokes :-)
Kind Regards
John
----------------------------------------------------------------
Dr John Whittington, Voice: +44 (0) 1296 730225
Mediscience Services Fax: +44 (0) 1296 738893
Twyford Manor, Twyford, E-mail: John.W@mediscience.co.uk
Buckingham MK18 4EL, UK mediscience@compuserve.com
----------------------------------------------------------------
|