Previous Topic: Distribute a PeopleSoft ReportNext Topic: Send the Output of a PeopleSoft Job to a Printer


Send the Output of a PeopleSoft Job to a File

You can define a PeopleSoft job to run a process and send the output to a file.

To send the output of a PeopleSoft job to a file

  1. Add the OUTDESTTYPE statement to the job definition. Specify FILE.
  2. (Optional) Add the OUTDESTPATH statement to override the default PeopleSoft log/output directory. Specify the path to the output directory and the output file name.

Example: Send a Job's Output to a Specified File

This example runs an SQR Report. The report is formatted as PDF and outputted to a file.

AGENT PS_NY
PROCESSNAME XRFWIN
PROCESSTYPE 'SQR Report'
OUTDESTTYPE FILE
OUTDESTFORMAT PDF
OUTDESTPATH '/export/home/PSoutput/report1.pdf'
RUNCONTROLID test
PSOPRID VP1

Example: Send a Job's Output to the Default PeopleSoft Log/Output Directory

The example sends the job's output to the default PeopleSoft log/output directory because the job definition does not include the OUTDESTPATH statement:

AGENT PS_NY
OUTDESTTYPE FILE
OUTDESTFORMAT TXT
PROCESSNAME PAYROLL
PROCESSTYPE 'Application Engine'
RUNCONTROLID PS_ALL