.ENABLE SUBSTITUTION
.SETS DA ""
.IF P1 = "DEBUG" .SETS DA "/DA"
.SETS $U "'<UIC>'"
.SETS $D "SY:"
.IFNINS ...MAC INS $BIGMAC
.IFNINS ...TKB INS $BIGTKB
.IFNINS ...SRD INS $SRD
.TESTFILE BATCH.MAC
.IF <FILERR> = 1 .GOTO 10
.5: .ASKS $D ON WHICH DISK IS THE SOURCE (DDn:)
.TESTFILE '$D'BATCH.MAC
.IF <FILERR> = 1 .GOTO 10
.SETS $D "'$D':"
.TESTFILE '$D'BATCH.MAC
.IF <FILERR> <> 1 .GOTO 5
.10:
.XQT MAC '$D'BATCH,BATCH/-SP/CR=LB:[1,1]EXEMC/ML,[11,10]RSXMC/PA:1,'$D''$U'BATCH
.OPEN '$D'BATCH.BLD
.DATA ;	BATCH.BLD
.DATA ;
.DATA ;	BUILD MCR TASK BAT... BATCH PROCESSOR
.DATA ;
.DATA '$D'BATCH/PR:0/SL/CP/MM'DA',BATCH/-SP='$D'BATCH
.DATA /
.DATA ASG=SY0:1
.DATA PRI=65
.DATA TASK=BAT...
.DATA //
.CLOSE
.WAIT MAC
TKB @'$D'BATCH.BLD
SRD '$D'BATCH.BLD/DE
SRD '$D'BATCH/PU
