Previous Topic: OUTDESTFORMAT Statement—Specify the Output Format for a PeopleSoft ReportNext Topic: OUTDESTTYPE Statement—Specify the Output Type for a PeopleSoft Report


OUTDESTPATH Statement—Specify an Output Path for a PeopleSoft Job

The OUTDESTPATH specifies the output destination for the PeopleSoft request. The destination can be a file directory or a printer. The value you specify for this statement overrides the default destination defined on the PeopleSoft system.

Note: To use this statement, you must specify FILE or PRINTER in the OUTDESTTYPE statement.

Supported Job Type

This statement is optional for the PeopleSoft job type.

Syntax

This statement has the following format:

OUTDESTPATH file_path|printer_path
file_path

Specifies the path to the output directory and the output file name.

Limits: Up to 128 characters; case-sensitive

Note: Specify this path when the OUTDESTTYPE statement is set to FILE.

Default: The PeopleSoft log/output directory

printer_path

Specifies the network location of the printer including the printer server and shared printer name.

Limits: Up to 128 characters; case-sensitive

Default: lpt1

Notes:

Notes:

Example: Direct the Output of a PeopleSoft Job to a 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

Note: For a Windows NT example, substitute a Windows path in the OUTDESTPATH statement.

Example: Direct the Output of a PeopleSoft Job to a Printer

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

AGENT PS_NY
PROCESSNAME XRFWIN
PROCESSTYPE 'SQR Report'
OUTDESTTYPE PRINTER
OUTDESTFORMAT PS
OUTDESTPATH '\\CA\PRINTER1'
RUNCONTROLID test
PSOPRID VP1