.; Command file to assemble all modules of RUNOFF

.; Assemble each module

	PIP COMND.OBJ;*/DE/NM
	MAC COMND=RNPRE,COMND
	.IF <EXSTAT> NE 1  .GOTO 10

	PIP CMTAB.OBJ;*/DE/NM
	MAC CMTAB=RNPRE,CMTAB
	.IF <EXSTAT> NE 1  .GOTO 10

	PIP DATA.OBJ;*/DE/NM
	MAC DATA=RNPRE,DATA
	.IF <EXSTAT> NE 1  .GOTO 10

	PIP ERMSG.OBJ;*/DE/NM
	MAC ERMSG=RNPRE,ERMSG
	.IF <EXSTAT> NE 1  .GOTO 10

	PIP FMTCM.OBJ;*/DE/NM
	MAC FMTCM=RNPRE,FMTCM
	.IF <EXSTAT> NE 1  .GOTO 10

	PIP HYPHEN.OBJ;*/DE/NM
	MAC HYPHEN=RNPRE,HYPHEN
	.IF <EXSTAT> NE 1  .GOTO 10

	PIP INDEX.OBJ;*/DE/NM
	MAC INDEX=RNPRE,INDEX
	.IF <EXSTAT> NE 1  .GOTO 10

	PIP PINDX.OBJ;*/DE/NM
	MAC PINDX=RNPRE,PINDX
	.IF <EXSTAT> NE 1  .GOTO 10

	PIP RNCMD.OBJ;*/DE/NM
	MAC RNCMD=RNPRE,RNCMD
	.IF <EXSTAT> NE 1  .GOTO 10

	PIP RNFIO.OBJ;*/DE/NM
	MAC RNFIO=RNPRE,RNFIO
	.IF <EXSTAT> NE 1  .GOTO 10

	PIP RNORSX.OBJ;*/DE/NM
	MAC RNORSX=RNPRE,RNORSX
	.IF <EXSTAT> NE 1  .GOTO 10

	PIP RUNOFF.OBJ;*/DE/NM
	MAC RUNOFF=RNPRE,RUNOFF
	.IF <EXSTAT> NE 1  .GOTO 10

	PIP START.OBJ;*/DE/NM
	MAC START=RNPRE,START
	.IF <EXSTAT> NE 1  .GOTO 10

.; Create object library

	PIP RNO.OBS=*.OBJ
	.IF <EXSTAT> NE 1  .GOTO 10
	PIP *.OBJ;*/DE/NM

	LBR RNO/CR=RNO.OBS
	.IF <EXSTAT> NE 1  .GOTO 10
	PIP RNO.OBS;*/DE/NM
	.GOTO 20

.10:	! Abnormal exit due to error
.20:	.EXIT <EXSTAT>
