This statement closes the specified library/libraries. If this statement is specified for a global library, this library is closed and its name is reset.
If the LMSCONV output is held in a library member, then the associated library will not be closed and an error message is issued.
If this statement is specified without parameters, all open libraries are closed and the name of the global library is reset.
Format
CLOSE-LIBRARY | ||||||||||||
|
Operands
LIBRARY = *ALL / *STD / <filename 1..54 without-vers> / *LINK (...)
Specifies the library or libraries to be closed.
LIBRARY = *ALL
All open libraries are closed.
LIBRARY = *STD
The library opened by OPEN-LIBRARY is closed.
LIBRARY = <filename 1..54 without-vers>
Name of the library to be closed.
LIBRARY = *LINK(...)
The library assigned via a link name.
LINK-NAME = <structured-name 1..8>
Link name of the library; this name was defined by means of /ADD-FILE-LINK prior to the LMSCONV run.
Examples
All open libraries are closed and the name of the global library is reset.
//close-library
The library lib1 is closed.
//close-library library=lib1
The library that was assigned via the link name lib2 is closed.
//close-library library=*link(link-name=lib2)