Chapter Contents

Previous

Next
Data Set Model: _getRow

Data Set Model: _getRow



Reads a row from the table into the data vector class


Syntax
Details

Syntax

CALL SEND (object-id, '_getRow', datavector-id, row-num<, eod>);

Argument Type Description
datavector-id
N specifies the object identifier of an instance of the Data Set Data Vector class. The values for the specified row are stored in the data vector and can be accessed using Data Set Data Vector class methods.
row-num
N specifies the number of the relative row to be read. It becomes the current row.
eod
N returns whether the end of the data has been reached


1 end of data has been reached


0 more records are to be read


Details

If you modify the current row in the table, you must use the _updateRow method before calling the _getRow method.

After calling _getRow, you can use the _getColumnText and _getColumnValue methods of the Data Set Model class or the _getText and _getValue methods of the Data Set Data Vector class to retrieve the values read from the table.

The _getRow 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.