Chapter Contents |
Previous |
Next |
DROPNOTE |
Category: | SAS File I/O |
Category: | External Files |
Syntax | |
Arguments | |
Details | |
Examples | |
See Also |
Syntax |
DROPNOTE(data-set-id|file-id,note-id) |
Details |
DROPNOTE deletes a marker set by NOTE or FNOTE. It returns a 0 if successful and 0 if not successful.
Examples |
This example opens the SAS data set MYDATA, fetches the first observation, and sets a note ID at the beginning of the data set. It uses POINT to return to the first observation, and then uses DROPNOTE to delete the note ID:
%let dsid=%sysfunc(open(mydata,i)); %let rc=%sysfunc(fetch(&dsid)); %let noteid=%sysfunc(note(&dsid)); more macro statements %let rc=%sysfunc(point(&dsid,¬eid)); %let rc=%sysfunc(fetch(&dsid)); %let rc=%sysfunc(dropnote(&dsid,¬eid));
See Also |
Functions:
|
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.