[VAX83D.USAE]AAAREADME.TXT The following command procedures and fortran programs were written by Aaron B. Stein Usae Waterways Experiment Station Vicksburg, Mississippi, 39180 601-634-3283 ******************************************************************************* adduaf.com This command file is used to create an account, disk quota and directory for a new user of the system. To use this command file you must pass it three parameters; p1 = directory to be created p2 = uic to be associated with this account p3 = account information For example to add a user named Zimmerman with uic of 100,3 and account sales you would type: @adduaf zimmerman 100,3 sales This command file, as do all on this tape assume the users directories are located on a device with the logical name user_disk: . The user who is added to the system with this file is given the default disk quota. ascebc.for;1 This program converts an ascii file to an ebcdic file. The input file name should be assigned the logical name 'as'. The output file name should be assigned the logical name 'eb'. ascebc.exe This is the execution file for above program. backupud.com This command file is used to backup the user disk. In the process of doing this it allocates and mounts your tape, deletes map, lis and obj files and it purges the user_disk. It then does a full disk backup of the user disk. When it has finished the backup it creates a summary of the cpu usage by all users and generates a listing of disk useage of all users with directories on the user_disk. The cpu useage report and the disk useage report are printed and stored in sys$sysroot:[sysmgr.useage]. blank.for This program removes all trailing blank in a file. It is very useful for compressing fortran file which have come to you from a card deck or cark image tape. On such file much space is typically wasted by trailing blanks blank.exe This is the execution file for the above program. cofiback.com This command file copies selected files from a backup tape. To use it you must pass it the file name as a parameter. columns.for This command file identifies all lines in a fortran program greater than 80 character long. columns.exe This is the execution file for the above program. daybackup.com This command file backs up only those files created or modified from one day to the next by using the /since qualifier. This command file does a disk to disk backup and stores the incrementally backed up file on the system disk in sys$sysroot:[sysmgr.backup] . The backup save sets are named with the date they where created. This command file send mail to the system manager indicating the sucess or failure of the incremental backup. This command file submits itself to run at four o'clock the next morning when it completes it run. The result is daily incremental backups with out operator intervention. We have used this procedure for six months on our machine and it works very well. It is nice to be able to be able to restore files that are accidently deleted by users from day to day. We delete all these daily incremental backup save sets each friday when we do a full user disk backup (see backupud.com). To use this command file submit it once as follows: submit/after="tommorow+4:00" daybackup There after the file will resubmit itself and run each day at four in the morning. Try this one you'll like it. diff.com;3 Command file to run the differences dcl command with selected qualifers. ebcasc.for;2 This program converts ebcdic files to ascii files. Input file names should be assigned the logical name 'eb'. Output file names should be assigned the logical name 'as'. edbasc.exe This is the execution file for the above program. edt.com If you assign the symbol e to this file (see sylogin.com), then by typing e followed by a file name you will edit a file using the edt editor. So what you ask, well the other thing which this command procedure does is remember the last file which you edited using it. Therefore by just typing e with no file name following you will automatically be editing the last file which you edited. This will work even if you logout. The command procedure works by writting a name of the file in edtmemory.dat For this procedure to work you must have a file named edtini.edt in your login directory. The file may be empty or contain edit initializer commands. On our system this file as well as most of the other command procedures and programs listed here are stored in sys$sysroot:[sysmgr.util] and they are equated to symbols is sylogin.com. See (sylogin.com included in this tape.) ff.com This command file puts a form feed every 22 lines in a file. This procedure allows you to use the page command in keypad editor mode to look thru a file. ******************************************************************************* THE TWO FILES BELOW, NOPRIV AND PRIV, SHOULD BE GIVEN TO ONLY THOSE PERSONS WITH SETPRV PRIVILEDGES. THE PRIV FILE WILL ONLY WORK IF YOU HAVE SYSPRV. nopriv.com This command file takes all priviledes away from a user except sysprv. priv.com This command file gives a user all priviledges except setprv. I use these file for system management. Normally I have only setprv and give myself the other priviledges when I need them. They are use as foreign commands. In my login.com file I have the following statements: $ priv :== @sys$sysroot:[sysmgr]priv $ nopriv :== @sys$sysroot:[sysmgr]nopriv ******************************************************************************* sd.com LIBRARIAN'S NOTE: Placed in the [.SETDEF] structure. systartup.com This is our startup.com file.