User`s guide
LIBRARY
Options
/ALLOCATE:size
Use this option only with /LIST or /OBJECT to reserve space on the device for
the output file. The value size specifies the number of blocks of space to allocate.
The meaningful range for this value is from 1 to 65535. A value of -1 is a special
case that allocates the largest area available on the device.
The following example uses /ALLOCATE to create the object library MYLIB.OBJ
from the object library MYFILE.OBJ. The argument, -1, is specified with
/ALLOCATE:
LIBRARY/OBJECT:MYLIB/ALLOCATE:-1 MYFILE
/CREATE
Use this option by itself to create an object library. Specify a library name
followed by the file specifications for the modules that are to be included in that
library. The following command creates a library called NEWLIB.OBJ from the
modules contained in files FIRST.OBJ and SECOND.OBJ:
.LIBRARY/CREATE NEWLIB FIRST,SECOND
/DELETE
Deletes an object module and all its associated global symbols from a library file
directory. Since the module is deleted only from the directory (the object module
itself is not deleted), the module and all global symbols that were previously
deleted are restored whenever you modify that library, unless you use /DELETE
again to delete them. Specify the library name in the command line.
RT–11 prompts you for the names of the modules to delete. The prompt is:
Module name?
Respond with the name of a module. (Be sure to specify a module name and not
a global symbol name.) Follow each module name with
RETURN
. Enter
RETURN
on a line by itself to terminate the list of module names.
The following example deletes modules SGN and TAN from the library called
NEWLIB.OBJ:
.LIBRARY/DELETE NEWLIB
Module name? SGN
Module name? TAN
Module name?
/EXTRACT
Extracts an object module from a library and stores it in a file with the same
name as the module and a file type of OBJ. You cannot combine this option with
any other option.
RT–11 prompts you for the name of the object module to be extracted. The prompt
is:
Global?
158 RT–11 Command Descriptions










