Monday, 13 January 2020

TraceAEEnableSection : Section level trace and TraceAE : application engine trace

Application Engine Trace and Section level trace feature is available from PeopleTools 8.54 and later releases.

Different ways to enable application engine trace:

1.
PeopleSoft Configuration Manager: Select TraceAE flags in PeopleSoft Configuration manager. Login in Application Designer and Open any application engine. Run application engine through application designer. Application engine trace will be created in Trace file location defined in PeopleSoft Configuration Manager.
2.
TraceAE in Application server configuration (psappsrv.cfg) : set TraceAE parameter in psappsrv.cfg when application engine is executed using peoplecode callappengine() on application server.
3.
TraceAE in Process Scheduler Configuration (psprcs.cfg): Set TraceAE parameter in psprcs.cfg when application engine is executed through process Scheduler.
4.
-DEBUG in process definition enables Application Engine Trace equivalent to TraceAE.
Add –DEBUG flag in PeopleTools à Process Scheduler à Process Definition page.


TraceAE bit values :
;-------------------------------------------------------------------------
; AE Tracing Bitfield
;
; Bit       Type of tracing
; ---       ---------------
; 1         - Trace STEP execution sequence to AET file
; 2         - Trace Application SQL statements to AET file
; 4         - Trace Dedicated Temp Table Allocation to AET file
; 8         - not yet allocated
; 16        - not yet allocated
; 32        - not yet allocated
; 64        - not yet allocated
; 128       - Timings Report to AET file
; 256       - Method/BuiltIn detail instead of summary in AET Timings Report
; 512       - not yet allocated
; 1024      - Timings Report to tables, ignored if Process Instance is 0
; 2048      - DB optimizer trace to file
; 4096      - DB optimizer trace to tables
; 8192      - Transform trace
TraceAE=0