AE v12 Rolling Trace new syntax

Document ID : KB000084639
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
N/A

Memory tracing is introduced in Automation Engine v12.  Thus, there is a new syntax for rolling traces.
Cause:
Cause type:
Configuration
Root Cause: Rolling trace syntax from v11 and older should not be used in v12 because it will repeatedly switch the Trace type between "FILE" and "MEMORY" whenever the trace turns on and off.
Resolution:
********************************
EVNT.ROLLING_TRACE_START - Event tab
********************************
Check Intervals of:  X minutes
Check: Repeated
********************************

EVNT.ROLLING_TRACE_START - Process tab

********************************

!
! Turn On
!
!Set a TCP/IP=2 and DB=4 trace on the WPs
!Get System Name
:SET &TRC# = GET_UC_SYSTEM_NAME()

!Turn on tracing for WPs
:SET_UC_SETTING SET_TRACE, &TRC#, "2400000000000000", "FILE"

!Turn on tracing for single CP - Before # sign is the System name, after # sign is CPxxx where xxx is the CP number

!Example:
:SET_UC_SETTING SET_TRACE, "UC4#CP001", "9000000000000000", "FILE"
:SET_UC_SETTING SET_TRACE, "UC4#CP002", "9000000000000000", "FILE"
:SET_UC_SETTING SET_TRACE, "UC4#CP003", "9000000000000000", "FILE"

!Set a TCP/IP=9 trace on the Agent - <Agent Name> needs to change to reflect actual agent
!Turn on tracing
:SET_UC_SETTING SET_TRACE, "<Agent Name>", "9000000000000000", "FILE"

********************************
EVNT.ROLLING_TRACE_START - !Process tab

Note: The !Process in v12.0 can be seen in the Java UI, but in AWI this is the "Event Process."
********************************

!
! Turn off
!

!Set a DB=4 and TCP/IP=2 trace on the WPs
!Get System Name
:SET &TRC# = GET_UC_SYSTEM_NAME()

!Turn off tracing for WPs
:SET_UC_SETTING SET_TRACE, &TRC#, "0000000000000000", "FILE"

!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, "UC4#CP001", "0000000000000000", "FILE"
:SET_UC_SETTING SET_TRACE, "UC4#CP002", "0000000000000000", "FILE"
:SET_UC_SETTING SET_TRACE, "UC4#CP003", "0000000000000000", "FILE"

!Turn off agent tracing
:SET_UC_SETTING SET_TRACE, "<Agent Name>", "0000000000000000", "FILE"

!
! Turn Back On
!

!Set a DB=4 and TCP/IP=2 trace on the WPs
!Get System Name
:SET &TRC# = GET_UC_SYSTEM_NAME()

!Turn on tracing for WPs
:SET_UC_SETTING SET_TRACE, &TRC#, "2400000000000000", "FILE"

!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, "UC4#CP001", "9000000000000000", "FILE"
:SET_UC_SETTING SET_TRACE, "UC4#CP002", "9000000000000000", "FILE"
:SET_UC_SETTING SET_TRACE, "UC4#CP003", "9000000000000000", "FILE"

!Turn on agent tracing
:SET_UC_SETTING SET_TRACE, "<Agent Name>", "9000000000000000", "FILE"

********************************
SCRI.STOP_ROLLING_TRACE - Process tab
********************************

!
! Turn off
!

!Set a DB=4 and TCP/IP=2 trace on the WPs
!Get System Name
:SET &TRC# = GET_UC_SYSTEM_NAME()

!Turn off tracing for WPs
:SET_UC_SETTING SET_TRACE, &TRC#, "0000000000000000", "FILE"

!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, "UC4#CP001", "0000000000000000", "FILE"
:SET_UC_SETTING SET_TRACE, "UC4#CP002", "0000000000000000", "FILE"
:SET_UC_SETTING SET_TRACE, "UC4#CP003", "0000000000000000", "FILE"

!Turn off agent tracing
:SET_UC_SETTING SET_TRACE, "<Agent Name>", "0000000000000000", "FILE"


Fix Status: No Fix

Fix Version(s):
N/A
Additional Information:
Workaround :
N/A