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 (July 2008, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 11 Jul 2008 13:22:54 -0400
Reply-To:     KNuako <asom77@HOTMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         KNuako <asom77@HOTMAIL.COM>
Subject:      Separating SAS output (obs) into datasets
Content-Type: text/plain; charset=ISO-8859-1

Hi, Could someone provide me with the code to keep different observations in specified datasets?

For instance I have this output from SAS:

Obs var1 var2 var3 1 7 1 4 2 0 0 8 3 9 9 9 4 5 6 2 5 8 1 1 6 2 3 2 7 0 0 7

• I want to create 3 separate new datasets and keep the observations there. eg. Dataset1 should have obs 1 and 2, dataset2 should contain obs 3 & 4 and dataset 3 should have obs 5 to7.


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