Previous Topic: CLASSNAME Statement—Specify a Class NameNext Topic: CMDNAME Statement—Specify Commands to Run on Windows and UNIX


CLPNAME Statement—Identify i5/OS Program to Run

The CLPNAME statement specifies the program that you want to run on an i5/OS system.

Supported Job Type

If the AS400FILE or COMMAND statement is not used, this statement is required for the i5/OS job type.

Syntax

This statement has the following format:

CLPNAME program|
        library/program|
        /QSYS.LIB/library.LIB/program.PGM
program

Specifies the name of the i5/OS program to run. The value must be a valid i5/OS program name.

library

Specifies the name of the library that contains the program that you want to run. The value must be a valid i5/OS library name.

Notes:

Example: Identify i5/OS Program to Run

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