Allows the user to capture the DRDA data stream exchanged between a DRDA Application Requestor (AR) and the DB2 UDB DRDA Application Server (AS). Although this tool is most often used for problem determination, by determining how many sends and receives are required to execute an application, it can also be used for performance tuning in a client/server environment.
Authorization
None
Command Syntax
.---------. .-on-. V | >>-db2drdat----+-+----+----+--r-+--+---+-----------+--+-------->< | +--s-+ '--l=length-' | | +--c-+ | | '--i-' | '-off--+--------------+--+--------+----' '--t=tracefile-' '--p=pid-'
Command Parameters
Note: | The pid to be traced can be found in the agent field returned by LIST APPLICATIONS. |
Note: | If tracefile is not specified, messages are directed to db2drdat.dmp in the current directory. |
Usage Notes
Do not issue db2trc commands while db2drdat is active (for information about the db2trc command, see the Troubleshooting Guide).
db2drdat writes the following information to tracefile:
The command returns an exit code. A zero value indicates that the command completed successfully, and a nonzero value indicates that the command was not successful.
Note: | If db2drdat sends the output to a file that already exists, the old file will be erased unless the permissions on the file do not allow it to be erased, in which case the operating system will return an error. |