home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: bit.listserv.sas-l
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!hobbes.physics.uiowa.edu!news.uiowa.edu!news.weeg.uiowa.edu!mford
- From: mford@news.weeg.uiowa.edu (Mark Ford)
- Subject: SAS/AF Locate command and indexes
- Message-ID: <1992Jul27.210550.15622@news.weeg.uiowa.edu>
- Organization: University of Iowa, Iowa City, IA, USA
- Distribution: usa
- Date: Mon, 27 Jul 1992 21:05:50 GMT
- Lines: 14
-
- I am working on a SAS/AF application under the VMS SAS606 environment.
- My application uses the LOCATEC command to search a SAS data set for a match
- of the given variable. (In this case an ID code). To make the search faster
- I would like to use the binary search method. The data set is also indexed
- on the ID code. Can I use the LOCATEC binary search on the indexed variable
- without having to sort the data set after any adds or deletes? I have had
- trouble doing this. After adding an observation I had to sort the data set for
- the LOCATEC command to find that observation. Should the index do this or
- does the SAS index only work with WHERE and BY clauses?
-
- Thank you.
- Mark Ford.
- mford@umaxc.weeg.uiowa.edu
-
-