Previous Topic: Save a Trace

Next Topic: Import a Trace


Export a Trace

You can export a trace to a physical sequential (PS) data set or a z/OS UNIX file. The file can then be viewed by another external application.

If you plan to export to a data set, you must allocate it first with the following requirements:

To export a SmartTrace trace

  1. Enter /IPPKT (or /SMART) from the prompt.

    The Packet Tracing Menu appears.

  2. Select the option for the type of definitions or traces you want to display.

    The SmartTrace : Packet Trace Definitions panel appears.

  3. Position your cursor next to the packet trace that you want to export and press Enter.

    The packet trace details appear.

  4. Enter EX next to the packet trace that you want to export.

    The Export Packet Trace panel appears.

  5. Complete the following fields:
    Dataset or HFS File

    Specifies the name of the output file into which the trace is saved. This output can be a PS data set or a z/OS UNIX file.

    Important! If you are exporting to CTRACE, you must use a PS data set.

    Adjust Time By

    Specifies the adjustment value to apply to the timestamp associated with each packet during the export operation. For example, if SmartTrace captured the trace on a mainframe running with TOD clock set to GMT and the trace is viewed on a workstation in the +11:00 time zone, an adjustment of +11:00 is required to make the packet timestamps appear unchanged.

    Output Format

    Specifies the format in which the output file is written. Valid values are CTRACE and libpcap.

    Press F6 (Action).

    The trace is exported.

Note: If you FTP this file to a PC to view using a trace application there, ensure that you use an FTP transfer mode of binary.