IMSRXTRC

The IMSRXTRC command is used primarily for debugging. It controls the tracing action taken (that is, how much trace output through SYSTSPRT is sent to the user) while running a REXX program.

Format

Read syntax diagramSkip visual syntax diagramIMSRXTRClevel
Call Name DB/DC DBCTL DCCTL DB Batch TM Batch
IMSRXTRC X X X X X

Usage

The level variable name can be a REXX variable or a digit, and valid values are from 0 to 9. The initial value at EXEC start-up is 1 unless it is overridden by the user Exit. Traced output is sent to the DDNAME SYSTSPRT. See IMS Version 15.3 Exit Routines for more information on the IMS adapter for REXX exit routine.

The IMSRXTRC command can be used in conjunction with or as a replacement for normal REXX tracing (TRACE).
Level
Description
0
Trace errors only.
1
The previous level and trace DL/I calls, their return codes, and environment status (useful for flow analysis).
2
All the previous levels and variable sets.
3
All the previous levels and variable fetches (useful when diagnosing problems).
4-7
All previous levels.
8
All previous levels and parameter list to/from standard IMS language interface. See message DFS3179 in IMS Version 15.3 Messages and Codes, Volume 2: Non-DFS Messages.
9
All previous levels.

Example

Address REXXIMS 'IMSRXTRC 3'

IMSRXTRC is independent of the REXX TRACE instruction.