Queueing a Batch
Look at the files in your directory. The date of the .com file and the date of the .log would normally be the same.
$ dir/date
CALCULATE.COM;2
9-AUG-2005 15:03:31.57
CALCULATE.LOG;35 10-AUG-2005 09:34:00.78
INIT.COM;1 14-JUL-2005 14:50:46.75
INIT.LOG;13 11-AUG-2005 08:50:46.65
MONREP.COM;1 9-AUG-2005 08:52:38.94
MONREP.LOG;2 9-AUG-2005 08:49:49.99
POST.COM;1 15-JUN-2005 10:14:04.35
POST.LOG;11 10-AUG-2005 09:40:30.36 (the
running of POST on this date would have executed using the latest version of
.com in your directory, i.e., the one dated 15-JUN.)
PREPAY.COM;1 9-AUG-2005 13:16:30.04
PREPAY.LOG;26 10-AUG-2005 09:32:55.37
Normal order of creation, execution of batch files.
Here are the usual system prompts when calling up a batch to run:
Output Batch Filename <SYS$SYSDEVICE:[ADM_FLOY]ADMHISCHOOL>? (the system names the .com file after the batch filename)
File SYS$SYSDEVICE:[ADM_FLOY]ADMHISCHOOL.COM; exists. (it alerts you that a file already exists with that filename)
Create a new version <NO>? y (99.99% of the time, you will respond YES)
Save SYS$SYSDEVICE:[ADM_FLOY]ADMHISCHOOL.COM; after execution <NO>? (most of the time you’ll respond NO, but if you are expecting the batch to recur at a specific time interval, say once a week or once a day, you would want the .com file to be saved)
Allow batch log to be queued <NO>? (99.99% of the time you do not want the .log file to be queued to a print device)
You can get more information on various system functions in DMS Reference Manual, Vols I and II,