Previous Topic: OUTDESTPATH Statement—Specify an Output Path for a PeopleSoft JobNext Topic: OUTFILE Statement—Specify File for Results of SQL Query


OUTDESTTYPE Statement—Specify the Output Type for a PeopleSoft Report

The OUTDESTTYPE statement specifies the output destination type for a PeopleSoft report.

Supported Job Type

This statement is optional for the PeopleSoft job type.

Syntax

This statement has the following format:

OUTDESTTYPE output_type
output_type

Specifies the field number or field name of the output destination type. PeopleSoft stores the list of output destination types in the PSXLATITEM table.

Limits: Up to 8 characters; case-sensitive; it cannot contain delimiters (such as spaces)

Default: NONE

Options are the following:

Field Number

Field Name (short form)

0

ANY (A)

1

NONE (N)

2

FILE (F)

3

PRINTER (P)

4

WINDOW (WI)

5

EMAIL (E)

6

WEB (WE)

7

DEFAULT (D)

Notes:

Example: Specify Email as the Output Type

This example specifies an output destination type of EMAIL with the file format of PDF:

AGENT PSAGENT
PROCESSNAME XRFWIN
PROCESSTYPE Crystal
OUTDESTTYPE EMAIL
OUTDESTFORMAT PDF
PSOPRID VP2

Example: Specify Printer as the Output Type

This example specifies an output destination type of PRINTER with the file format of PS:

AGENT PSAGENT
PROCESSTYPE 'SQR Report'
PROCESSNAME XRFWIN
OUTDESTFORMAT PS
OUTDESTTYPE PRINTER
OUTDESTPATH \\CA\PRINTER1