Previous Topic: i5/OS Naming ConventionsNext Topic: Pass Positional Parameters


Defining i5/OS Jobs

You can define an i5/OS (AS400_JOB) job to schedule workload to run on an i5/OS system. The job can run a program or an i5/OS command. You can run i5/OS jobs in the root file system, open systems file system (QOpenSys), and library file system (QSYS).

Note: To run these jobs, your system requires CA WA Agent for i5/OS.

Required Statements

To define an i5/OS job, you must specify the following statements:

Optional Statements

You can specify the following optional statements for an i5/OS job:

Example: Run a CL Program

This example runs a program named MFGDATA on an i5/OS system. The MFGDATA program is contained in the library named PRODJOBS.

AGENT I5AGENT
CLPNAME MFGDATA
AS400LIB PRODJOBS