You have the option of logging the XA interface in openUTM for test purposes. The RMXA start parameter DEBUG= is available for this purpose.
The DEBUG= parameter has the following format and should be used as the first RMXA start parameter:
.RMXA DEBUG={ YES | ALL },OUTPUT={ SYSOUT | FILE }
Explanation
DEBUG=
Activates the debug function.
YES
Logs the individual XA calls and, for each call,
the service number
the transaction counter
the return value
ALL
In addition to the values logged with DEBUG=YES, the status values and the XID are also logged.
OUTPUT=
Specifies the output destination.
SYSOUT
Output is sent to stderr.
FILE
Output is sent to a file.
The file has one of the following formats: KDC.TRC.XA.appliname.pid
(standalone application) KDC.TRC.XA.appliname.nodename.pid
(UTM cluster application)
appliname
Name of the application
nodename
Name of the node on which the node application is running
pid
PID of the process.
You can enable or disable logging of the XA interface during execution of the application using the administration functions. To do so, use the programming interface, the administration tools WinAdmin/WebAdmin or the administration command KDCDIAG XA-DEBUG=. For details, refer to the openUTM manual “Administering Applications”.