SAS Component Language Dictionary |
Category: | SAS Table |
Syntax | |
Details | |
Example | |
See Also |
Syntax |
rc=DROPNOTE(table-id|file-id,note-id); |
contains the return code for the operation:
0 | |
0 |
contains the identifier that was assigned when the table or external file was opened. If this variable contains an invalid value, the program halts.
contains the identifier that was assigned by the NOTE or FNOTE function. If note-id contains an invalid value, the program halts.
Details |
DROPNOTE deletes a marker that was set by NOTE or FNOTE.
Example |
Open the SAS table MYDATA, fetch the first row, and set a note ID at the beginning of the table. Return to the first row by calling POINT, and then delete the note ID by calling DROPNOTE.
dsid=open('mydata','i'); rc=fetch(dsid); noteid=note(dsid); /* more SCL statements */ rc=point(dsid,noteid); rc=fetch(dsid); rc=dropnote(dsid,noteid);
See Also |
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.