Parameter list

The exit is entered with R1 addressing a nine-word parameter list:

Parameter

Description

Word 1

The address of a fullword where the exit can store data between calls, such as the address of a control block.

Word 2

The address of an 8-byte field containing the name of the plan executing the SQL statement.

Word 3

The address of an 8-byte field containing the authorization ID of the user executing the plan.

Word 4

The address of a 12-byte field containing the correlation ID.

Word 5

The address of an 8-byte field containing the connection name.

Word 6

The address of an 8-byte field containing the ID of the user requesting the display.

Word 7

The address of a 5-byte field containing the name of the service invoked, such as DUSER or DTRAC.

Word 8

The address of a 4-byte field containing the target Db2 system name.

Word 9

The address of an 8-byte field containing the ID of the user starting the trace.

This field is 0 for the DUSER and UTRAC service.

Note

The fields addressed by Word 2 to Word 9 must not be modified by the exit. When this exit is invoked for the trace summary displays, LTRAC, TSTAT, and TSUMx, Words 2 to 5 are 0.



Was this page helpful? Yes No Submitting... Thank you

Comments