Trailing-Edge
-
PDP-10 Archives
-
tops20_v6_1_tcpip_installation_tp_ft6
-
uetp/lib/mta0.ver
There are 16 other files named mta0.ver in the archive. Click here to see a list.
!
!
! Test MTA0.VER
!
!
!.R SETSRC
*CP [5,33,MTA]
*LIB:[5,33]
*
!.Set default prot <000>
@DEFINE UTP: PS:<UETP.LIB> !.none
!THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY ONLY BE USED
! OR COPIED IN ACCORDANCE WITH THE TERMS OF SUCH LICENSE.
!
!COPYRIGHT (C) 1979 BY DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS.
!
!FILES NEEDED:
!
! MTASKR.EXE
! MAGTAPE FORTRAN SKIP RECORD TEST. WRITES SOME RUNTIME
! PARAMETERS WORTH OF FILES ON MAGTAPE, REWINDS THE TAPE
! AND SKIPS THROUGH THE FILE READING IT SEQUENTIALLY BY
! REWINDING THE TAPE FOLLOWING EACH RECORD READ. THE SIZE OF
! THE FILES ARE DETERMINED BY THE PARAMETER
! FILE SPECIFYING A TWO DIMENSIONAL ARRAY
!
! MTASKF.EXE
! FORTRAN MAGTAPE SKIP FILE TEST. ALSO WRITES A
! SERIES OF FILES ON TAPE EACH SOME TWO DIMENSIONAL ARRAY
! THE TAPE IS WRITTEN AND REWOUND, THE TAPE IS READ
! BACKWARDS SKIPPING FILES AS APPROPRIATE. THE INPUT DATA CHECKED
! AGAINST EXPECTED DATA AND ERRORS LOGGED IN THE FILE
! MTA.ERR
!
! MtaBAK.exe
! USES THE SAME SORT OF TECHNIQUE AS M0SSKF. THE MAGTAPE
! IS THEN POSITIONED AT THE BEGINNING OF THE LAST FILE WRITTEN
! THE FORTRAN PROGRAM WILL READ THROUGH THE TAPE BACKWARDS
! A FILE AT A TIME, THE FILES THEMSELVES READ FORWARD.
!
! MtaBKR.exe
! FORTRAN PROGRAM THAT TESTS MAGTAPE BACKSPACE RECORD
! FEATURES. TWO TESTS ARE DONE ONE BACKSPACING THROUGH
! THE FILE AND THE OTHERDOING SOME MULTIPLE BACKSPACES.
! ERRORS ARE LOGGED IN FILE MTA.ERR, CHECKING INVOLVES
! READING IN THE DATA AND CHECKING EACH ITEM AGAINST E
! EXPECTED DATA.
!
@DEF DSK: <UETP.MTA>,PS:<UETP.LIB> !.none
@TAKE PS:<UETP.LIB>SYS.CMD !.none
START::
! ***** message: Start of magtape test for MTA0
@RUN UTP:SENDER !.RUN UTP:SENDER
*TYPE START
*BLABEL START:
*TEST MTA0
*SEND Start of magtape test for MTA0
*EXIT
@DEFINE MAG: MTA0: !.none
! THE FORTRAN PROGRAMS USE MAG: AS THE I/O DEVICE
@ASSIGN MAG: !.ASSIGN MTA0: MAG:
@IF (NOERROR) @GOTO FX1:: !.IF (NOERROR) .GOTO FX1::
@MOUNT TAPE MTA0:/WRITE-ENABLED/LABEL-TYPE:UNLABELED/NOUNLOAD/REMARK:"Please mount MTA0:" !.MOUNT MTA0:MAG/WRIT:Y/REEL:MTA0/VID:"Please mount MTA0"
@IF (NOERROR) @GOTO FX1:: !.IF (NOERROR) .GOTO FX1::
! ***** message: ERRORS assigning MTA0
@RUN UTP:SENDER !.RUN UTP:SENDER
*TYPE ERROR
*BLABEL BEGIN:
*TEST MTA0
*SEND ERRORS assigning MTA0
*EXIT
@GOTO END:: !.GOTO END::
FX1::
@REW MAG:
@IF (NOERROR) GOTO FIX2:: !.IF (NOERROR) GOTO FIX2::
! ***** message: device MTA0 is not online
@RUN UTP:SENDER !.RUN UTP:SENDER
*type error
*blabel fx1::
*test MTA0
*send device MTA0 is not online
*exit
@GOTO END:: !.GOTO END::
fix2::
@copy MTA0.VER mag: !.COPY MAG:=MTA0.VER
@IF (NOERROR) GOTO FIX3: !.IF (NOERROR) GOTO FIX3:
! ***** message: device MTA0 is write-protected
@RUN UTP:SENDER !.RUN UTP:SENDER
*type error
*blabel fix2::
*test MTA0
*send device MTA0 is write-protected
*exit
@GOTO END:: !.GOTO END::
fix3::
@RUN UTP:MTABKR.EXE !.RUN UTP:MTABKR.EXE
*00003
@IF (NOERROR) @GOTO ENDBKR:: !.IF (NOERROR) .GOTO ENDBKR::
! ***** message: ERRORS in magtape test MTABKR.EXE
@RUN UTP:SENDER !.RUN UTP:SENDER
*TYPE ERROR
*BLABEL ENDBKR::
*TEST MTA0
*SEND ERRORS in magtape test MTABKR.EXE
*EXIT
ENDBKR::
!!END OF MAGTAPE BACKSPACE RECORD TEST.
@RUN UTP:MTASKF.EXE !.RUN UTP:MTASKF.EXE
*00003
@IF (NOERROR) @GOTO ENDSKF:: !.IF (NOERROR) .GOTO ENDSKF::
! ***** message: ERRORS in magtape test MTASKF.EXE
@RUN UTP:SENDER !.RUN UTP:SENDER
*TYPE ERROR
*BLABEL ENDSKF::
*TEST MTA0
*SEND ERRORS in magtape test MTASKF.EXE
*EXIT
ENDSKF::
!!END OF MAGTAPE SKIP FILE TEST.
@RUN UTP:MTASKR.EXE !.RUN UTP:MTASKR.EXE
*00003
@IF (NOERROR) @GOTO ENDSKR:: !.IF (NOERROR) .GOTO ENDSKR::
! ***** message: ERRORS in magtape test MTASKR.EXE
@RUN UTP:SENDER !.RUN UTP:SENDER
*TYPE ERROR
*BLABEL ENDSKR::
*TEST MTA0
*SEND ERRORS in magtape test MTASKR.EXE
*EXIT
!!END OF MAGTAPE SKIP RECORD TEST.
ENDSKR::
@GOTO END:: !.GOTO END::
!
!
!
%ERR::
! ***** message: unknown ERROR in magtape test MTA0
@RUN UTP:SENDER !.RUN UTP:SENDER
*TYPE ERROR
*BLABEL END::
*TEST MTA0
*SEND unknown ERROR in magtape test MTA0
*EXIT
@GOTO END:: !.GOTO END::
END::
%FIN:
@CHKPNT ADSF:: !.CHKPNT ADSF::
! ***** message: End of magtape test MTA0
@RUN UTP:SENDER !.RUN UTP:SENDER
*TYPE END
*BLABEL END::
*TEST MTA0
*SEND End of magtape test MTA0
*EXIT