LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (December 2004, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 28 Dec 2004 17:34:17 -0500
Reply-To:     "Howard Schreier <hs AT dc-sug DOT org>" <nospam@HOWLES.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Howard Schreier <hs AT dc-sug DOT org>" <nospam@HOWLES.COM>
Subject:      Re: Creating an empty SAS data set

Try something like:

data empty; stop; set sashelp.class; run;

Result:

NOTE: The data set WORK.EMPTY has 0 observations and 5 variables

I don't understand about black and blue. Is the partition recorded in any way within the dataset (for example, by some naming convention)?

On Tue, 28 Dec 2004 13:58:48 -0800, William Krause <wkrause2003@YAHOO.COM> wrote:

>How do I create an empty data set using the variables from an existing data set? > >There are 100's of variables in the existing sas dataset. > >Also there are two distinct categories of variables - as black and blue in the >existing SAS data set. > >Therefore I want one SAS data set with only black variables >and a second SAS data set with only blue variables. > >How can this be accomplished? I prefer not to use Proc Append with the Force option. > >TIA > >wkrause2003@yahoo.com > > > >--------------------------------- >Do you Yahoo!? > Dress up your holiday email, Hollywood style. Learn more.


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