Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
CONDITION z/OS TSO/E REXX Reference SA32-0972-00 |
|
>>-CONDITION(--+--------+--)----------------------------------->< '-option-' returns the condition information associated with
the current trapped
condition. (See Conditions and condition traps for a description
of condition traps.) You can request the following pieces of information:
To select the information to return, use the following options.
(Only the capitalized and highlighted letter is needed; all characters
following it are ignored.)
If no condition has been trapped, then the CONDITION function returns a null string in all four cases. Here
are some examples:
The CONDITION function returns condition information that is saved and restored across subroutine calls (including those a CALL ON condition trap causes). Therefore, after a subroutine called with CALL ON trapname has returned, the current trapped condition reverts to the condition that was current before the CALL took place (which may be none). CONDITION returns the values it returned before the condition was trapped. |
Copyright IBM Corporation 1990, 2014
|