Previous Topic: OUTPUTFORMAT Statement—Specify Output Format for a Single Request or Request SetNext Topic: PARAM Statement—Specify Data Selection Criteria (SAP Jobs)


PARAM Statement—Specify Positional Parameters (i5/OS Jobs)

The PARAM statement defines the parameter values that you want to pass to the program at the time the program is invoked.

Supported Job Type

This statement is optional for the i5/OS job type.

Syntax

This statement has the following format:

PARAM value|'value' 'value'...
value

Specifies the value of a parameter to pass to the program.

Notes:

Example: Pass Multiple Parameters to an i5/OS Program

This example passes six parameters to an i5/OS program named PAYJOB:

AGENT I5AGENT
CLPNAME PAYJOB
PARAM 'ABC' '1' 'P' 'VALUE C' 'X' 'r'