% VAX-11 Librarian V03-00 *`G,f- V5BATCH BATDELDIR BECOME BIGFILEBIGTXTCOMFILESDELDIRMINEPOPDEFPUSHDEFSUBPROC!^" MANAGER COMFILESY  MANAGER BATDELDIRBATCHBECOMEBIGFILEBIGTXTDELDIRMINEPUSHDEFPOPDEF!@RX WATSON COMFILES `] WATSON SUBPROCb$]  WATSON COMFILES BATDELDIRBATCHBECOMEBIGFILEBIGTXTDELDIRMINEPUSHDEFPOPDEF! WATSON COMFILES "\1 BATCHLG The BATCH command runs a command as a batch process in the SYS$BATCHG queue. For example, if you want to copy a large file without tying upt your terminal, type: $ $ batch copy bigfile.dat backup.datG When the batch process terminates, it notifies you at your terminal ifD you are still logged in.SG If you issue the BATCH command with no arguments, it will prompt for aeG series of commands and data to run as a batch process. In this mode,d6 each DC L command must be preceded by a "$" character.G BATCH tries to set up the environment in the batch process so that itoG is similar to your current environment by setting the defaulttG directory to your current default directory, and invokingT SUBDIRECT.COM if present. 2 LOG_FILEG The BATCH command creates a log file in your home directory. It trieseG to name the file according to the command you are executing, eg.rG COPY.LOG. If it can't figure out a name, it uses BATCH.LOG. SinceG batch logs from the BATCH command are not printed when done, BATCHhG also defines two commands for you; LISTL*OG which uses LIST to listT5 the log file and DELL*OG which deletes the log file.YG When you BATCH and/or SPAWN (see HELP SPAWN) more than one commandiG simultaneously, the LISTL*OG and DELL*OG commands will refer to the$ last BATCH or SPAWN command issued.wwes you at your terminal if you are still logged in.G If you issue the BATC @\1 BECOMEA BECOME is a command procedure to change your process defaults toY "become" another user.a eG BECOME may be used only by privileged users with the SETPRV privilege.eA BECOME has basically be made obsolete by the SWAP program, which 3 accomplishes the same thing much more efficiently.uwwstill logged in.oG If you issue the BATCH command with no arguments, it will prompt for aiG series of commands and data to run as a batch process. In this mode,e6 each DC \ 1 BIGFILE D BIGFILE.COM produces an output list of a directory (optionally withF subdirectories included) listing the files in the directories, sortedD in descending order by number of blocks. Output is to the terminal;F a file, BIGFILE.TMP, is produced; BIGFILE asks at the end if you wantB to "Delete?". This refers to the sorted listing of the directory.J The LIST utility is used to list the result file. One screen is shown; to( see more, hit return; to exit, hit "X".C USE: @BIGFILE {directory-spec} -- default lists current directory.d AUTHOR: A. Watsonww BATCHG also defines two commands for you; LISTL*OG which uses LIST to list5 the log file and DELL*OG which deletes the log file.G When you BATCH and/or SPAWN (see HELP SPAWN) more than one commandG simultaneously, the LISTL*OG and DELL*OG commands will refer to the$ last BATCH or SPAWN command issued.ww༐\ 1 COMFILESGThere are many command files contained in the system directory known asHSYS$COM:. Most of these command procedures are available to everyone; aDfew are reserved to privileged accounts. The help for an individual9file will indicate if it is reserved to privileged users.ACommand procedures in SYS$COM may be executed in one of two ways:# @SYS$COM:filename [parameter list] CMD filename [parameter list]BNot all SYS$COM files have been documented. Those documented are:wwATDELDIRDDesigned for use in batch mode, this procedure will delete an entireAdirectory tree, given the device name and the name of the highest directory.CThus, to delete all files in USER$DISK:[WATSON.TEST], including any+sub-directories below TEST, you would type:, @SYS$COM:BATDELDIR USER$DISK: [WATSON.TEST]FThe space after the colon is essential. The device name given must beHan actual device name or a logical device name; it cannot be a concealedHdevice namg\ 1 BATDELDIRiDDesigned for use in batch mode, this procedure will delete an entireAdirectory tree, given the device name and the name of the highestc directory.CThus, to delete all files in USER$DISK:[WATSON.TEST], including anye+sub-directories below TEST, you would type:, @SYS$COM:BATDELDIR USER$DISK: [WATSON.TEST]FThe space after the colon is essential. The device name given must beHan actual device name or a logical device name; it cannot be a concealedHdevice n ame containing a directory specification. That is, SYS$SYSROOT,Dwhich translates to "__DRB0:[SYS0.]" would be illegal for BATDELDIR.HYou must use "SYS$SYSDEVICE" and include "SYS0" as part of the directoryspecification.GThe command line given above would run BATDELDIR interactively. To runoFit in batch mode, either put the command line in a file and SUBMIT it,$or use the BATCH command as follows:. $ BATCH @SYS$COM:BATDELDIR Device: Directory:Asubstituting the actual device and directory specifications wheree indicated.GUpon completion, BATDELDIR will have deleted all files in the specifiedn(directory and the directory file itself.wwd by a "$" character.G BATCH tries to set up the environment in the batch process so that itG is similar to your current environment by setting the defaultG directory to your current default directory, and invoking SUBDIRECT.COM if present. 3 LOG_FILEG The BATCH command creates a log file in your home directory \1 BIGTXTB BIGTXT accepts three parameters and uses them to output a line of double high, double wide text.,A Parameter 1 is the starting line, parameter 2 is the column, anddH parameter three is the text (text containing blanks must be in quotes)./ Example: @SYS$COM:BIGTXT 2 10 "THIS IS A TEST"nwwOG which deletes the log file.G When you BATCH and/or SPAWN (see HELP SPAWN) more than one commandG simultaneously, the LISTL*OG and DELL*OG commands will refer \1 DELDIRGDeletes a directory tree (all files, sub-directories, and the directoryyCitself). Designed for interactive use. When deleting a very largeedirectory, use BATDELDIR.eEThis file is still imperfect; it sometimes completes without deletingbCeverything. Just run it a second time and you should finish up OK.fETo run: @SYS$COM:DELDIR or CMD DELDIR. You should set your default torAthe directory you want to delete before running DELDIR; sometimestEconcealed device names can confuse it. For example, trying to deletetCSYS$SYSROOT:[SOMEDIR] while your default is STD:[USERNAME] will not work.ewwou wantB to "Delete?". This refers to the sorted listing of the directory.J The LIST utility is used to list the result file. One screen is shown; to( see more, hit return; to exit, hit "X".C USE: @BIGFILE {directory-spec} -- default lists current directory. AUTHOR: A. Watson2 BIGTXTB BIGTXT accepts three parameters and uses them to output a line of d-]1 MINEHFinds files that belong to you in the current default directory. Useful:for finding files you created in someone else's directory.FWith no parameter, MINE will find files belonging to your current UIC.DWith a UIC as parameter, MINE will find files which DO NOT belong to that UIC.e Examples:d< @SYS$COM:MINE (or CMD MIND) -- find files belonging to you. @SYS$COM:MINE [71,75] orl8 CMD MIND [71,75] -- find files that DON'T belong to [71,75]wwun it a second time and you should finish up OK.ETo run: @SYS$COM:DELDIR or CMD DELDIR. You should set your default toAthe directory you want to delete before running DELDIR; sometimesEconcealed device names can confuse it. For example, trying to deleteCSYS$SYSROOT:[SOMEDIR] while your default is STD:[USERNAME] will notwork.2 MINEHFinds files that belong to you in the current default directory. Useful:for finding files you created in someone else's directory.FWith no parameter,@H ] 1 PUSHDEFnEThis is the command file that runs when you execute the PUSH command. FIt pushes your current default device and directory onto a "stack" and4changes you to the new default given as a parameter.'See "HELP PUSH" for full documentation. ww that DON'T belong to [71,75] 2 PUSHDEFEThis is the command file that runs when you execute the PUSH command.FIt pushes your current default device and directory onto a "stack" and4changes you to the new default ]1 POPDEFEPOPDEF is the command procedure run by the foreign command "POP". It C"pops" an old default device and directory off the stack created byl.PUSHDEF and changes your default back to that.&See "HELP POP" for full documentation.ww.&See "HELP POP" for full documentation.ww`] 1 SUBPROCDThe SUBPROC procedure reports on the terminal information about your*current status in regard to sub-processes.< -- if you are currently running a sub-process or a main process. a5 -- who the owner of your current sub-process is.m& -- who owns the owner, if anyone.E -- for a main process, if sub-processes exist, runs SHOW PROCESSt /SUBPROCESS.i. -- how many sub-processes, if any, exist./To invoke, use @SYS$COM:SUBPROC or CMD SUBPROC.i3Please report any bugs to the author, Allen Watson.ewwinal;F a file, BIGFILE.TMP, is produced; BIGFILE asks at the end if you wantB to "Delete?". This refers to the sorted listing of the directory.J The LIST utility is used to list the result file. One screen is shown; to( see more, hit return; to exit, hit "X".C USE: @BIGFILE {directory-spec} -- default lists current directory. AUTHOR: A. Watsonwwh1 BIGTXTB BIGTXT accepts three parameters and uses them to ou `G 1 COMFILESGThere are many command files contained in the system directory known ashHSYS$COM:. Most of these command procedures are available to everyone; aDfew are reserved to privileged accounts. The help for an individual9file will indicate if it is reserved to privileged users.(ACommand procedures in SYS$COM may be executed in one of two ways:r# @SYS$COM:filename [parameter list]  CMD filename [parameter list]GNot all SYS$COM files have been documented. A list of those documented?may be obtained by typing a "?" in response to the next prompt. wwTo run: @SYS$COM:DELDIR or CMD DELDIR. You should set your default toAthe directory you want to delete before running DELDIR; sometimesEconcealed device names can confuse it. For example, trying to deleteCSYS$SYSROOT:[SOMEDIR] while your default is STD:[USERNAME] will notwork.wwy1 MINEHFinds files that belong to you in the current default directory. Useful:for finding files you created in someone else's directory.FWith no parameter, MINE will find files belonging to your current UIC.DWith a UIC as parameter, MINE will find files which DO NOT belong to that UIC. Examples:< @SYS$COM:MINE (or CMD MIND) -- find files belonging to you. @SYS$COM:MINE [71,75] or8 CMD MIND [71,75] -- find files that DON'T belong to [71,75]ww 1 PUSHDEFEThis is the command file that runs when you execute the PUSH command.FIt pushes yo ur current default device and directory onto a "stack" and4changes you to the new default given as a parameter.'See "HELP PUSH" for full documentation.ww1 POPDEFEPOPDEF is the command procedure run by the foreign command "POP". ItC"pops" an old default device and directory off the stack created by.PUSHDEF and changes your default back to that.&See "HELP POP" for full documentation.ww! 1 COMFILESGThere are many command files contained in the system directory known asHSYS$COM:. Most of these command procedures are available to everyone; aDfew are reserved to privileged accounts. The help for an individual9file will indicate if it is reserved to privileged users.ACommand procedures in SYS$COM may be executed in one of two ways:# @SYS$COM:filename [parameter list] CMD filename [parameter list]BNot all SYS$COM files have been documented. Those d"ocumented are: 2 BATDELDIRDDesigned for use in batch mode, this procedure will delete an entireAdirectory tree, given the device name and the name of the highest directory.CThus, to delete all files in USER$DISK:[WATSON.TEST], including any+sub-directories below TEST, you would type:, @SYS$COM:BATDELDIR USER$DISK: [WATSON.TEST]FThe space after the colon is essential. The device name given must beHan actual device name or a logical device name; it cannot be a concealedHdevice nam#e containing a directory specification. That is, SYS$SYSROOT,Dwhich translates to "__DRB0:[SYS0.]" would be illegal for BATDELDIR.HYou must use "SYS$SYSDEVICE" and include "SYS0" as part of the directoryspecification.GThe command line given above would run BATDELDIR interactively. To runFit in batch mode, either put the command line in a file and SUBMIT it,$or use the BATCH command as follows:. $ BATCH @SYS$COM:BATDELDIR Device: Directory:Asubstituting the actual device and directory$ specifications where indicated.GUpon completion, BATDELDIR will have deleted all files in the specified(directory and the directory file itself.2 BATCHG The BATCH command runs a command as a batch process in the SYS$BATCHG queue. For example, if you want to copy a large file without tying up your terminal, type:$ $ batch copy bigfile.dat backup.datG When the batch process terminates, it notifies you at your terminal if you are still logged in.G If you issue the BATC%H command with no arguments, it will prompt for aG series of commands and data to run as a batch process. In this mode,6 each DCL command must be preceded by a "$" character.G BATCH tries to set up the environment in the batch process so that itG is similar to your current environment by setting the defaultG directory to your current default directory, and invoking SUBDIRECT.COM if present. 3 LOG_FILEG The BATCH command creates a log file in your home directory&. It triesG to name the file according to the command you are executing, eg.G COPY.LOG. If it can't figure out a name, it uses BATCH.LOG. SinceG batch logs from the BATCH command are not printed when done, BATCHG also defines two commands for you; LISTL*OG which uses LIST to list5 the log file and DELL*OG which deletes the log file.G When you BATCH and/or SPAWN (see HELP SPAWN) more than one commandG simultaneously, the LISTL*OG and DELL*OG commands will refer' to the$ last BATCH or SPAWN command issued.2 BECOMEA BECOME is a command procedure to change your process defaults to "become" another user. G BECOME may be used only by privileged users with the SETPRV privilege.A BECOME has basically be made obsolete by the SWAP program, which3 accomplishes the same thing much more efficiently. 2 BIGFILED BIGFILE.COM produces an output list of a directory (optionally withF subdirectories included) listing the files in the directories, sort(edD in descending order by number of blocks. Output is to the terminal;F a file, BIGFILE.TMP, is produced; BIGFILE asks at the end if you wantB to "Delete?". This refers to the sorted listing of the directory.J The LIST utility is used to list the result file. One screen is shown; to( see more, hit return; to exit, hit "X".C USE: @BIGFILE {directory-spec} -- default lists current directory. AUTHOR: A. Watson2 BIGTXTB BIGTXT accepts three parameters and uses them to output a line of d)ouble high, double wide text.A Parameter 1 is the starting line, parameter 2 is the column, andH parameter three is the text (text containing blanks must be in quotes)./ Example: @SYS$COM:BIGTXT 2 10 "THIS IS A TEST"2 DELDIRGDeletes a directory tree (all files, sub-directories, and the directoryCitself). Designed for interactive use. When deleting a very largedirectory, use BATDELDIR.EThis file is still imperfect; it sometimes completes without deletingCeverything. Just ru*n it a second time and you should finish up OK.ETo run: @SYS$COM:DELDIR or CMD DELDIR. You should set your default toAthe directory you want to delete before running DELDIR; sometimesEconcealed device names can confuse it. For example, trying to deleteCSYS$SYSROOT:[SOMEDIR] while your default is STD:[USERNAME] will notwork.2 MINEHFinds files that belong to you in the current default directory. Useful:for finding files you created in someone else's directory.FWith no parameter,+ MINE will find files belonging to your current UIC.DWith a UIC as parameter, MINE will find files which DO NOT belong to that UIC. Examples:< @SYS$COM:MINE (or CMD MIND) -- find files belonging to you. @SYS$COM:MINE [71,75] or8 CMD MIND [71,75] -- find files that DON'T belong to [71,75] 2 PUSHDEFEThis is the command file that runs when you execute the PUSH command.FIt pushes your current default device and directory onto a "stack" and4changes you to the new default, given as a parameter.'See "HELP PUSH" for full documentation.2 POPDEFEPOPDEF is the command procedure run by the foreign command "POP". ItC"pops" an old default device and directory off the stack created by.PUSHDEF and changes your default back to that.&See "HELP POP" for full documentation. 2 SUBPROCDThe SUBPROC procedure reports on the terminal information about your*current status in regard to sub-processes.< -- if you are currently running a sub-process or a main process. 5 -- who the owner of your current sub-process is.& -- who owns the owner, if anyone.E -- for a main process, if sub-processes exist, runs SHOW PROCESS /SUBPROCESS.. -- how many sub-processes, if any, exist./To invoke, use @SYS$COM:SUBPROC or CMD SUBPROC.3Please report any bugs to the author, Allen Watson.ww