Automation Engine Script Guide > AE JCL for Applications > PeopleSoft > PS_RUN_PROCESS

PS_RUN_PROCESS

Starts and monitors a PeopleSoft process.

Syntax

PS_RUN_PROCESS

Syntax

Description/Format

PROCESSNAME=

Name of the PeopleSoft process that should be initialized and monitored.
Format: script literal

PROCESSTYPE=

Process type of the PeopleSoft process.
Format: script literal

RUNLOCATION=

Name of an assigned PeopleSoft Process Scheduler Batch Server (for example PSUNX or PSNT).
Format: script literal

RUNCONTROLID=

Run Control ID of the PeopleSoft process.
Format: script literal

OUTPUTDEST=

Directory to which the PeopleSoft process writes its output.
Format: script literal

OUTDESTTYPE=

Output type of the PeopleSoft process (for example file, printer or email).
Format: script literal

All valid values can be displayed with the following databaseA database is an organized collection of data including relevant data structures. query:
select XLATSHORTNAME from XLATTABLE where FIELDNAME = 'OUTDESTTYPE';

Interface: PROCESSREQUEST and PROCESSREQUEST_SBB
PeopleSoft Version:
8+

OUTDESTFORMAT=

File format in which the PeopleSoft process should be saved (for example TXT, HTM or PDF).
Format: script literal

All valid values can be displayed with the following database query:
select XLATSHORTNAME from XLATTABLE where FIELDNAME = 'OUTDESTFORMAT';

Interface: PROCESSREQUEST and PROCESSREQUEST_SBB
PeopleSoft Version:
8+

Comments

This script element creates a process request for a PeopleSoft process and monitors its execution. The end of this PeopleSoft process is recognized on the basis of its run status which will be stored in the PeopleSoft database.

The name and type of a PeopleSoft process refers to the process definitions in the PeopleSoft "Process Scheduler Manager". The name of the assigned Process Scheduler Batch Server must also correspond to a definition.

OUTPUTDEST, OUTDESTTYPE and OUTDESTFORMAT are additional optional parameters that can be used to specify the output of the PeopleSoft process.

Some parameters of the script element depend on the PeopleSoft version that is used and indicated in the syntax table.

Examples

The first example initializes the PeopleSoft process THR200 of the process type SQR report.

PS_RUN_PROCESS PROCESSNAME='THR200',PROCESSTYPE='SQR

Report',RUNLOCATION='PSUNX',RUNCONTROLID='mlc',OUTPUTDEST='/tmp/'

The second example uses the optional parameters in order to store the output of the PeopleSoft process in a temporary directory as a PDF file.

PS_RUN_PROCESS PROCESSNAME='DDDAUDIT',PROCESSTYPE='SQR

Report',RUNLOCATION='PSNT',RUNCONTROLID='sbb',OUTDESTTYPE='FILE',OUTDESTFORMAT='PDF',OUTPUTDEST='c:\temp'

 

See also: