Previous Topic: AS400FILE Statement—Identify i5/OS Source FileNext Topic: ASSIGN Statement—Assign a Logical File Name to a Physical File


AS400LIB Statement—Specify the Name of a Library

The AS400LIB statement specifies the name of the library that contains the Control Language (CL) program, the source file for the program, or the command that you want to run.

Supported Job Type

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

Syntax

This statement has the following format:

AS400LIB library|
         /QSYS.LIB/library.LIB
library

Specifies the name of the library that contains the program, the source file for the program, or the command that you want to run. The value must be a valid i5/OS library name.

Notes:

Example: Specify the Library that Contains the CL 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