LBR LIBRARIAN UTILITY PROGRAM Command Line: outfile [,listfile]=infile1[,infile2,.....infileN] where either outfile, infile, or listfile is a standard RSX11M file specifier and must have one of several switches. Additional HELP may be obtained with keywords SWITCH or, INDEX /sw where sw is a LBR switch 2 /IN #INSERT 2 SWITCH #INDEX 2 INDEX 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 Control the entry point elements(include,exclude) /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. /RP [/-RP] Replace a module [Do not replace a module]. /SP [/-SP] Spool the Listing for printing. [Do not spool the listing]. /SS Set selective search attribute in module header /SZ Reduce the size of a macro source. 2 CO /CO COMPRESS SWITCH Reduces the size of a library file which has become too large due to many module replacements. outfile/CO:size:ept:mpt = infile where: outfile and infile are standard filespecs with extensions .OLB or MLB depending on whether it is an object module library or macro library. size = the size of the library in disk blocks (default is origional size). ept = number of entry points to allocate (the next highest multiple of 64 to ept is used). Defaults to origional value. mnt = number of module name entries(the next highest multiple of 64 to mpt is used). Defaults to origional value. 2 CREATE #CR 2 CR /CR CREATE SWITCH Creates a new library file outfile/CR:size:ept:mpt:type where: size = size of new library file in disk blocks(default=100.). ept = number of entry points to allocate.(default=512.) mnt = number of module name entry points to allocate(default=256.) type = OBJ for object file, MLB for macro file 2 DE /DE DELETE SWITCH outfile/DE:module1[:module2,....moduleN] where: module = name of module to be deleted. outfile = LBR file. 2 DF /DF DEFAULT SWITCH outfile/DF:filetype where: filetype = OBJ for object library, MLB for macro library. 2 DG /DG DELETE GLOBAL SWITCH outfile/DG:global1[:global2....:globalN] where: outfile = library file globalN = name of entry point to be deleted. 2 EP /EP ENTRY POINT SWITCH 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. 2 EX /EX EXTRACT SWITCH outfile = infile/EX[:modulename.....modulenameN] where: outfile = name of module when extracted(FOO.OBJ). infile = name of library file (FOOBAR.OLB). modulename = name of module to be extracted.($FOO). 2 INSERT /IN INSERT SWITCH Insert new modules in a library file outfile [/IN] = infile1,infile2,.....infileN where: outfile = library file filespecifier(FOO.OLB). infile = object or macro module(FOO.OBJ) 2 LI /LI LIST SWITCH Produce a short listing of module names. outfile [,listfile]/LI where: outfile = library file SEE ALSO /LE, /FU 2 LE #LIST-ENTRYS 2 LIST-ENTRYS /LE LIST ENTRYS Similar to /LI but longer and more information and entry point names. 2 FU #LIST-FULL 2 LIST-FULL /FU FULL LIST Similar to /LI, but provides a full listing . 2 RP #REPLACE 2 REPLACE /RP REPLACE SWITCH outfile /RP = infile1 [,infile2....infileN] where: infile is the file specifier for the file containing the modules to be replaced. If /-RP is attached to an infile , that module is not replaced but rather inserted. 2 SP /SP SPOOL SWITCH Send a listfile for spooling to the line printer. 2 SS #SELECTIVE-SEARCH 2 SELECTIVE-SEARCH /SS SELECTIVE SEARCH SWITCH outfile =infile1/SS [,infile2/SS,....,infileN/SS] 2 SZ #SQUEEZE 2 SQUEEZE /SZ SQUEEZE SWITCH Removes trailing blanks, tabs, blank lines, and comments from macro txt. outfile /SZ=infile1 [,infile2....infileN] or outfile = infile1/SZ [infile2[/SZ],....infileN[/SZ] ] # UNKNOWN QUALIFIER Valid HELP qualifiers are SWITCHES and /sw where sw is any of /CO COMPRESS /CR CREATE /DE DELETE /DF DEFAULT /DG DELETE-GLOBAL /EP ENTRY-POINT /FU FULL, LIST-FULL /IN INSERT /LE LIST-ENTRY /LI LIST /RP REPLACE /SP SPOOL /SS SELECTIVE-SEARCH /SZ SQUEZE # UNKNOWN QUALIFIER KEYWORDS @LBR.HLP