Previous Topic: Defining i5/OS JobsNext Topic: Use a User's Library List


Pass Positional Parameters

When running workload, you might need to pass data between jobs and across platforms. You can pass positional parameters to an i5/OS program in your job definition. Positional parameters are variables that can be passed to a program at the time the program is invoked. The parameters are assigned in the order they are passed.

To pass positional parameters to an i5/OS program, specify the PARAM statement in the job definition. You can specify multiple PARAM statements within a single job definition.

Example: Pass Multiple Parameters to an i5/OS Job

This example passes eight parameters to an i5/OS program. Each parameter is enclosed with single quotation marks and separated with a blank space.

PARAM 'PAYROLL' '*LIBL' 'ABC' '01' '1' 'P' 'TAP02' '0'