.;  File RMSGN1
.;
.;  LABSTATION 23 command file for system generation customization
.;
.;  This command file is run at the end of section breakpoint 
.;  immediately following the creation of the executive build files
.;  in the 11S sysgen.
.;
	.ENABLE SUBSTITUTION
	.ENABLE GLOBAL
;
;  REMOTE/MINC system customization -- file #1
;
.;
	.SETF $VMS
	.SETF $RSX
	.IF <SYSTEM> EQ 5 .SETT $VMS
	.IF <SYSTEM> NE 5 .SETT $RSX
.;
.;  Save the old UIC
.;
	.IFF $VMS .GOTO L10 
	.SETS UICSAV "'F$USER()'"
	.GOTO L20
.L10:	.SETS UICSAV "'<UIC>'"
.L20:
.;
.;  Update the Executive conditional assembly file, RSXMC.MAC to include 
.;  checkpointing and task loader support.
.;
.;  Create a SLP file for updating RSXMC.MAC
.;
	.TESTFILE SY0:[11,10]RSXMC.MAC
	.IF <FILERR> NE 1 .GOTO X990
	.OPEN #3 RMSLP.TMP
.ENABLE DATA #3
[11,10]RSXMC.MAC/-AU=[11,10]RSXMC.MAC
-/A$$CPS/
C$$CKP=0	;CHECKPOINTING SUPPORT (REMOTE/MINC)
D$$ISK=0	;TASK LOADER SUPPORT (REMOTE/MINC)
/
.DISABLE DATA #3
	.CLOSE #3
	SLP @RMSLP.TMP
	PIP RMSLP.TMP;0/DE
	.GOTO X999
.;
.;  Error entry point
.;
.X990:
;
;  ERROR -- File 'FILNAM' could not be updated.
;
.X999:
	SET /UIC='UICSAV'
