[comp.os.vms] VMS Queue Manipulation

zar@XHMEIA.CALTECH.EDU (04/24/87)

A long time ago, our local management decided that one user could run
only one batch job per queue at a time. At that time I wrote a .COM
file to release the next batch job in sequence submitted with the /HOLD
qualifier. The intention was to design batch jobs as follows:
	$ on error then goto exit
	$ run program
	$ exit: nextjob
then submit jobs with the commands
	$ submit job_1		!First job in sequence
	$ submit/hold job_2	!all jobs in remainder of sequence
	$ submit/hold job_3
	    ...
	$ submit/hold job_n
The NEXTJOB command also took two optional parameters. The first was the
queue to search for jobs. The second was a username (for prived users only)
to release someone elses batch job.

I have since converted the program NEXTJOB to FORTRAN (from .COM and many
MACRO programs). If anyone wants this, send me mail...

					From The Great
					     Zar
					a.k.a. Dan Zirin
					ZAR @ CITCHEM (bitnet)
					ZAR @ XHMEIA.CALTECH.EDU
					XHMEIA::ZAR (span/hepnet)