OA_SET_PRINT_DEFAULTS

Sets the default value for the print parameters to be used for executing Concurrent Programs.

Interface: SBB and XBP

Syntax

OA_SET_PRINT_DEFAULTS

Syntax

Description/Format

PRINTER= Printer name
Format: script literal
STYLE= Style
Format: script literal
COPIES=

Number of copies
Format: number

Defaut value: "0"

Comments

Using this script element, the user can assign default values to the print parameters. They are valid for the entire script or until a new default value is assigned in the script. These values apply only to the job in which they were set.

By setting default values, the clarity of the AE Script is increased. At the same time, problems with the limitation of 255 characters per script line are avoided because the real processing instruction was first assembled in the Oracle Applications agent.

The script element can be used exclusively for OA_SUBMIT_REQUEST in order to assign default values to the print parameters.

Example

In the following example, default values for the printer and the number of copies are set.

OA_SET_PRINT_DEFAULTS PRINTER='MINE'
OA_SET_PRINT_DEFAULTS COPIES=2
OA_SUBMIT_REQUEST APPLICATION='FND',PROGRAM='MYPROG',DESCRIPTION='Sunday run of AE',ARG1='602'

 

See also: