User Access Utilities › Library Lists › General Considerations for Library Lists › Displaying Library Lists
You can display library lists using the command Display Library List (YDSPLIBLST).
For instance, the following command would display the contents of a list called FRED:
YDSPLIBLST LIBLST(FRED)