;
;	TASK BUILDER COMMAND FILE FOR BATCH STREAM QUEUE
;	MANAGER PROGRAM ("BATMAN"). THIS VERSION SUPPORTS
;	MULTIPLE BATCH STREAMS
;
;	S.M.THOMPSON, DECEMBER 1979.
;
;	*NOTE* THIS PROGRAM *MUST* BE BUILT AS NON-CHECKPOINTABLE AS IT
;	NEARLY ALWAYS WILL HAVE ONE, AND OCCASIONALLY TWO, I/O REQUESTS
;	TO THE VIRTUAL TERMINAL DRIVER OUTSTANDING.
;
BATMAN/PR/-CP/-FP/-SE/-SL/PM,MP:BATMAN=BATMAN
BATLIB/LB
LB:[1,24]MCR/LB,[1,1]EXELIB/LB
LB:[1,54]RSX11M.STB/SS
/
PAR=BATPAR:0:30000 ; YOU MAY WANT TO CHANGE THIS TO "GEN"
UNITS=7		; ENOUGH FOR FOUR BATCH STREAMS
ASG=CO:1	; OPERATOR MESSAGES LUN
ASG=VT0:2	; LOG FILE READ LUN
ASG=VT0:3	; BATCH JOB MESSAGES LUN
		; (DYNAMICALLY ASSIGNED)
ASG=SY:4	; LOG FILE #1
ASG=SY:5	; LOG FILE #2
ASG=SY:6	; LOG FILE #3
ASG=SY:7	; LOG FILE #4
		; ASSIGN LUN'S FOR ADDITIONAL LOG FILES
		; FROM THIS POINT (CHANGE ALSO UNITS=)
		; ENOUGH VT:'S *MUST* BE SYSGENED INTO
		; THE EXEC. FOR THIS TO WORK.
TASK=BATMAN	; IF C$$TSK IS DEFINED IN THE SOURCE
		; CODE FOR BATMAN (*AND* VTDRV) THEN
		; THIS NAME WILL BE CHANGED TO " BATCH"
		; AT RUN TIME.
PRI=120		; KEEP THIS HIGH!
STACK=64	; NO LOWER THAN THIS PLEASE!
;
; THE FOLLOWING GLOBAL PATCHES GIVE THE DEFAULT DIRECTORY  IN
; WHICH THE LOG FILES WILL BE WRITTEN.
; THE VALUES SET UP BELOW ARE THE SAME AS THE ASSEMBLY DEFAULT,
; OR LB0:[1,71]
; WHEN CHANGING THESE, NOTE THAT THE UFD STRING MUST HAVE NINE CHARACTERS
; AND A TRAILING SPACE, EG [001,071]<SPA>
;
; GLOBAL PATCH ON $DNAM IS LOG FILE DEVICE NAME (LB)
; GLOBAL PATCH ON $DEVU IS LOG FILE DEVICE UNIT (0)
; GLOBAL PATCH ON $DUFD IS LOG FILE UFD ([1,71])
;
GBLPAT=BATMAN:$DNAM:41114
GBLPAT=BATMAN:$DEVU:0
GBLPAT=BATMAN:$DUFD:030133:030460:030054:030467:020135
;
;	THE NEXT GLOBAL PATCHES SPECIFY THE START OF DAYTIME, THE
;	START OF NIGHTIME AND THE MAXIMUM LENGTH OF 'SHORT JOBS'
;	FOR THE PURPOSES OF A QUICK-TURNROUND QUEUE.
;	$DAY IS THE HOUR (24 HOUR CLOCK) WHEN ONE QUEUE STARTS TO
;	BE RESERVED FOR JOBS OF TIME LIMITS OF LESS THAN OR EQUAL
;	TO "$TDAY". $NIGHT IS THE LAST HOUR THAT THIS WILL BE THE
;	CASE, AND WHEN THE HOUR IS $NIGHT+1 THE SHORT QUEUE WILL BE
;	AVAILABLE FOR JOBS OF LENGTH UP TO "$TNITE". THE VALUES GIVEN
;	TO $TDAY AND $TNITE ARE IN OCTAL MINUTES.
;	$TNITE WILL USUALLY BE LARGER THAN $TDAY, BUT THIS IS NOT REQUIRED.
;	THE SHORT QUEUE IS VT1: - OTHER VT:'S WILL BE ALLOWED TO START
;	ANY LENGTH JOBS AT ANY TIME.
;
GBLDEF=$DAY:2
GBLDEF=$NIGHT:23
GBLDEF=$TDAY:36
GBLDEF=$TNITE:454
GBLDEF=$TVT4:74
/
