SAS Component Language Dictionary |
Category: | System Variable |
Details | |
Example | |
See Also |
Details |
_CURROW_ is a system variable that is created for every SCL program that you compile. The compiler creates a space for _CURROW_ in the SCL data vector. _CURROW_ is updated when the getrow or putrow section of an extended table is executing or when the _getrow or _putrow method of an extended table control is executing. Therefore, _CURROW_ must be referenced only within these sections of an SCL program.
_CURROW_ is available in PROGRAM and FRAME entries.
Example |
The following getrow section of a FRAME entry fetches a row from a previously opened SAS table, using _CURROW_ as the row number.
GET1: if fetchobs( tableid, _currow_ ) ne 0 then call notify('table','endtable'); return;
See Also |
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.