User`s guide
LIBRARY
/MACRO[:value]
Creates a macro library. The optional value argument specifies the number of
macro names that can be stored in the directory. The default value is 128 (which
uses two blocks for the macro-name table).
Note that you can create a macro library, but you cannot list or modify it. To
update a macro library, simply edit the ASCII source file and then reprocess the
file with the LIBRARY/MACRO command.
It is also possible to retrieve the macro definitions from the library using the
SPLIT utility and to recreate at least a partial source file. As an example of doing
this, see customization patch 59 in the RT–11 Installation Guide which describes
how to recreate the file SYSMAC.MAC from the distributed SYSMAC.SML file.
The following example creates a macro library called NEWLIB.MLB from the
ASCII input file SYSMAC.MAC:
.LIBRARY/MACRO/CREATE NEWLIB SYSMAC
When you use /MACRO with LIBRARY, use it on the command side of the
command string and not after the file specification.
/[NO]OBJECT[:filespec]
/OBJECT creates object library files. This is the default. When you modify an
existing library, RT–11, by default, makes the changes to the library you specify
by creating a new, updated library that it stores under the same name as the
original library.
Use this option to give a new name to an updated library file and to preserve the
original library.
The following example creates a library called NEWLIB.OBJ, which consists of
the library OLDLIB.OBJ plus the modules that are contained in files THIRD.OBJ
and FOURTH.OBJ:
.LIBRARY/INSERT/OBJECT:NEWLIB OLDLIB THIRD,FOURTH
/NOOBJECT suppresses the creation of a new object library as a result of a
LIBRARY command.
/PROMPT
Specifies that there will be more than one line of input file specifications in a
LIBRARY command. This option is valid with all other library functions except
the /EXTRACT option.
You must specify two backslashes (//) as the last input to terminate the input
list.
Note that the file specifications you enter after typing the /PROMPT option must
conform to Command String Interpreter (CSI) conventions.
160 RT–11 Command Descriptions










