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 (September 1997, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 4 Sep 1997 22:49:16 GMT
Reply-To:     Evan Cooch <cooch@FRASER.SFU.CA>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         Evan Cooch <cooch@FRASER.SFU.CA>
Organization: Simon Fraser University
Subject:      SAS 6.10 | UNIX | point option

This is driving me nuts, and after RTFM, I still can't figure it out.

I want to sample with replacement from a data set. I use the following code:

data test; input x; cards; 1 2 3 4 5 6 7 8 9 10 *;

data random; pt=ceil(nobs*uniform(0)); set test point=pt nobs=nobs; n+1; y=1; x+1; if n>=11 then stop;

Now, this work 100% perfectly when I run this under Windows/95 - using SAS 6.10, 6.11 or 6.12.

However, as soon as I try to run this exact same code under UNIX (IRIX 5.4 on an SGI workstation), I get the following error message:

ERROR: The POINT= data set option is not valid for the data set WORK.TEST, the data set must be accessible by observation number for POINT= processing. NOTE: The SAS System stopped processing this step because of errors. NOTE: SAS set option OBS=0 and will continue to check statements. This may cause NOTE: No observations in data set.

So what gives? As I note above, I can't find ANYTHING in the SAS UNIX companion that gives me any clue whatsoever.

Thanks much in advance...

Evan Cooch cooch@sfu.ca


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