Debugging Programs

When you encounter an error in a program, there are several ways to locate the error.
  • The TRACE instruction shows how the language processor evaluates each operation. For information about using the TRACE instruction to evaluate expressions, see section Tracing Expressions with the TRACE Instruction. For information about using the TRACE instruction to evaluate host commands, see the next section, Tracing Commands with the TRACE Instruction.
  • REXX/CICS sets the special variables RC and SIGL as follows:
    RC
    Indicates the return code from a command.
    SIGL
    Indicates the line number from which there was a transfer of control because of a function call, a SIGNAL instruction, or a CALL instruction.

Reference Reference

Feedback


Timestamp icon Last updated: Tuesday, 7 January 2014


http://pic.dhe.ibm.com/infocenter/cicsts/v5r1/topic/com.ibm.cics.rexx.doc//dfhrx/rvse051.html