Job parallel tracing

Document ID : KB000089926
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Job parallel tracing
Resolution:
Set traces to start when a particular job starts and end when the job ends. This might be useful when a particular job is suspected of causing an issue.


Add the following to the Pre-Process tab of a job:

!Set a DB=4 and TCP/IP=2 trace on the WPs and CP's
!Get System Name
:SET &TRC# = GET_UC_SYSTEM_NAME()
!Turn on tracing for WPs
:SET_UC_SETTING SET_TRACE, &TRC#, "2400000000000000"
!Turn on tracing for single CP - Before # sign is the System name, after # sign is CPxxx where xxx is the CP number
:SET_UC_SETTING SET_TRACE, "&TRC##CP001", "2400000000000000"
!Duplicate the above line for all active CP's, adjusting the CPXXX for the CP number.


Add the following to the Post-Process tab of the same job. 

!Turn off traces on the WPs/CPs
!Get System Name
:SET &TRC# = GET_UC_SYSTEM_NAME()
!Turn off tracing for WPs
:SET_UC_SETTING SET_TRACE, &TRC#, "0000000000000000"
!Turn off tracing for single CP - Before # sign is the System name, after # sign is CPxxx where xxx is the CP number
:SET_UC_SETTING SET_TRACE, "&TRC##CP001", "0000000000000000"
!Duplicate the above line for all active CP's, adjusting the CPXXX for the CP number.