.ENABLE SUBSTITUTION
!
!--> SSTGEN.CMD  - Command file to build SAMSTAT from tape kit.
!
!--- This command file requires that $BASIC2 be installed
! as BP2 and that FLX be installed. This command file must
! be run from a privileged terminal. The command file will
! install a task named '...BPR'.
.ASK GO Continue
.IFF GO .GOTO 999
.ASKS MM Supply device spec for MAGTAPE( e.g., MM0:)
FLX /RS/FA='MM'[6,4]*.*/DO
PIP TI:=DISCLAM.DOC
PIP TI:=README.1ST 
PIP TI:=SSTLOG.DOC
.OPEN B123456.TMP
.DATA OLD BPR
.DATA COM BPR
.DATA BUILD BPR/SEQ
.DATA OLD BRES
.DATA COM BRES
.CLOSE
BP2 @B123456.TMP
PIP B123456.TMP;*/DE
!
!---->Now use your editor to make the following changes in
!----> BPR.ODL:
!
!     Change BPR-    TO BPR-BRES-
!
!
.PAUSE
TKB @BPR
INS BPR/TASK=...BPR
@SSTBPR
BP2 @SSTBP2
TKB @SAMSTAT
TKB @CDR2ST
!
!--->You can now delete all .B2S files except CDR2ST.B2S.
!
!-->Now >RUN SAMSTAT for a checkout test. If all works O.K.,
!--> >INS SAMSTAT/TASK=...SST
!
!-->SAMSTAT.RNO will have to be converted to SAMSTAT.DOC and
!-->placed in a convenient UIC.
!--
!-->The same can be done with BPR.RNO if you have any intention of
!-->using it (for instance to tailor SST).
!--
!-->The program CDR2ST.B2S can also be compiled. It will
!-->convert card images, input via an editor, to SAMSTAT
!-->format.
!
.999:
/
