gtpc1m15Transmission Control Protocol/Internet Protocol

Using the CLAW Data Trace Function

Use the CLAW data trace function to trace the messages that are sent and received between the TPF host processor and one or more CLAW workstations. This trace information can be useful when you are debugging your TPF socket applications because the messages that are traced include the requests from and the responses to the TPF socket applications.

See Socket Application Programming Interface Overview for more information about socket applications.

See Appendix A, CLAW Trace Postprocessor for sample JCL as well as sample data trace output.

You can write the CLAW trace information to the real-time (RTA or RTL) tape and then use the CLAW trace postprocessor (CLTD) to format and print data trace information.

Starting the CLAW Data Trace Function

To start the CLAW data trace function, do the following:

  1. Enter the ZCLAW TRACE command with the START parameter specified. Also specify the WS parameter or the ALL parameter to indicate which CLAW workstations you want to trace.
  2. Enter the ZCLAW TRACE command with the START TAPE parameters specified to start writing the CLAW data trace information to the real-time (RTA or RTL) tape.

See TPF Operations for more information about the ZCLAW TRACE command.

Stopping the CLAW Data Trace Function

To stop the CLAW data trace function (and stop writing the trace information to tape), do the following:

  1. Enter the ZCLAW TRACE command with the STOP ALL parameters specified.
  2. Enter the ZTOFF command to remove the tape.

See TPF Operations for more information about the ZCLAW TRACE and ZTOFF commands.