Trailing-Edge
-
PDP-10 Archives
-
red405a2
-
uetp/lib/dn20l2.ver
There is 1 other file named dn20l2.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 DN20L2
*SEND START OF DN20L2 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 DN20L2.DAT
@APPEND TTY: (TO) DN20L2.DAT
@KDP_0_0
@
@APPEND <UETP.LIB>DN20.DAT (TO) DN20L2.DAT
@GOTO T1::
%ERR::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL T1:
*TEST DN20L2
*SEND PROBLEMS APPENDING DN20L2 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.DN20L2 /BYTE:7 /RECL:132 /WAIT:30
*RECEIVE (FROM) DCN:DN20-TASK-TEST72.DN20L2
*SEND (TO) DCN:DN20-TASK-TEST72.DN20L2 (FROM MESSAGE FILE) DN20L2.DAT
*EXIT
!
@GOTO T2::
%ERR::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL T2:
*TEST DN20L2
*SEND ERRORS EXECUTING DYNETS COMMANDS
*EXIT
@GOTO COM100:
T2::
!
@RENAME DN20-TASK-TEST72.LOG (TO BE) D20L2.LOG
@RUN <UETP.LIB>UETCMP
*COMPARE
*D20L2.LOG
*DN20L2.DAT
*EXIT
@IF (NOERROR) @GOTO COM100::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL COM100:
*TEST DN20L2
*SEND DISCREPANCIES IN THE SEND AND RECEIVE FILES
*EXIT
%ERR::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL COM100:
*TEST DN20L2
*SEND UNKNOWN ERROR IN DN20 FOR LINE 0
*EXIT
COM100::
%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 DN20L2.DAT
@APPEND TTY: (TO) DN20L2.DAT
@KDP_0_1
@
@APPEND <UETP.LIB>DN20.DAT (TO) DN20L2.DAT
@GOTO T1::
%ERR::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL T1:
*TEST DN20L2
*SEND PROBLEMS APPENDING DN20L2 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.DN20L2 /BYTE:7 /RECL:132 /WAIT:30
*RECEIVE (FROM) DCN:DN20-TASK-TEST72.DN20L2
*SEND (TO) DCN:DN20-TASK-TEST72.DN20L2 (FROM MESSAGE FILE) DN20L2.DAT
*EXIT
!
@GOTO T2::
%ERR::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL T2:
*TEST DN20L2
*SEND ERRORS EXECUTING DYNETS COMMANDS
*EXIT
@GOTO COM101:
T2::
!
@RENAME DN20-TASK-TEST72.LOG (TO BE) D20L2.LOG
@RUN <UETP.LIB>UETCMP
*COMPARE
*D20L2.LOG
*DN20L2.DAT
*EXIT
@IF (NOERROR) @GOTO COM101::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL TST1:
*TEST DN20L2
*SEND DISCREPANCIES IN THE SEND AND RECEIVE FILES
*EXIT
%ERR::
@RUN <UETP.LIB>SENDER
*TYPE ERROR
*BLABEL COM101:
*TEST DN20L2
*SEND UNKNOWN ERROR IN DN20 FOR LINE 1
*EXIT
COM101::
@DELETE DN20L2.DAT
@DELETE D20L2.LOG
%FIN::
@CHKPNT ADSF::
@RUN <UETP.LIB>SENDER
*TYPE END
*BLABEL COM101:
*TEST DN20L2
*SEND END OF DN20 TEST ON LINE 0
*EXIT