Control Trace (QWTCTLTR) API


  Required Parameter:


  Optional Parameter:


  Default Public Authority: *EXCLUDE

  Threadsafe: No

The Control Trace (QWTCTLTR) API turns the early trace function on and off. The value of *ON is passed to the program to turn the early tracing on, and *OFF is passed to turn the early tracing off.

When the early trace function is turned on, the jobs that are set up by the Set Trace (QWTSETTR) API begin tracing as soon as they are started. The tracing is stopped by turning it off with the Control Trace (QWTCTLTR) API. When *OFF or *RESET is passed to the program, this causes the trace information for the jobs to dump to spooled files.

The information set up by this API remains in effect during an initial program load (IPL).

This API should be used only when recommended by your IBM® service representative.


Authorities and Locks

None.


Required Parameter

Control value
INPUT; CHAR(10)

The value passed to turn the early trace function on or off. The valid values are:


Optional Parameter

Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter. If this parameter is omitted, diagnostic and escape messages are issued to the application.


Error Messages



API introduced: V2R3

[ Back to top | Miscellaneous APIs | APIs by category ]