The trace file that is written by the db2drdat utility contains operational information about DRDA.
The db2drdat utility writes the following information to tracefile:
- Type of DRDA reply/object
- Receive buffer
- Type of DRDA request
- Send buffer
- TCP/IP error information
- Receive function return code
- Protocol used
- API used
- Error number.
- A value of zero for the exit code indicates that the command completed successfully, and a non-zero value indicates that it did not.
- The fields returned vary based on the API used.
- The fields returned vary based on the platform on which Db2 Connect is running, even for the same API.
- If the db2drdat command 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.