IBM Support

Set trace level for TWS for Applications for SAP

Question & Answer


Question

How do you set or unset the trace level for Tivoli Workload Scheduler (TWS) for Applications for SAP jobs?

Cause

More (or less) information needs to be captured for troubleshooting.

Answer

Use "-debug -trace -tracelvl=3" in the SAP job definition to enable trace only during job execution.

If you set DEBUG_MAX in the r3batch.properties file, this trace level will be applied to all jobs of the corresponding access method.

A file named trace-r3batch.log will be created.

To turn off tracing, use the following parameter in the r3batch.properties file: accessmethod.trace.tracers.logging

This option specifies to enable or disable the trace utility. Possible values are:

true - To enable the trace utility. This is the default value.

false - To disable the trace utility. If you set this parameter to false, no traces are written in the trace-accessmethod.log file even if there are problems.

Example r3batch.properties file:

r3batch.organization=IBM
r3batch.product=TWS4APPS
r3batch.component=R3BATCH
r3batch.trace.tracers.level=DEBUG_MID
r3batch.trace.tracers.listenerNames=r3batch.trace.handlers.traceFile
r3batch.trace.tracers.logging=true
r3batch.trace.handlers.traceFile.fileDir=/home/maestro/methods
r3batch.trace.handlers.traceFile.formatterName=r3batch.trace.formatter
r3batch.trace.handlers.traceFile.maxFileSize=104805100
r3batch.trace.handlers.traceFile.maxFiles=3
----------------------------------------------------------------------

NOTE: To enable or disable tracing in TWS for Applications, is not necessary to stop and restart TWS.

For complete details, access the "Configuring the tracing utility" link found in the TWS for Applications User's Guide. This link is provided in the "Related information" section below.

Related Information

[{"Product":{"code":"SSTG2Y","label":"Tivoli Workload Scheduler for Applications"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"XA for SAP","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.4;8.5;8.6","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Product Synonym

TWS4APPS;Maestro;ITWS;TWS

Document Information

Modified date:
17 June 2018

UID

swg21458646