Previous Topic: ARCVERSION Statement—Specify the SAP Archive VersionNext Topic: ARGS Statement—Specify a Parameter Passed to a Stored Procedure (Database Jobs)


ARGDEFAULTS Statement—Specify Whether to Use Oracle Applications Argument Defaults

The ARGDEFAULTS statement specifies whether to use default values for arguments not defined using the ARGS statement or the PROGARGS statement. The default arguments are defined in Oracle Applications.

Supported Job Types

This statement is optional for the following job types:

Syntax

This statement has the following format:

ARGDEFAULTS Y|N
Y

Specifies that the job uses the default values defined in Oracle Applications for arguments that are not specified in the job definition.

N

Specifies that the job does not use the default values defined in Oracle Applications for arguments that are not specified in the job definition.

Notes:

Example: Use Oracle Applications Argument Defaults

In this example, each program has three arguments. ARGDEFAULTS is set to Y. Thus the agent passes default values from Oracle Applications to arguments not defined in the PROGARGS statement.

In the first program, the PROGARGS statement passes values for the first and third arguments. The agent passes a default value for the second argument.

In the second program, the PROGARGS statement passes values for the second argument. The agent passes default values for the first and third arguments.

AGENT CYBOA
REQUESTSET XXEXTRACTS
APPLDISPLNAME 'Application Object Library'
RESPNAME 'System Administrator'
OAUSER SYSADMIN
ARGDEFAULTS Y
PROGDATA 1
   PROGARGS X45S,,X45G
PROGDATA 2
   PROGARGS ,X22F,