Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

SHOW-LIBRARY-STATUS

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(...)


*LINK(...)



|

LINK-NAME = <structured-name 1..8>

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


2

0
0
1
32
64
130

CMD0001
LMS0129
CMD0230
LMS1002
LMS1004
LMS0041

No error
Statement aborted by user
Syntax error
Internal error
Other error
System address space exhausted

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