Chapter Contents |
Previous |
Next |
OBSINFO |
Category: | SAS Table |
Valid: | FSEDIT programs only |
Syntax | |
Example | |
See Also |
Syntax |
rc=OBSINFO(info-item); |
Type: Numeric
'ALTER'
0 | The row cannot be edited. If ALTER=0 and LOCKED=0, the row is open in FSBROWSE. If ALTER=0 and LOCKED=1, the row is open in FSEDIT, but the row is locked. |
1 | The row can be edited. If ALTER=1 and LOCKED=0, then the row is open in FSEDIT. |
'CUROBS'
n | The number of the row. |
-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.
'DELETED'
1 | The row is marked for deletion. |
0 | The row is not marked for deletion. |
'LOCKED'
1 | The row is locked. |
0 | The row is not locked. |
'MODIFIED'
1 | Either column has been changed or the row is new. |
0 | No table columns have been changed. |
'NEW'
1 | The row is new. |
0 | The row already exists in the table. |
Type: Character
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 |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.