![]() Chapter Contents |
![]() Previous |
![]() Next |
| POINT |
| Category: | SAS Table |
| Syntax | |
| Details | |
| Example | |
| See Also |
Syntax |
| sysrc=POINT(table-id,note-id); |
| 0 | successful |
0 |
not successful |
Type: Numeric
Type: Numeric
Type: Numeric
| Details |
POINT locates the row identified by note-id, which is a value that is returned from NOTE. The Table Data Vector is not updated until a "read" is performed by FETCH or FETCHOBS.
| Example |
Call NOTE to obtain a row ID for the last row that was read in the SAS table MYDATA. Call POINT to point to the row that corresponds to note-id. Call FETCH to return the row that is marked by the pointer.
dsid=open('mydata','i');
rc=fetch(dsid);
noteid=note(dsid);
...more SCL statements...
rc=point(dsid,noteid);
rc=fetch(dsid);
...more SCL statements...
rc=close(dsid);
| See Also |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.