Technical data

Chapter 16 Converting BAM 8.8 Models to Analytic M odels
See Also
Enterprise Peo
pleTools 8.49 PeopleBook: PeopleSoft Application Engine, Managing Application Engine
Programs,” Us
ing the Command Line to Invoke Application Engine Programs
Enterprise PeopleTools 8.49 PeopleBook: PeopleSoft Application Engine, “Managing Application Engine
Programs,” Starting Programs with the Application Engine Proces s Request Page
Running PTAEA
CECONV from PeopleSoft Application Designer
Before running PTAEACECONV from PeopleSoft Application Designer, you must customize the program
to find the location and file name of the correct XML file. In PeopleSoft Application Designer, open the
PTAEACECONV Application Engine program definition and view the PeopleCode in Step01. Scroll down
to the following PeopleCode:
If (&modelName = "") Then
&modelName =
"TEST";
End-If;
If (&xmlFileP
ath = "") Then
&xmlFilePath = "C:\PeopleSoft\text.xml";
End-If;
Replace the TEST variable with the XML filename of the exported BAM 8.8 model.
Replace the C:
\PeopleSoft\text.xml variable with the full path to the XML file of the exported BAM 8.8 model.
Note. The path must include the full name and extension of the XML file—for example:
C:\User\employment\employment.xml.
When completing the run request, select to output a log to a file. Either use the default
path—c:\temp\PTAEACECONV.log—or create your own path.
See Also
Enterprise PeopleTools 8.49 PeopleBook: PeopleSoft Application Engine, “Managing Application Engine
Programs,” Using PeopleCode to Invoke Application Engine Programs
Running PTAE
ACECONV from a PeopleSoft Pure
Internet Architecture Page
You use PeopleSoft Application Designer to create a PeopleSoft Pure Internet Architecture page that can run
the PTAEACECONV Application Engine program. This page must contain the following PeopleCode event:
Local Record &staterec = CreateRecord(Record.PTACECONV_AET);
&staterec.ACEXMLFILEPATH.Value = <ACEXMLFILEPATH>;
&staterec.A
CEMODELID.Value = <model_name>;
CallAppEngine("PTAEACECONV", &staterec);
Both the <ACEXMLFILEPATH> and <model_name> variables should be replaced by user input.
For e xample,
you would enter C:\User\employment\employment.xml for the <ACEXMLFILEPATH> variable,
and Employme
nt for the <model_name> variable.
Copyright © 1988-2007, Oracl e. All rights reserved. 263