Application Engine Tracing
Application Engine Tracing
Agenda
Understand Application Engine
Tracing
Enable Application Engine Tracing
-CT
Specify the type of database to which you are
connecting. Values are ORACLE, MICROSFT, SYBASE,
INFORMIX, DB2UNIX, and DB2ODBC.
-CS
Required for Sybase and Informix. For platforms that
require a server name as part of sign-on, enter the
appropriate server name. This affects Sybase,
Informix, and Microsoft SQL Server. However, for
Microsoft SQL Server, this option is valid but not
required.
-CD
Enter the name of the database to which the program
will connect.
-CO
Enter the user ID of the person who is
running the program.
-CP
Enter the password associated with the
specified user ID.
-R
Enter the run control ID to use for this run of
the program.
-AI
Specify the Application Engine program to
run.
-I
Required for restart. Enter the process
instance for the program run. The default is
0, which means PeopleSoft Application
Engine uses the next available process
instance.
-DEBUG
This parameter controls the Debug utility.
Enter Y to indicate that you want the
program to run in debugging mode, or enter
N to indicate that you do not.
-DR
This parameter controls restart disabling.
Enter Y to disable restart, or enter N to
-TRACE
To enable tracing from the command line,
enter this parameter and a specific trace
value. The value you enter is the sum of the
specific traces that you want to enable.
Traces and values are:
0: Disables tracing.
1: Initiates the Application Engine step
trace.
2: Initiates the Application Engine SQL trace.
4: Initiates the trace for dedicated
temporary table allocation to an Application
Engine trace (AET) file. You can trace how
the system allocates, locks, and releases
temporary tables during program runs.
-DBFLAGS
To disable %UpdateStats meta-SQL
construct, enter 1.
-TOOLSTRACESQL
Enable the SQL trace.
-TOOLSTRACEPC
Enable the PeopleCode trace.
In the process monitor go to Details tab --- View Log/Trace, the trace file generated can be Viewed