When any condition is trapped and causes a SIGNAL or CALL, this becomes the current trapped condition, and certain condition information associated with it is recorded.
The condition information includes:
The current condition information is replaced when control is passed to a label as the result of a condition trap (CALL ON or SIGNAL ON). Condition information is saved and restored across subroutine or function calls, including one because of a CALL ON trap.Therefore, a routine called by a CALL ON can access the appropriate condition information. Any previous condition information is still available after the routine returns.
The descriptive string varies, depending on the condition trapped.
ERROR The string that was processed and resulted in the error condition.
FAILURE The string that was processed and resulted in the failure condition.
HALT Any string associated with the halt request. This can be the null string if no string was provided.
NOVALUE The derived name of the variable whose attempted reference caused the NOVALUE condition. The NOVALUE condition trap can be enabled only using SIGNAL ON.
SYNTAX Any string the language processor associated with the error. This can be the null string if you did not provide a specific string.Note that the special variables RC and SIGL provide information on the nature and position of the processing error. You can enable the SYNTAX condition trap only by using SIGNAL ON.
IBM-REXX Related Interview Questions
|IBM - VSAM Interview Questions||IBM DB2 Interview Questions|
|COBOL Interview Questions||IBM-JCL Interview Questions|
|IBM Mainframe Interview Questions||IBM Cloud Computing Infrastructure Architect V1 Interview Questions|
|IBM WebSphere MQ Interview Questions||IBM DataPower Interview Questions|
|Unix/Linux Interview Questions||Ibm Websphere Message Broker Interview Questions|
Rexx General Concepts
Numbers And Arithmetic
Conditions And Condition Traps
Using Rexx In Different Address Spaces
Reserved Keywords, Special Variables, And Command Names
Tso/e Rexx Commands
Tso/e Rexx Customizing Services
Language Processor Environments
Initialization And Termination Routines
Replaceable Routines And Exits
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.