Professional Documents
Culture Documents
2. What is the name of the application engine executable and what language is it
written in?
• PSAE.exe
• C++
• PeopleSoft database
Platform independence
The program can be resumed from the last commit done in the program.
Application Engine Designer
1. What are the layers into which an Application Engine programs is structured?
5. Where does the SQL come from that the Application Engine executes?
You develop the SQL. Application Engine does not currently generate SQL.
State Records and Program Structure
1. What is the function of a state record?
A state record is the method by which you allocate variables for your application
engine program
PROCESS_INSTANCE
3. How many state records can be associated with an application engine program?
Program Properties
%BIND
Testing and Debugging
1. What do the Application Engine Traces show you?
The Application Engine Trace can show the Steps and SQL issued in the order issued
and completion information. In addition execution timings can be captured.
2. How do you activate the Debug facility? What setup would be appropriate?
You set the Debug check box on, in the Process Scheduler folder tab in the
Configuration Manager.
You want to plan your test so you set breakpoints and know what you should expect
at different points in your execution, both SQL and data values in the State record
2. What type would you use if you wanted to make your program restartable?
• At lease one state record needs to be a physical table, so the data will be
available in case of an abend.
• Disable restart must be off
• Section should be set to Critical Update
• The WHERE clause in the SQL should contain a condition that will reduce
the answer set or contain a switch that can be set.
Conditional Processing with Do Actions
Match each of the Do Flows with the type of looping that is performed.
1. If logic A. Do Select
• Parallel Processing
• Increase Performance
2. The total number of instances created for Temporary tables is the sum of what two
items?
• Temporary table instance (Total) as defined in the PeopleTools Options page and the
total number of instances within application engine programs (Program Properties,
Temp Tables tab, instance count) that use that particular temporary table.
3. For the following - how many instances of the temporary table TEMP_TAO will be
created?
• 11
AE_PROG1 AE_PROG2
Application Engine Execution
1. What are different ways to execute an Application Engine program?
2. What are the two types of Push Buttons support initiation of Application
Engine?
3. What is the name of the C++ program that executes the Application Engine
Actions?
PSAE.exe
4. If you use the Process Scheduler to run your Application Engine programs,
what must be defined to run?
A process that runs continuously on the process scheduler and is intended for
recurrent jobs.
• -TRACE <tracevalue>
• -TOOLSTRACESQL <tracevalue>
• -TOOLSTRACEPC <tracevalue>
2. Which trace option is the best place to start for general performance
information?
-TRACE <tracevalue>
A Trace Value determines what type of data is recorded in your trace file(s).
4. What are the 3 common ways to pass a trace parameter and value to your
program psae.exe?
Configuration Manager
Process Definition
Command Prompt
5. Why is using all 3 trace parameters with their maximum values for tracing not a
good idea?
6. For AE job run on the client what determines your trace file name and location?
The Configuration Manager Trace tab, and the PeopleTools Trace field.
7. Where does the –TRACE parameter trace output go to and what is it called?
8. When a Fetch is issued to the database specifically where is the data being
fetched from?
9. What is the best way to access your database server run traces files?
It is the simplest why to tune and it does affect other aspects of your databases
systems.
It converts %BIND() references to real bind references at the database level saving
the database from having to Compile and create a new Execution Plan each time the
SQL is run.
SQL
When an Action contains an INSERT clause and your SQL is structured with a
VALUES clause and a field list.
COMMIT issued by using the After Step Selection at the Section Level, the Commit
After or Frequency Options.
FALSE
When you are check-pointing a portion of the AE program that has a PeopleCode
Action in it.
If you are dynamically changing the criteria in your Do Select Loop inside the loop.