Google
 

Trailing-Edge - PDP-10 Archives - bb-y390o-bm_tops20_v41_atpch_20 - autopatch/srt24d.ctl
There are no other files named srt24d.ctl in the archive.
;
;   SRT24D.CTL -- Patch and rebuild SORT-20-V4D
;   Version 1(1)
;	February 18, 1986  / HAH
;	May 4, 1988 / HAH Add branch for no update - requires
;			  PEP 1B(173)
;
;
;            COPYRIGHT (c) 1986, 1988 BY
;	    Digital Equipment Corporation, Maynard, MA.
;
;   This software is furnished under a license and may be  used
;   and  copied  only  in  accordance  with  the  terms of such
;   license and with  the  inclusion  of  the  above  copyright
;   notice.   This software or any other copies thereof may not
;   be provided  or  otherwise	made  available  to  any  other
;   person.   No  title  to  and  ownership  of the software is
;   hereby transferred.
;
;   The information in	this  software	is  subject  to  change
;   without  notice and should not be construed as a commitment
;   by Digital Equipment Corporation.
;
;   Digital  assumes  no  responsibility   for	 the   use   or
;   reliability  of  its  software  on	equipment  which is not
;   supplied by Digital.
;

;
;   This .CTL file applies the  patches  to  the  modules  of
;   SORT-20-V4D and rebuilds SORT.EXE.
;
;   For this .CTL file to run, the connected directory must  be
;   the patching directory (Logical name PAT:).
;
;   This control file is expected to run without errors.
;

@PEPB
*INITIALIZE SORT-20-V4D
*EXIT

;
;	Delete any sources that may be left in PAT:
;

@DELETE PAT:SORT.MAC,PAT:SRTCER.MAC,PAT:SRTCMD.MAC,PAT:SRTCMP.MAC,PAT:SRTFLT.MAC
@DELETE PAT:SRTJSS.MAC,PAT:SRTPRM.MAC,PAT:SRTSCN.MAC,PAT:SRTSTA.MAC
@DELETE PAT:SRTUUO.MAC,PAT:SRTCBL.MAC,PAT:COPYRT.SRT

;
;	Apply patches to the modules
;

@ERROR %
@VDIR PAT:SRT24D.SUP
@IF (ERROR) @GOTO NOUPD
@R ASL:UPDATE
*@PAT:SRT24D.SUP
NOUPD::
@ERROR
@EXPUNGE PAT:

@DEFINE UNV: ASL:
@DEFINE DSK: ASL:

;
;	Build SORT.EXE
;

@RUN MACRO
*COPYRT=COPYRT.SRT
*SORT=SRT20,SRTPRM,SRTSTA,SRTCMD,SRTJSS,SRTCER,SRTCMP,SRTFLT,SORT

@RUN LINK
*SORT.MAP/MAP=SORT,/SYMSEG:HIGH/GO
@SAVE SORT

@DEF DSK:

@COPY ASL:SRT20.MAC
@COPY ASL:SRTPRM.MAC
@COPY ASL:SRTCBL.MAC
@COPY ASL:SRTCER.MAC
@COPY ASL:SRTJSS.MAC
@COPY ASL:SORT.MAC

;
;	Signal success
;

@EXPUNGE PAT:

@PEPB
*SIGNAL-SUCCESS SORT-20-V4D
*EXIT

@GOTO EXIT

;
;	Signal failure on error
;

%ERR::
@GOTO ERROR
%TERR::
@GOTO ERROR
ERROR::

@EXPUNGE PAT:
@DEFINE DSK:

@PEPB
*SIGNAL-FAILURE SORT-20-V4D
*EXIT

EXIT::
%FIN::