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 Synonym
TWS4APPS;Maestro;ITWS;TWS
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21458646