Previous Topic: Displaying Library ListsNext Topic: Working With/Editing Library Lists


Checking Library Lists

You can determine the existence of a library list using the Check Library List command (YCHKLIBLST).

For instance, the following command would check whether library list FRED in QGPL exists:

YCHKLIBLST LIBLST(QGPL/FRED)

You can also use this command to retrieve the contents of a library list into a program. Note that the command first verifies your authority to use and maintain the list.