MONITORRD command (X'1C00')

The distributed data management (DDM) architecture MONITORRD allows the target agent to return monitoring data to the source agent. The value returned is used to determine the elapsed CPU time for a database call.

Format

Read syntax diagramSkip visual syntax diagramDSSHDRLLCPETIME

Parameters

DSSHDR
The 6-byte header field containing information about the DSS.
LL
A 2-byte field that has the length of the MONITORRD command.
CP(X'1C00')
The 2-byte codepoint of the MONITORRD command.
ETIME(X'1901')
The elapsed time is a 64-bit binary number that measures time in microseconds. Consists of two bytes of length field (LL), and two bytes of the code point, followed by the data. The length is 12 bytes.

Format:

Read syntax diagramSkip visual syntax diagramLLCPVALUE

Parameters:

VALUE
An 8-byte field representing the elapsed time.

MONITORRD example

In the following example, the server time is calculated in the trace by aggregated all of the MONITORRD ETIME values for a communication exchange.

[ibm][ims][drda][t4]        RECEIVE BUFFER: MONITORRD           (ASCII)           (EBCDIC)
[ibm][ims][drda][t4] 0000   0016D04300020010  1C00000C19010000  ...C............  ..}.............
[ibm][ims][drda][t4] 0010   000000036B39                        ....k9            ....,.    
[ibm][ims][drda][SystemMonitor:stop] core: 283.09152ms | network: 256.137805ms | server: 254.816ms