1. List 4 of the benefits of using Application Engine programs for your batch jobs.

• • • • • • • • • Graphical Developer Interface in the Application Designer Encapsulation Data dictionary integration Enhanced SQL/meta-SQL support Effective-dating Platform flexibility Reuse business logic Upgrade support Built-in restart logic

2. What is the name of the application engine executable and what language is it written in? • • PSAE.exe C++

3. Where are application engine programs stored? • PeopleSoft database

4. What benefit can be attained by using meta-SQL? Platform independence 5. What do we mean by "Restart Capability" The program can be resumed from the last commit done in the program.

Call Section. What is the function of a Step in an application engine program? Logical grouping of actions to be performed. What are the layers into which an Application Engine programs is structured? Sections.Do When. Where does the SQL come from that the Application Engine executes? You develop the SQL. Application Engine does not currently generate SQL. 8 . . Do Until. PeopleCode. Statements 2. What is the maximum number of actions that can be processed in a step? 7 5. SQL. Steps. Log Message 4. Do Select.Application Engine Designer 1. Do While. How many actions are available? List 5. 3.

What type of record is a state record? Can be a physical record (SQL table) or a derived work record 6. How many state records can be associated with an application engine program? Zero.State Records and Program Structure 1. one or many 4. What field is used as the key field on a state record? PROCESS_INSTANCE 3. What is the function of a state record? A state record is the method by which you allocate variables for your application engine program 2. Where do you associate a state record with an application engine program? Program Properties 5. What meta SQL is used to retrieve values from a state record? %BIND .

How do you activate the Debug facility? What setup would be appropriate? You set the Debug check box on.Testing and Debugging 1. You want to plan your test so you set breakpoints and know what you should expect at different points in your execution. . In addition execution timings can be captured. 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 the Process Scheduler folder tab in the Configuration Manager. 2. both SQL and data values in the State record 3. Why would you use the Restart facility during testing? To test the restart ability of your application at different points.

. What considerations need to be designed into your program for restartability? • At lease one state record needs to be a physical table. • 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. What type would you use if you wanted to make your program restartable? Either Reselect or Restartable 3. What are the 3 Do Select types? • • • Select and Fetch Reselect Restartable 2. so the data will be available in case of an abend.Do Select 1.

If logic 2. Repeat until logic 4. FOR loop 3. Do Select B. Do While . Do When D. While loop A.Conditional Processing with Do Actions Match each of the Do Flows with the type of looping that is performed. Do Until C. 1.

3. For the following . instance count) that use that particular temporary table. Temp Tables tab.how many instances of the temporary table TEMP_TAO will be created? • 11 PeopleTools Options Page AE_PROG1 AE_PROG2 . 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. When would you use temporary tables (with a type of Temporary table) in an application engine program? • • Parallel Processing Increase Performance 2.Temporary Tables 1.

synchronous execution Process (uses Process Scheduler. automatic initiation.Application Engine Execution 1. what must be defined to run? A 'Process Definition' for each AE program. Asynchronous page based Push Button (using the Process Scheduler). If you use the Process Scheduler to run your Application Engine programs. What are the two types of Push Buttons support initiation of Application Engine? Commands (outside Process Schedule. Synchronous page based page Push Buttons. Windows Command script.exe 4. Scheduled Process Scheduler Jobs. What are different ways to execute an Application Engine program? In 2-tier from the Application Designer for testing. Application Engine Request page. What is the name of the C++ program that executes the Application Engine Actions? PSAE. and asynchronous execution. 3. 2. . initiated by your PC.

Run Control Record D. D 6. Process Definition C. Page that allows you to set additional parameters such as tracing for an application engine program. Run Control Page Process Group Override Options . F.Application Engine Process Definition Matching answers 1. B 2. Definition that defines the command line and additional parameters for a process. C 3. 5. Definition that is used to retrieve initial bind parameters. E 4. Definition that associates an application engine programs associated with a component. Process Type B. F A. E. Grants access to a user to run a program. Where the user specifies the initial bind variables.

What is PSDAEMON? A process that runs continuously on the process scheduler and is intended for recurrent jobs. Attach the program to a Daemon Group. True or False. 2. A Process Scheduler Server can be associated with several daemon groups? False – each server can be assigned one daemon group. 4. What are the steps necessary to set up OSDAEMON? Create a daemon only application engine program. What is a Daemon Group? Contains the daemon programs to be run on a specific server. Associate the Daemon group with a process Scheduler Server.PSDAEMON 1. 3. .

When a Fetch is issued to the database specifically where is the data being fetched from? The Database Fetch Buffer 9. What are the 3 trace parameters you can pass to your psae. Which trace option is the best place to start for general performance information? -TRACE <tracevalue> 3. and the PeopleTools Trace field. What is the best way to access your database server run traces files? Through Process Monitor and the Trace File hyperlink . For AE job run on the client what determines your trace file name and location? The Configuration Manager Trace tab.exe? • • • -TRACE <tracevalue> -TOOLSTRACESQL <tracevalue> -TOOLSTRACEPC <tracevalue> 2. What is the difference between a Trace Value and a Trace Parameter? A Trace Parameter determines which type of trace is turned on. What are the 3 common ways to pass a trace parameter and value to your program psae.AET 8. You would record trace data that is redundant. 7.Performance Measurement 1.exe? Configuration Manager Process Definition Command Prompt 5. A Trace Value determines what type of data is recorded in your trace file(s). Where does the –TRACE parameter trace output go to and what is it called? %temp%\PS\<your database name>\ AE_<AEApplication_name>_<Process_Instance>. 6. 4. Why is using all 3 trace parameters with their maximum values for tracing not a good idea? Tracing would make the program extremely slow.


More commits are always better for performance. FALSE 7. 9. 8. When should you consider using Bulk Insert Option? When an Action contains an INSERT clause and your SQL is structured with a VALUES clause and a field list. What should you avoid trying to execute in a PeopleCode Action? SQL 4. Why is application level tuning is a good place to start? It is the simplest why to tune and it does affect other aspects of your databases systems. 3.Performance Tuning 1. True or False. How does the Reuse option improve performance? 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. When should a Select and Fetch Type of Do Select not be used? If you are dynamically changing the criteria in your Do Select Loop inside the loop. When is a row of data written to the PSAERUNCONTROLPC table? When you are check-pointing a portion of the AE program that has a PeopleCode Action in it. 2. When will Indexes likely slow down the performance of an AE program? When there is a SQL INSERT involved . What is a Program Level COMMIT? COMMIT issued by using the After Step Selection at the Section Level. the Commit After or Frequency Options. 6. 5.

Sign up to vote on this title
UsefulNot useful