.rm 75 .lm 0 1 VERB .lm 1 VERB is a program to extract verb definitions from either your process space or a command table file (such as SYS$SHARE:DCLTABLES.EXE). These verb definitions can then be changed and recompiled via the command definition utility, SET COMMAND. This program is similar to the 3.n program CLEX, except that it works with version 4.n command tables. This program is a must if you need to change verb definitions, or if you just hate the DEC defaults (getting tired of HELP/PAGE, or LINK creating maps when executed from a batch job?). .blank .! Note, you will probably want to edit the following lines to .! reflect local conditions.... To use VERB, type SET COMMAND VERB or add this command to your login.com file. .break .lm 0 2 Parameters .lm 1 VERB allows you to do wildcard searches for verbs (commands) and lists of verbs, such as VERB A*,B*,%%% (which would return all the verb definitions for commands that start with A, B, and all three letter commands). .break .lm 0 2 /ALL .lm 1 VERB /ALL will list the entire CLD for every command in your process table. .break .lm 0 2 /LIST .lm 1 VERB also can list available verbs (commands), without the verb definition, as in VERB /LIST /ALL, and note the /ALL qualifier. .break .lm 0 2 /OUTPUT .lm 1 VERB allows you to put the output in a file, as in VERB /OUTPUT=filename. .break .lm 0 2 /PROCESS .lm 1 VERB /PROCESS 'command' defaults to searching your process space. .break .lm 0 2 /WIDTH .lm 1 This qualifier tell VERB how wide your terminal screen is. /WIDTH=80 is the default. .break .lm 0 2 /TABLE .lm 1 You can specify a table to search for the verb, or even to search your process space. The command defaults to searching your process space, but if you enter VERB /TABLE it will default to using the system command table SYS$SHARE:DCLTABLES, you can of course specify a table other than that, as in VERB /TABLE=MY__OWN__TABLE, note that it uses SYS$SHARE:DCLTABLES.EXE as the default file name in an RMS $OPEN call. .break .lm 0 2 /IMAGE .lm 1 You can specify an image to load, to search command tables defined within a shareable image. You must use the /SYMBOL qualifier with this qualifier. The image wil be loaded via LIB$FIND__IMAGE__SYMBOL so all restrictions for that routine apply. .break .lm 0 2 /SYMBOL .lm 1 You can specify a symbol name which points to a command table within a shareable image. An example using a basic program follows: .lit 10 external long function smg$$ab_defkey_cld ! This simply defines the symbol smg$$ab_defkey_cld ! which is used internally, if you had your own ! command tables internal to the program, you ! could use it here.. But then, you probably wouldn't ! need to. This feature obviously has limited use... end .end lit to be compiled like: .lit $ basic test $ link/share sys$input/opt test.obj UNIVERSAL=SMG$$AB_DEFKEY_CLD $ define test$image sys$disk:[]test $ verb/image=test$image/symbol=smg$$ab_defkey_cld * .end lit .break .lm 0 2 restrictions .lm 1 Well, it hasn't been tested with MCR tables.I wouldn't be surprised if it didn't like them. .blank When extracting several verbs at a time the verbs may reference common TYPE defnitions, in these cases only one is output, this only becomes a problem if you cut up the output file into several smaller files. .blank When extracting several verbs (such as BASIC,MACRO,FORTRAN) they may each reference a TYPE defnition that is different for each verb, but has the same name. Since the TYPE definitions are actually different each one will be included in the file, but the CDU will not appreciate having similarly named TYPE definitions. In such cases simply extact the verbs into seperate files. .break .lm 0 2 author .lm 1 If you have any questions, comments, ideas, or whatever, feel free to contact me. .blank .i+5;Joe Meadows Jr. .i+5;VAX/VMS System Manager / guru in training .i+5;Fred Hutchinson Cancer Research Center .i+5;1124 Columbia St. .i+5;Seattle Wa. 98104 .i+5;bitnet - JOE@FHCRCVAX .i+5;arpa - JOE%FHCRCVAX.BITNET@OLY.ACS.WASHINGTON.EDU .i+5;voice - (206) 467-4970 .break