Google
 

Trailing-Edge - PDP-10 Archives - KS10_APT_INSTALL_TAPE - uetp/lib/dn20l3.ver
There is 1 other file named dn20l3.ver in the archive. Click here to see a list.
!THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY ONLY BE USED
!  OR COPIED IN ACCORDANCE WITH THE TERMS OF SUCH LICENSE.
!
!COPYRIGHT (C) 1977 BY DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS.
!TKTK1.BAT
!
!VERSION X	11/3/77
!
!THIS VERSION HAS BEEN MODIFIED TO RUN UNDER THE AUTOMATED SYSTEM
!ACCEPTANCE PACKAGE (ASAP)
!
@RUN <UETP.LIB>SENDER
*TYPE START
*BLABEL COM00:
*TEST DN20L3
*SEND START OF DN20L3 TEST
*EXIT
COM00::
!	*********  TEST -- LINE 0 **************
!
!  THE FIRST LINE OF THE FILE THAT IS SHIPPED TO THE DN20 TELLS THE DN20
! WHICH DEVICE, CONTROLLER AND LINE WE WISH TO TEST.  THE FORMAT OF THE 
! FIRST LINE IS:
!			DEV_CTL_LINE<CR><LF>
!		WHERE,
!
!			1) DEV - IS A THREE CHARACTER DEVICE MNEMONIC
!					DMC FOR DM11
!					DUP FOR DUP11
!					KDP FOR KMC/DUP
!
!			2) CTL - IS THE CONTROLLER NUMBER (0-3)
!
!			3) LINE - IS THE LINE NUMBER IN THE CONTROLLER (0-3)
!
!			4) _    - IS AN OCTAL 137 (ACTS AS DELIMITER)
!
!			5) <CR><LF> - IS CARRIAGE RETURN LINE FEED
!
!
@DELETE DN20L3.DAT
@APPEND TTY: (TO) DN20L3.DAT
@KDP_0_0
@
@APPEND <UETP.LIB>DN20.DAT (TO) DN20L3.DAT
@GOTO T1::
%ERR::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL T1:
*TEST DN20L3
*SEND PROBLEMS APPENDING DN20L3 INPUTS
*EXIT
@GOTO COM100:
!
T1::

!NOW RUN DYNETS.  THE DATA RECEIVED WILL
! BE WRITTEN TO THE FILE DN20-TASK-TEST72.LOG, 
!  TO BE COMPARED AGAINST A CONTROL FILE.
!
@RUN <UETP.LIB>DYNETS.EXE
*ESTABLISH (LOGICAL LINK TO) DCN:DN20-TASK-TEST72.DN20L3 /BYTE:7 /RECL:132 /WAIT:30
*RECEIVE (FROM) DCN:DN20-TASK-TEST72.DN20L3
*SEND (TO) DCN:DN20-TASK-TEST72.DN20L3 (FROM MESSAGE FILE) DN20L3.DAT
*EXIT
!
@GOTO T2::
%ERR::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL T2:
*TEST DN20L3
*SEND ERRORS EXECUTING DYNETS COMMANDS
*EXIT
@GOTO COM100:
T2::
!
@RENAME DN20-TASK-TEST72.LOG (TO BE) D20L3.LOG
@RUN <UETP.LIB>UETCMP
*COMPARE
*D20L3.LOG
*DN20L3.DAT
*EXIT
@IF (NOERROR) @GOTO COM100::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL COM100:
*TEST DN20L3
*SEND DISCREPANCIES IN THE SEND AND RECEIVE FILES
*EXIT
%ERR::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL COM100:
*TEST DN20L3
*SEND UNKNOWN ERROR IN DN20 FOR LINE 0
*EXIT
COM100::
@DELETE DN20L3.DAT
%FIN::
COM01::
!	*********  TEST -- LINE 1 **************
!
! CREATE DATA FILE TO BE SENT: THE FIRST LINE OF FILE MUST BE OF THE FORM:
!	<DEVICE>_<CONTROLLER #>_<LINE #><CR/LF>
!
@DELETE DN20L3.DAT
@APPEND TTY: (TO) DN20L3.DAT
@KDP_0_1
@
@APPEND <UETP.LIB>DN20.DAT (TO) DN20L3.DAT
@GOTO T1::
%ERR::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL T1:
*TEST DN20L3
*SEND PROBLEMS APPENDING DN20L3 INPUTS
*EXIT
@GOTO COM101:
!
T1::

!NOW RUN DYNETS.  THE DATA RECEIVED WILL
! BE WRITTEN TO THE FILE DN20-TASK-TEST72.LOG, 
!  TO BE COMPARED AGAINST A CONTROL FILE.
!
@RUN <UETP.LIB>DYNETS.EXE
*ESTABLISH (LOGICAL LINK TO) DCN:DN20-TASK-TEST72.DN20L3 /BYTE:7 /RECL:132 /WAIT:30
*RECEIVE (FROM) DCN:DN20-TASK-TEST72.DN20L3
*SEND (TO) DCN:DN20-TASK-TEST72.DN20L3 (FROM MESSAGE FILE) DN20L3.DAT
*EXIT
!
@GOTO T2::
%ERR::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL T2:
*TEST DN20L3
*SEND ERRORS EXECUTING DYNETS COMMANDS
*EXIT
@GOTO COM101:
T2::
!
@RENAME DN20-TASK-TEST72.LOG (TO BE) D20L3.LOG
@RUN <UETP.LIB>UETCMP
*COMPARE
*D20L3.LOG
*DN20L3.DAT
*EXIT
@IF (NOERROR) @GOTO COM101::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL TST1:
*TEST DN20L3
*SEND DISCREPANCIES IN THE SEND AND RECEIVE FILES
*EXIT
%ERR::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL COM101:
*TEST DN20L3
*SEND UNKNOWN ERROR IN DN20 FOR LINE 1
*EXIT
COM101::
%FIN::
COM101::
COM02::
!	*********  TEST -- LINE 2 **************
!
! CREATE DATA FILE TO BE SENT: THE FIRST LINE OF FILE MUST BE OF THE FORM:
!	<DEVICE>_<CONTROLLER #>_<LINE #><CR/LF>
!
@DELETE DN20L3.DAT
@APPEND TTY: (TO) DN20L3.DAT
@KDP_0_2
@
@APPEND <UETP.LIB>DN20.DAT (TO) DN20L3.DAT
@GOTO T1::
%ERR::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL T1:
*TEST DN20L3
*SEND PROBLEMS APPENDING DN20L2 INPUTS
*EXIT
@GOTO COM102:
!
T1::

!NOW RUN DYNETS.  THE DATA RECEIVED WILL
! BE WRITTEN TO THE FILE DN20-TASK-TEST72.LOG, 
!  TO BE COMPARED AGAINST A CONTROL FILE.
!
@RUN <UETP.LIB>DYNETS.EXE
*ESTABLISH (LOGICAL LINK TO) DCN:DN20-TASK-TEST72.DN20L3 /BYTE:7 /RECL:132 /WAIT:30
*RECEIVE (FROM) DCN:DN20-TASK-TEST72.DN20L3
*SEND (TO) DCN:DN20-TASK-TEST72.DN20L3 (FROM MESSAGE FILE) DN20L3.DAT
*EXIT
!
@GOTO T2::
%ERR::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL T2:
*TEST DN20L3
*SEND ERRORS EXECUTING DYNETS COMMANDS
*EXIT
@GOTO COM102:
T2::
!
@RENAME DN20-TASK-TEST72.LOG (TO BE) D20L3.LOG
@RUN <UETP.LIB>UETCMP
*COMPARE
*D20L3.LOG
*DN20L3.DAT
*EXIT
@IF (NOERROR) @GOTO COM102::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL TST1:
*TEST DN20L3
*SEND DISCREPANCIES IN THE SEND AND RECEIVE FILES
*EXIT
%ERR::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL COM102:
*TEST DN20L3
*SEND UNKNOWN ERROR IN DN20 FOR LINE 2
*EXIT
COM102::
%FIN::
@CHKPNT ADSF::
@RUN <UETP.LIB>SENDER
*TYPE END
*BLABEL COM102:
*TEST DN20L3
*SEND END OF DN20 TEST ON LINE 0
*EXIT
@DELETE D20L3.LOG