Specifications
Linker and Librarian
8.5 Librarian Utility
8.5.1 Library Types
Table 8–1 lists the types of available libraries.
Table 8–1 Types of Libraries
File Type
Library Library Module Contents
Help HLB HLP Help text modules that provide
users with information about a
program
Macro MLB MAR VAX MACRO definitions used
as input to the assembler
Object OLB OBJ Object modules of frequently
called routines
Shareable image OLB EXE Symbol tables of shareable
images used as input to the
linker
Text TLB TXT Sequential record files used as
input data to a program
8.5.2 Using the LIBRARY Command
The DCL command LIBRARY invokes the LIBRARIAN and accepts a number of
command qualifiers. The LIBRARIAN manages library modules in the following
ways:
• Creates a new library and specifies the type
• Adds, deletes, or replaces a module within the library
• Copies a module from the library
• Lists the modules in the library, with a history, with global symbols, or before
or after a specified time
• Enables a log of each library action
You can create command procedures that manipulate libraries using the DCL
command LIBRARY.
8.5.3 Sharing Code Using Text Libraries
You can share code easily by creating text or macro libraries that all users can
access. You can also share data by creating text libraries of data files that all
users can access.
For complete information on creating, managing, and using libraries, refer to the
OpenVMS Command Definition, Librarian, and Message Utilities Manual.
8–4










