Print a communications trace

You can print the communications trace data from two different sources, depending on how you collected the trace. For IPv4, you can print from the raw data you collected, or you can print from a stream file in which you previously dumped the raw data. For IPv6, you can only print from a stream file.

Note: To print the communications trace data from a stream file, you must have Java™ (5722JV1) installed on the system.

This action writes the communications trace data for the specified line or network interface description to a spooled file or an output file.

Print from raw data collected

If you collected the raw data without dumping it, follow these steps to print the data:

  1. At the command line, type PRTCMNTRC.
  2. For the Configuration object prompt, specify the same line you specified when you started the trace, such as TRNLINE, and press Enter.
  3. For the Type prompt, specify the type of resource, either *LIN or *NWI.
  4. For the Character code prompt, specify either *EBCDIC or *ASCII. You should print the data twice, once specifying *EBCDIC and then specifying *ASCII.
  5. For the Format TCP/IP data prompt, type *YES, and press Enter twice.
  6. Perform steps 1 through 5 again, but specify the other character code.

Print from stream file

If you dumped the data to a stream file, follow these steps to print the data:

  1. At the command line, type PRTCMNTRC.
  2. For the From stream file prompt, specify the path name, such as /mydir/mytraces/trace1, and press Enter.
  3. For the Character code prompt, specify *EBCDIC or *ASCII. You should print the data twice, once specifying *EBCDIC and then specifying *ASCII.
  4. Perform steps 1 through 3 again, but specify the other character code.