Google
 

Trailing-Edge - PDP-10 Archives - red405a2 - uetp/lib/dn20l4.ver
There is 1 other file named dn20l4.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 DN20L4
*SEND START OF DN20L4 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
!
!
@APPEND TTY: (TO) DN20L4.DAT
@KDP_0_0
@
@APPEND <UETP.LIB>DN20.DAT (TO) DN20L4.DAT
@GOTO T1::
%ERR::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL T1:
*TEST DN20L4
*SEND PROBLEMS APPENDING DN20L4 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.DN20L4 /BYTE:7 /RECL:132 /WAIT:30
*RECEIVE (FROM) DCN:DN20-TASK-TEST72.DN20L4
*SEND (TO) DCN:DN20-TASK-TEST72.DN20L4 (FROM MESSAGE FILE) DN20L4.DAT
*EXIT
!
@GOTO T2::
%ERR::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL T2:
*TEST DN20L4
*SEND ERRORS EXECUTING DYNETS COMMANDS
*EXIT
@GOTO COM100:
T2::
!
!NOW RUN A PROGRAM WHICH WILL COMPARE THE RECEIVED DATA IN TKTK1.LOG
! WITH CONTROL INFORMATION IN THE FILE
!THE FILE NAMING CONVENTIONS ARE:
! DN20L4.DAT	CONTAINS CORRECT DATA
! FOR40.DAT	CONTAINS RECEIVED DATA
! FOR49.DAT	CONTAINS ANY DISCREPANCIES
!
@RENAME DN20-TASK-TEST72.LOG (TO BE) D20L4.LOG
@RUN <UETP.LIB>UETCMP
*COMPARE
*D20L4.LOG
*DN20L4.DAT
*EXIT
@IF (NOERROR) @GOTO COM100::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL COM100:
*TEST DN20L4
*SEND DISCREPANCIES IN THE SEND AND RECEIVE FILES
*EXIT
%ERR::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL COM100:
*TEST DN20L4
*SEND UNKNOWN ERROR IN DN20 FOR LINE 0
*EXIT
COM100::
@DELETE FOR49.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 DN20L4.DAT
@APPEND TTY: (TO) DN20L4.DAT
@KDP_0_1
@
@APPEND <UETP.LIB>DN20.DAT (TO) DN20L4.DAT
@GOTO T1::
%ERR::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL T1:
*TEST DN20L4
*SEND PROBLEMS APPENDING DN20L4 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.DN20L4 /BYTE:7 /RECL:132 /WAIT:30
*RECEIVE (FROM) DCN:DN20-TASK-TEST72.DN20L4
*SEND (TO) DCN:DN20-TASK-TEST72.DN20L4 (FROM MESSAGE FILE) DN20L4.DAT
*EXIT
!
@GOTO T2::
%ERR::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL T2:
*TEST DN20L4
*SEND ERRORS EXECUTING DYNETS COMMANDS
*EXIT
@GOTO COM101:
T2::
!
!NOW RUN A PROGRAM WHICH WILL COMPARE THE RECEIVED DATA IN TKTK1.LOG
! WITH CONTROL INFORMATION IN THE FILE
!THE FILE NAMING CONVENTIONS ARE:
! DN20L4.DAT	CONTAINS CORRECT DATA
! FOR41.DAT	CONTAINS RECEIVED DATA
! FOR49.DAT	CONTAINS ANY DISCREPANCIES
!
@RENAME DN20-TASK-TEST72.LOG (TO BE) D20L4.LOG
@RUN <UETP.LIB>UETCMP
*COMPARE
*D20L4.LOG
*DN20L4.DAT
*EXIT
@IF (NOERROR) @GOTO COM101::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL TST1:
*TEST DN20L4
*SEND DISCREPANCIES IN THE SEND AND RECEIVE FILES
*EXIT
%ERR::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL COM101:
*TEST DN20L4
*SEND UNKNOWN ERROR IN DN20 FOR LINE 1
*EXIT
COM101::
@DELETE FOR49.DAT
%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 DN20L4.DAT
@APPEND TTY: (TO) DN20L4.DAT
@KDP_0_2
@
@APPEND <UETP.LIB>DN20.DAT (TO) DN20L4.DAT
@GOTO T1::
%ERR::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL T1:
*TEST DN20L4
*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.DN20L4 /BYTE:7 /RECL:132 /WAIT:30
*RECEIVE (FROM) DCN:DN20-TASK-TEST72.DN20L4
*SEND (TO) DCN:DN20-TASK-TEST72.DN20L4 (FROM MESSAGE FILE) DN20L4.DAT
*EXIT
!
@GOTO T2::
%ERR::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL T2:
*TEST DN20L4
*SEND ERRORS EXECUTING DYNETS COMMANDS
*EXIT
@GOTO COM102:
T2::
!
!NOW RUN A PROGRAM WHICH WILL COMPARE THE RECEIVED DATA IN TKTK1.LOG
! WITH CONTROL INFORMATION IN THE FILE
!THE FILE NAMING CONVENTIONS ARE:
! DN20L4.DAT	CONTAINS CORRECT DATA
! FOR42.DAT	CONTAINS RECEIVED DATA
! FOR49.DAT	CONTAINS ANY DISCREPANCIES
!
@RENAME DN20-TASK-TEST72.LOG (TO BE) D20L4.LOG
@RUN <UETP.LIB>UETCMP
*COMPARE
*D20L4.LOG
*DN20L4.DAT
*EXIT
@IF (NOERROR) @GOTO COM102::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL COM101:
*TEST DN20L4
*SEND DISCREPANCIES IN THE SEND AND RECEIVE FILES
*EXIT
%ERR::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL COM102:
*TEST DN20L4
*SEND UNKNOWN ERROR IN DN20 FOR LINE 2
*EXIT
COM102::
@DELETE FOR49.DAT
COM03::
!	*********  TEST -- LINE 3 **************
!
! CREATE DATA FILE TO BE SENT: THE FIRST LINE OF FILE MUST BE OF THE FORM:
!	<DEVICE>_<CONTROLLER #>_<LINE #><CR/LF>
!
@DELETE DN20L4.DAT
@APPEND TTY: (TO) DN20L4.DAT
@KDP_0_3
@
@APPEND <UETP.LIB>DN20.DAT (TO) DN20L4.DAT
@GOTO T1::
%ERR::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL T1:
*TEST DN20L4
*SEND PROBLEMS APPENDING DN20L3 INPUTS
*EXIT
@GOTO COM103:
!
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.DN20L4 /BYTE:7 /RECL:132 /WAIT:30
*RECEIVE (FROM) DCN:DN20-TASK-TEST72.DN20L4
*SEND (TO) DCN:DN20-TASK-TEST72.DN20L4 (FROM MESSAGE FILE) DN20L4.DAT
*EXIT
!
@GOTO T2::
%ERR::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL T2:
*TEST DN20L4
*SEND ERRORS EXECUTING DYNETS COMMANDS
*EXIT
@GOTO COM103:
T2::
!
!NOW RUN A PROGRAM WHICH WILL COMPARE THE RECEIVED DATA IN TKTK1.LOG
! WITH CONTROL INFORMATION IN THE FILE
!THE FILE NAMING CONVENTIONS ARE:
! DN20L4.DAT	CONTAINS CORRECT DATA
! FOR43.DAT	CONTAINS RECEIVED DATA
! FOR49.DAT	CONTAINS ANY DISCREPANCIES
!
@RENAME DN20-TASK-TEST72.LOG (TO BE) D20L4.LOG
@RUN <UETP.LIB>UETCMP
*COMPARE
*D20L4.LOG
*DN20L4.DAT
*EXIT
@IF (NOERROR) @GOTO COM103::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL TST1:
*TEST DN20L4
*SEND DISCREPANCIES IN THE SEND AND RECEIVE FILES
*EXIT
%ERR::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL COM103:
*TEST DN20L4
*SEND UNKNOWN ERROR IN DN20 FOR LINE 3
*EXIT
COM103::
@DELETE DN20L4.DAT
@DELETE D20L4.LOG
%FIN::
@CHKPNT ADSF::
@RUN <UETP.LIB>SENDER
*TYPE END
*BLABEL COM103:
*TEST DN20L4
*SEND END OF DN20 TEST ON LINE 0
*EXIT