z/OS Communications Server: IP Programmer's Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Obtaining and formatting trace records

z/OS Communications Server: IP Programmer's Guide and Reference
SC27-3659-02

This section describes the steps of obtaining and formatting trace records.

Procedure

Perform the following steps to obtain trace records and format the records.

Start the application program. The application program performs the following actions:
  1. Defines the format options in the EZBYPTO control block, passed to EZBCTAPI.
  2. Uses the EZBCTAPI macro to set up the trace formatter interface.
  3. Invokes the NMI requests to open a trace instance, set the desired filters and start the trace.
  4. In a loop, invokes the RCCGetRecords request to obtain the trace records in CTE format.
  5. For each trace record, invokes the format function of EZBCTAPI, passing the address of the record.
  6. At termination, the application program invokes the TERM function of EZBCTAPI.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014