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 (March 2004, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 2 Mar 2004 15:59:14 +0100
Reply-To:     "Groeneveld, Jim" <jim.groeneveld@VITATRON.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Groeneveld, Jim" <jim.groeneveld@VITATRON.COM>
Subject:      Re: reading part data
Comments: To: Sun Bow <sunbow4u@HOTMAIL.COM>
Content-Type: text/plain; charset="iso-8859-1"

Hi Sunbow,

Instead of reading just the first few observations you also might want to use a more representative (stratified or not) sample. E.g.: DATA Selection; SET Complete (WHERE=(UNIFORM(-1) GT .99)); ................................; RUN;

Regards - Jim. -- . . . . . . . . . . . . . . . .

Jim Groeneveld, MSc. Biostatistician Science Team Vitatron B.V. Meander 1051 6825 MJ Arnhem Tel: +31/0 26 376 7365 Fax: +31/0 26 376 7305 Jim.Groeneveld@Vitatron.com www.vitatron.com

[common disclaimer]

-----Original Message----- From: Sun Bow [mailto:sunbow4u@HOTMAIL.COM] Sent: Tuesday, March 02, 2004 11:17 To: SAS-L@LISTSERV.UGA.EDU Subject: reading part data

Hi, I have a large sas dataset from which i wish to read only a few observations just to test my code.

I know, if the data resides in an external file one could use in file and obs=number to read few observations. Is there a way to read few observations from sas dataset?

Any help is appreciated.

Sunbow


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