Delete/Replace - DL/I trace information
The DELETE/REPLACE module provides meaningful information when abnormal conditions arise leading directly to errors detected by Delete/Replace. This information can be found in the Delete/Replace work area (DLTWA).
Abends initiated by the Delete/Replace module (780, 796, 797, 798, 799, 802, 803, 804, 806, 807, 808, and 811) are traced in the DL/I trace table in a series of entries identified by an X'C4' in the first byte (TRACE FUNCTION CODE).
The first X'C4' entry in the series is provided by the routine that encountered the problem. Each additional entry is provided by the routine that called the routine which in turn wrote the prior entry in the table. Examining these entries in reverse sequence reveals the order in which control was passed from one routine to another.
DSECTS CSECT
DFSDLDC FUNC=DSECTS
ENDBYTE 0 ID of routine supplying this entry
1 ID of routine that encountered error
2 Subcode number of abend if multiples
3 Internal code for abendX'01' to X'1F'—control and common subroutines (DFSDLDC0)
X'20' to X'3F'—delete routines (DFSDLDD0)
X'40' to X'5F'—replace routines (DFSDLDR0)
X'60' to X'7F'—DLTWA build routines (DFSDLDW0)Use the Entry1 word (the second word in the trace entry) when relating to a Delete/Replace problem in IMS with IBM Software Support.