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 (March 2000, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 1 Mar 2000 10:42:45 +0100
Reply-To:   detecsm_hellriegelg@WESTLB.DE
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Gehard Hellriegel <detecsm_hellriegelg@WESTLB.DE>
Subject:   Re: Q: empty dataset
Content-type:   text/plain; charset=us-ascii

I don't understand, where's your problem! What do you want to do? Create another dataset from your empty one with the same structure? The following log shows, that this is no problem:

58 data test; 59 length a $11 b $20 c 8; stop; 60 run;

NOTE: Variable A is uninitialized. NOTE: Variable B is uninitialized. NOTE: Variable C is uninitialized. NOTE: The data set WORK.TEST has 0 observations and 3 variables. NOTE: The DATA statement used 0.29 seconds.

61 62 data xy; 63 set test; 64 run;

NOTE: The data set WORK.XY has 0 observations and 3 variables. NOTE: The DATA statement used 0.25 seconds.

Or what is it, what you want to do with TEST? Add FSEDIT? No problem:

data test; length a $11 b $20 c 8; stop; run;

proc fsedit data=test; run;

What is it????

jzhang@QRRG.QUINTILES.COM on 01.03.2000 06:59:52

Bitte antworten an jzhang@QRRG.QUINTILES.COM

An: SAS-L@LISTSERV.UGA.EDU Kopie: (Blindkopie: DeTeCSM HellriegelG/D/ExternalStaff/WLB) Thema: Q: empty dataset

To SAS-Listserv:

I have a sas dataset, only with variable names and no any observations. I use it to create another SAS dataset for my analysis.

I find out it not working as the dataset is empty. Do anybody have some ideas how to overcome it?

TIA.

John Zhang

Mit freundlichen Gruessen

DeTeCSM, Gerhard Hellriegel

WestLB Abteilung: 001-80622 Aderstr. 22 D - 40217 Duesseldorf Tel.: +49211 826 6173 Fax: +49211 826 5393


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