| SAS Component Language Dictionary |
| Category: | SAS Table |
| Valid: | FSEDIT programs only |
| Syntax | |
| Example | |
| See Also |
Syntax |
| rc=OBSINFO(info-item); |
is one information item from the following list:
reports whether the currently displayed row can be edited:
reports the number of the current row:
| n | |
| -1 |
The table is accessed using an engine that does not support row numbers. |
CUROBS returns a missing value (.) when there are no rows in the table, when no rows meet the specified WHERE condition, and when you are on a deleted row.
reports whether the currently displayed row is marked for deletion:
| 1 | |
| 0 |
reports whether the currently displayed row is locked by another user:
| 1 | |
| 0 |
reports whether a value has been changed in any table column in the currently displayed row or the row is new:
| 1 | |
| 0 |
Reports whether the currently displayed row is a new row:
| 1 | |
| 0 |
| Example |
Return information for the row that is currently displayed in the FSEDIT window:
rc=obsinfo('curobs'); rc=obsinfo('deleted'); rc=obsinfo('locked'); rc=obsinfo('new'); rc=obsinfo('modified');
| See Also |
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.