Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

SET-DBH-MSG-TRACE

Controls the logging of DBH messages

Scope of validity

DBH administration

Function

You use the SET-DBH-MSG-TRACE administration statement for diagnostic purposes. It controls the logging of messages exchanged between the task of the DBH and the task of an application program (message trace).

SET-DBH-MSG-TRACE

TRACE = *ON(...) / *OFF(...)


*ON(...)



|

OUTPUT = SYSLST / list-poss(2): SYSLST / SYSOUT


*OFF(...)



|

OUTPUT = (SYSLST,SYSOUT) / list-poss(2): SYSLST / SYSOUT

Operands

TRACE = *ON(...) / *OFF(...)

Turns the message trace of the DBH on/off at the start of the next send request.

TRACE = *ON(...)
The message trace is turned on.

OUTPUT =
Specifies the output medium for the message trace of the DBH.

OUTPUT = SYSLST
This is the default. The message trace is logged to SYSLST.

OUTPUT = list-poss (2): SYSLST / SYSOUT
The message trace is logged only to SYSLST, only to SYSOUT, or to SYSLST and SYSOUT.

TRACE = *OFF(...)

The message trace is turned off.

OUTPUT =
Specifies the output medium for the message trace of the DBH that will be turned off.

OUTPUT = (SYSLST,SYSOUT)
This is the default. The message trace is not logged to SYSLST or SYSOUT.

OUTPUT = list-poss (2): SYSLST / SYSOUT
The message trace is logged only to SYSLST, only to SYSOUT, or to neither of them.


Administration command in ISP format and at the CALL DML interface

The TRACE administration command corresponds to the SET-DBH-MSG-TRACE administration statement here.

TRACE={ON|OFF}[,OUTPUT={SYSOUT|SYSLST|(SYSOUT,SYSLST)]}