Go Back   Rhinocerus > Newsgroup > Newsgroup comp.soft-sys.sas

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 05-25-2006, 06:39 PM
Nordlund, Dan
Guest
 
Posts: n/a
Default Re: Point function: something's wrong in my code

> -----Original Message-----
> From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Kitty
> Lee
> Sent: Thursday, May 25, 2006 9:57 AM
> To: SAS-L@LISTSERV.UGA.EDU
> Subject: Re: Point function: something's wrong in my code
>
> The index and key function works well. The reason why I used POINT is
> because of a demonstration given by Muthia Kachirayan. (see post 199231
> 06/03/29). In that example, POINT works well. However I couldn't get it to
> work in my own code. I browsed through the SAS HELP document. Seems like
> POINT and KEY can do similar things, though they can't be used together.
>
> K.
>
>


Kitty,

In this situation, using key= does a lookup based on the variable value.
Using Point= essentially specifies the physical row number of the dataset
which you want to retrieve. The reason it worked in the example you cited
was that ID was equal to the row number in the MASTER dataset.

Hope this is helpful,

Dan

Daniel J. Nordlund
Research and Data Analysis
Washington State Department of Social and Health Services
Olympia, WA 98504-5204
Reply With Quote
Alt Today
Advertising
 
and become member of Rhinocerus
Standard Sponsored Links

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Friday Contest: What's wrong with this code? Chang Chung Newsgroup comp.soft-sys.sas 0 12-15-2008 02:44 PM
Re: Include code based on data set variable Chang Chung Newsgroup comp.soft-sys.sas 0 05-13-2008 05:32 PM
Re: SQL Median Function Should be Critical Alert Tech Support nospam@HOWLES.COM (Howard Schreier Newsgroup comp.soft-sys.sas 0 08-21-2006 12:08 AM
SCL Joe (was RE: macro structure) Gregg P. Snell Newsgroup comp.soft-sys.sas 0 06-27-2006 07:59 PM
Re: What's wrong with this macro? Thank you Ian Whitlock Newsgroup comp.soft-sys.sas 0 11-11-2004 08:29 PM



All times are GMT. The time now is 03:58 PM.


Copyright ©2009

LinkBacks Enabled by vBSEO 3.3.0 RC2 © 2009, Crawlability, Inc.