LBR LIBRARIAN UTILITY PROGRAM Command Line: outfile [,listfile]=infile1[,infile2,.....infilen] where either outfile, infile, or listfile is a standard RSX-11M file specifier and must have one of several switches. Additional HELP may be obtained with keywords SWITCH COMPRESS CREATE DELETE EXTRACT INSERT LIST REPLACE /sw where sw is a LBR switch *SWITCH Possible LBR switches are, /CO Compress a library file /CR Create a library file /DE Delete a library module and its entry points /DF Specify the default library file type /DG Delete a library module entry point. /EP [/-EP] Include [exclude] entry point elements. /EX Extract(read) one or more modules from a library file. /IN Insert a module. /LI List module names. /LE List module names and module entry points. /FU List module names and full module descriptions. /MH Modify a universal module header. /RP [/-RP] Replace [do not replace] a module. /SS Set selective search attribute in module header /SZ [/-SZ] Reduce [do not reduce] the size of a macro source. *COMPRESS /CO COMPRESS SWITCH Reduces the size of a library file which has become too large due to module replacements. outfile/CO:size:ept:mpt = infile where: outfile and infile are standard filespecs. size = the size of the library in disk blocks (default is original size). ept = number of entry points to allocate (the next highest multiple of 64 to ept is used). Defaults to original value. mnt = number of module name entries(the next highest multiple of 64 to mpt is used). Defaults to original value. *CREATE /CR CREATE SWITCH Creates a new library file. outfile/CR:size:ept:mpt:libtype:infiletype where: size = size of new library file in disk blocks (default=100.). ept = number of entry points to allocate (default=512.) Maximum 4096. Forced to zero for macro and universal libraries. mnt = number of module name entry points to allocate (default=256.). Maximum is 4096. libtype = type of library to be created. OBJ = Object Library. MAC = Macro Library. UNI = Universal Library. infiletype = default input file type [Universal Libraries only]. If not specified .UNI is assumed. *DELETE /DE DELETE SWITCH Deletes one or more modules from a library. outfile/DE:module1[:module2:...:modulen] where: modulen = name of module to be deleted. outfile = name of library file from which to delete it. Up to 15 modules may be deleted in one command. *DF /DF DEFAULT SWITCH Resets the default library type (initially Object). outfile/DF:filetype where: filetype = OBJ for object library, MLB for macro library, UNI for Universal Library. *DG /DG DELETE GLOBAL SWITCH Delete one or more Entry Points from a Library. outfile/DG:global1[:global2....:globaln] where: outfile = library file globaln = name of entry point to be deleted. Up to 15 entry points may be deleted in one command. *EP /EP ENTRY POINT SWITCH Include/exclude global symbols from Entry Point Table. outfile/EP = infile1,....infilen Include all entry points in a module and insert in library file. outfile/-EP= infile1,....infilen Do not include entry points in entry point table, but insert module into library. outfile = library file infilen = input file *EXTRACT /EX EXTRACT SWITCH Extract a module from a library. outfile = infile/EX[:module:...:modulen] where: outfile = name of file to contain extracted module(s). infile = name of library file. modulen = name of module to be extracted. The output file type defaults to .OBJ for Object Libraries, and .MAC for Macro Libraries. Up to 8 modules may be extracted at once from Object or Macro Libraries, but only one from Universal Libraries. *INSERT /IN INSERT SWITCH Insert new modules into a library file. a) General form outfile[/IN] = infile1,infile2,.....infilen where: outfile = library file. infilen = input file. Any number of input files may be specified in one command. b) Universal Libraries only outfile=infile/IN:name:op:op:op:op where: outfile = Universal library file. infile = input file. name = module name (up to 6 RAD50 chars). Defaults to first 6 chars of filename. op = optional descriptive information for module header. Up to 4 sets of up to 6 RAD50 chars. *LIST *FU *LE /LI, /LE, /FU LIST SWITCHES /LI - List module names in library. /LE - List module names in library and their corresponding entry points. /FU - List module names in library, together with their size, date of last insertion and module-dependent information. outfile [,listfile]/sw where: outfile = library file listfile = optional listing file /LE and /FU may be specified together. *MH /MH MODIFY HEADER IN UNIVERSAL LIBRARY SWITCH outfile/MH:name:op:op:op:op where: outfile = Universal library file. name = name of module whose header is to be modified. op = optional descriptive information for module header. Up to 4 sets of up to 6 RAD50 chars. A null entry leaves the corresponding field unchanged. A pound sign (#) clears the corresponding field. *RP #REPLACE *REPLACE /RP REPLACE SWITCH a) General Format outfile/RP = infile1 [,infile2....infilen] where: outfile = library file infilen = input file to be replaced in library. If /-RP is attached to an input file, that module is not replaced but rather inserted. b) Universal Libraries only outfile=infile/RP:name:op:op:op:op where: outfile = Universal library file. infile = input file. name = name of module to be replaced. Defaults to first 6 chars of filename. op = optional descriptive information for module header. Up to 4 sets of up to 6 RAD50 chars. *SS /SS SELECTIVE SEARCH SWITCH Set the Selective Search bit in the module header of object modules. See the Task Builder Manual for further information. outfile =infile1/SS [,infile2/SS,....,infilen/SS] *SZ /SZ SQUEEZE SWITCH Removes trailing blanks, tabs, blank lines, and comments from macro text. outfile/SZ = infile1[,infile2,...,infilen] or outfile = infile1/SZ [infile2[/SZ],....infilen[/SZ] ] where: outfile = macro library file infilen = input macro source file