Reading the next record from set associated with cursor¶
next |
Read next record from set associated with cursor |
SYNTAX
next cursor_id [nsr = label]…
Read the next record from the set that was retrieved and associated with this cursor by execution of an sql command.
If the last record in the set has already been read, an error is generated. This condition may be trapped by nsr, in which case control passes to the line indicated by label. See Traps.
RELATED TOPICS |