Rexx provides environment
objects that all programs can use. To access these built-in
objects, you use their environment symbols whose first character
is a period (
.).
.line
|
The.lineenvironment symbol returns the line number of the current
instruction being executed. If the current instruction is defined within an INTERPRET
instruction, the value returned is the line number of INTERPRET instruction.
|
.rs
|
.rsis set to the return status from any executed command, including
those submitted with the ADDRESS instruction. The.rsenvironment symbol has
a value of-1when a command returns a
FAILURE condition, a value of1when
a command returns an ERROR condition, and
a value of0when a command indicates
successful completion. The value of.rsis also available after trapping the
ERROR or FAILURE condition.
Note |
Tracing interactively does not
change the value of.rs. The initial value of.rsis0. |
|