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.
|
Copyright © 2014 CA.
All rights reserved.
|
|