LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (May 2000, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 25 May 2000 15:55:52 +0200
Reply-To:     "Hellriegel, Gerhard" <Gerhard.Hellriegel@TELEKOM.DE>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Hellriegel, Gerhard" <Gerhard.Hellriegel@TELEKOM.DE>
Subject:      Re: create empty dataset
Content-Type: text/plain; charset="iso-8859-1"

try it with:

data new; length post1 post2 post3 8; /* or length xxx $100 if it is a character var */ stop; run;

---------------------------------------------- Gerhard Hellriegel DeTeCSM / SLM Im Leuschnerpark 4 64347 Griesheim Tel.: +49 6151 818 9806 Fax: +49 6151 818 9611 Mobil: 0171 2263497 e-mail: gerhard.hellriegel@telekom.de privat: ghellrieg@t-online.de ----------------------------------------------

> -----Urspr> üngliche Nachricht----- > Von: "Bråten, Arne" [SMTP:Arne.Braten@NORGES-BANK.NO] > Gesendet am: Donnerstag, 25. Mai 2000 08:06 > An: SAS-L@LISTSERV.UGA.EDU > Betreff: create empty dataset > > How do I create an empty dataset (no observations), with variables? > > I've tried this, which does not work? > > data new; > var post1 post2 post3; > > Could it be done throug proc sql? > > Arne Bråten


Back to: Top of message | Previous page | Main SAS-L page