This statement displays the status of the libraries used.
LMS outputs the following information on execution of the statement:
name of the library/libraries
status of the library/libraries (opened or closed)
assigned link name, if any
assigned library-specific default type, if any
SHOW-LIBRARY-STATUS | ||||||||||||
|
LIBRARY = *ALL / *STD / <filename 1..54 without-vers> / *LINK(...)
The library whose status is to be displayed.
LIBRARY = *ALL
All libraries used are displayed.
LIBRARY = *STD
The global library opened by OPEN-LIBRARY is displayed.
LIBRARY = <filename 1..54 without-vers>
Name of the library whose status is to be displayed.
LIBRARY = *LINK(...)
The status of the library assigned via a link name is displayed.
LINK-NAME = <structured-name 1..8>
Link name of the library; this name was defined by means of a /ADD-FILE-LINK command prior to calling LMS.
Statement return code
(SC2) | SC1 | Maincode | Meaning |
| 0 | CMD0001 | No error |
Example
Five different libraries were used during the LMS run. One library was addressed via the link name LIB1:
//SHOW-LIBRARY-STATUS STATUS FILENAME MODE LINK DEF-TYPE OPEN :N:$USER.LMSPL.LIB UPDATE CLOSED :N:$USER.MODUL.LIB LIB1 CLOSED :N:$USER.MACRO.LIB M CLOSED :N:$USER.QUELL.LIB CLOSED :N:$USER.TEST.LIB