Chapter Contents |
Previous |
Next |
Data Set Model: _gotoAbsoluteRow |
Syntax | |
Details |
Syntax |
CALL SEND (object-id, '_gotoAbsoluteRow', abs-row<, rel-row>); |
Argument | Type | Description |
---|---|---|
abs-row |
N | specifies the absolute row number to be read. If the abs-row value is greater than the number of rows in the table, the last row in the table becomes the current row. |
rel-row |
N | returns the relative row number for the row that is now current. |
Details |
If you modify the current row in the table, you must use the _updateRow method before calling the _gotoAbsoluteRow method.
The _gotoAbsoluteRow method returns an error when the access engine used to read the table does not support access by absolute row number or when a permanent or temporary WHERE clause is in effect.
The _gotoAbsoluteRow method uses the last Data Set Data Vector. You cannot call the _gotoAbsoluteRow method until you pass a Data Set Data Vector instance to another method of this object, such as the _getRow method.
The _gotoAbsoluteRow method sets SYSRC for error, note, and warning conditions.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.