Previous Page | Next Page

SAS Component Language Dictionary

DROPNOTE



Deletes a note marker from either a SAS table or an external file
Category: SAS Table

Syntax
Details
Example
See Also

Syntax

rc=DROPNOTE(table-id|file-id,note-id);

rc

contains the return code for the operation:

0

successful

[ne]0

not successful

Type: Numeric

table-id or file-id

contains the identifier that was assigned when the table or external file was opened. If this variable contains an invalid value, the program halts.

Type: Numeric

note-id

contains the identifier that was assigned by the NOTE or FNOTE function. If note-id contains an invalid value, the program halts.

Type: Numeric


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

FNOTE

FPOINT

NOTE

POINT

Previous Page | Next Page | Top of Page