KEYR() - BBj Key Requested Function
Syntax
KEYR( channelno {,ERR= lineref }{,DOM= lineref })
Description
In BBj 15.00 and higher, the KEYR() function returns the most recent value passed in a KEY= option for any I/O verb on the specified file channel.
|
Parameter |
Description |
|---|---|
|
channelno |
Valid channel number. |
|
ERR=lineref |
Branch to be taken if an error occurs during execution. |
|
DOM=lineref |
Branch to be taken if no KEY= option has been used with the specified channel. (!ERROR=11). If both DOM= and ERR= are specified, DOM= takes precedence for !ERROR=11. |
Example
|