Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

Assigning libraries

&pagelevel(4)&pagelevel

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:

  1. Globally defined library (*STD)

  2. Direct name of a library

  3. 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.