	.ENABLE GLOBAL
	.ENABLE SUBSTITUTION
	.ENABLE QUIET
	.SETS UIC <UIC>
	.SETS LI ""
	.SETS MP ""
;
; THIS COMMAND FILE WILL BUILD BATCH TO PLACE FILES ON DM0:
;
	.IFNDF $RESLB .ASK $RESLB BUILD BATCH WITH AN FCS RESIDENT LIBRARY
	.IFDF $ASM .GOTO START
	.SETF $MAP
	.SETF $LIST
	.IFNDF $TKB .SETF $TKB
	.IFNDF $ASM .SETF $ASM
	.SETF $TKB
	.ASK $ASM ASSEMBLE
	.IFT $ASM .ASK $LIST LIST
	.IFT $LIST .SETS LI ",TI:"
.START:	.IFT $ASM PIP BATCH.OBJ;*/DE/NM
	.IFT $ASM .OPEN BATCHASM.CMD;1
	.IFT $ASM .DATA BATCH'LI'=LB0:[1,1]EXEMC/ML,[200,200]RSXMC/PA:1,-
	.IFT $ASM .DATA SY:'UIC'BATCH
	.IFT $ASM .CLOSE
	.IFT $ASM MAC @BATCHASM
	.IFT $ASM PIP BATCHASM.CMD;1/DE/NM
	.IFT $TKB .GOTO START2
	.ASK $TKB TASKBUILD
	.IFT $TKB .ASK $MAP MAP
	.IFT $MAP .SETS MP ",TI:"
.START2:.IFT $TKB PIP BATCH.TSK;*/DE/NM
	.IFT $TKB .OPEN BATCHTKB.CMD;1
	.IFT $TKB .DATA BATCH/PR:0/MM/SL/CP'MP'=BATCH,[1,24]MCR/LB:ACTFIL
	.IFT $TKB .DATA [1,24]MCR/LB
	.IFT $TKB .DATA /
	.IFT $TKB .DATA PAR=GEN
	.IFT $TKB .IFT $RESLB .DATA LIBR=FCSRES:RO
	.IFT $TKB .DATA ASG=SY:1
	.IFT $TKB .DATA TASK=BAT...
	.IFT $TKB ; PATCH THE PHYSICAL DEVICE ON TO WHICH THE LOG FILES
	.IFT $TKB ; ARE TO APPEAR
	.IFT $TKB ; GBLDEF=DEV:"DM"
	.IFT $TKB ; GLBDEF=DEV2:"0:"
	.IFT $TKB .DATA PRI=65
	.IFT $TKB .DATA /
	.IFT $TKB .CLOSE
	.IFT $TKB TKB @BATCHTKB
	.IFT $TKB PIP BATCHTKB.CMD;1/NM/DE,BATCH.OBJ;*
.EEND:	;EOF BATCH
