X'C4' trace entry

The X'C4' trace entry is shown.

The X'C4' trace entry

 TRACE ID   = X'C4' 
 
       word 0 — byte 1 - X'C4' - DELETE/REPLACE used to provide diagnosis
                         information for error conditions.  This entry is 
                         written when an error is detected.
                byte 2 - PST number
                bytes 3-4 - Trace sequence number               
       word 1 — byte 1 - ID invoking subroutine (see note 2 below; see note 3 below)
                byte 2 - ID of originating subroutine (see note 3 below)
                byte 3 - Subcode (set by originating subroutine - see note 3 below)
                byte 4 - Internal code for status code or pseudoabend (see 
                         note 3 below)
       word 2 — SDB for replace operation.  DLTWS for delete operation.  
                Register value 7.
       word 3 — Level table for replace operation.  DLTWA address for 
                delete operation.  
                Register value 8.
       word 4 — Usually the PSDB address for segment.  Register value 6.
       word 5 — byte 2 - DELETE/REPLACE return code
                byte 2 - Return offset from caller's CSECT
       word 6 — PSTDSGA - DSG address
       word 7 — Information local to the subroutine that might be useful in 
                problem resolution
       
Notes:
  1. Use only the entries for the PST that abended.
  2. When a DELETE/REPLACE failure occurs, you need the X'C4' entries to solve the problem. You can usually find several X'C4' entries in a row in the trace table. Scan up the trace table to the first (lowest trace sequence number) entry. This entry is usually the key to why the failure occurred. Level 2 needs this information to resolve the problem.
  3. These 4 bytes, in word 2, in a DELETE/RELEASE error are documented in the IMS Version 15.4 Messages and Codes, Volume 3: IMSAbend Codes for the various abends. This is ENTRY1 field referred to in the DELETE/REPLACE module.