In LMSCONV statements, libraries are specified by means of the LIBRARY operand. There are several ways of assigning a library, all of which ultimately lead directly or indirectly to libraries:
Globally defined library (*STD)
Direct name of a library
Indirectly via a link name
Numbers 2 and 3 of the above options can be used to define the global library.
If a statement uses libraries, LMSCONV opens the libraries that are used in this statement. LMSCONV closes all other open libraries, regardless how many libraries have been used before in the current LMSCONV run. The statements, which don't use libraries (e.g. SHOW-DEFAULTS), don't influence the states of libraries.
The LMSCONV statement SHOW-LIBRARY-STATUS provides information on the status of the libraries to be processed.
Globally defined library (*STD)
The globally defined library is assigned by means of OPEN-LIBRARY and reset to undefined by means of CLOSE-LIBRARY.
Direct name of a library
The specified file name designates a library. This specification is often used during work with LMSCONV.
Indirectly via a link name
The name <link> specified under *LINK designates a link name. As a rule, the link name is a file link name defined via /ADD-FILE-LINK, to which a library is assigned in the FILE-NAME operand.