Storage manager trace

The storage manager trace writes a record each time it is called to allocate a pool, get a buffer, or release a buffer. The storage manager traces requests from the following pools: AOIP, CESS, CIOP, CMDP, DYNP, EMHB, FPWP, HIOP, LUMC, LUMP, and SPAP.

You can enable the storage manager trace during IMS initialization with the STRG= option in the DFSVSMxx PROCLIB member, or online using the /TRACE command. The /TRACE SET ON TABLE STRG command activates the trace and sends the output to an internal trace table. When you specify OPTION LOG on the /TRACE command, IMS sends the output to the system log or external trace data set.

You can format the internal trace table using the Offline Dump Formatter under IPCS with either the VERBX command or the IMS Dump Formatter panels. To format the trace records, any storage manager control blocks, and pool storage, you can specify ALL as the POOL ID, as shown in the following example.
FMTIMS ...(POOL,NAME,ALL),...or you can specify FMTIMS (TRACE, NAME, SM).

To locate the storage manager trace in a formatted dump, look for eye catcher **SMTR.

To locate the trace tables in an unformatted dump, look for the trace identifier SM in the trace table header record.

The following tables show the format of each storage manager trace record.

Table 1. TRACE ID = X'5F03' (get trace record)
WORD 0 WORD 1 WORD 2 WORD 3 WORD 4 WORD 5 WORD 6 WORD 7
Control Information Pool Name Variable Pool Size Variable Pool Address Fixed Pool Upper Limit 0 Caller's Return Address Return Code 0
Table 2. TRACE ID = X'5F04' (get trace record)
WORD 0 WORD 1 WORD 2 WORD 3 WORD 4 WORD 5 WORD 6 WORD 7
Control Information Pool Name Buffer Request Size Buffer Address Address of Caller's ECB Caller's Return Address Return Code Current Pool Size
Table 3. TRACE ID = X'5F05' (release trace record)
WORD 0 WORD 1 WORD 2 WORD 3 WORD 4 WORD 5 WORD 6 WORD 7
Control Information Pool Name 0 Buffer Address Address of Caller's ECB Caller's Return Address Return Code Current Pool Size