Trailing-Edge
-
PDP-10 Archives
-
BB-H348C-RM_1982
-
swskit-v21/certification/rsts.ctl
There are no other files named rsts.ctl in the archive.
@noerror
! This control file tests NFT-20 against a remote RSTS FAL.
!
!
@GET SYS:NFT
@INFORMATION VERSION
@NFT
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! Test non COPY commands
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! Here test the SET command and set defaults for all later commands
!
*SET DEFAULTS REMOTE-NODE::/USER:REMOTE-USER/PASS:REMOTE-PASSWORD/ACCOUNT:REMOTE-ACCOUNT/OSTYPE:RSTS
!
! Check for good error analysis
!
*SET DEFAULTS ABC::/BADSWITCH:DEF
*SET BADARG DEF
!
! Here test the HELP command
!
*HELP
!
! Here check for proper error analysis
!
*HELP SUBMIT
!
! Here test the INFORMATION command
!
*INFORMATION DEFAULTS
*INFORMATION DECNET
!
! Check for good error analysis
!
*INFORMATION ABC
!
! Here test the TAKE command and the TYPE command
! (Note that the remote node name must be correct in
! the file TAKE.CMD.)
!
*TAKE TAKRSTS.CMD
*TAKE TAKRSTS.CMD TAKE.LOG /DISPLAY
!
! Check for good error analysis
!
*TAKE ABC.DEF
*TAKE STRMCR.ASC
!
! Here test TYPE command with wildcards
!
*COPY TAKRSTS.CMD REMOTE-NODE::TAK1.COM
*COPY TAKRSTS.CMD REMOTE-NODE::TAK2.COM
*TYPE REMOTE-NODE::*.COM
*DELETE REMOTE-NODE::TAK1.COM
*DELETE REMOTE-NODE::TAK2.COM
!
! Check for good error analysis
!
*TYPE &^!&#%^#!@#%!^#!#
*TYPE REMOTE-NODE::[NOSUCHNAME]A.B
*TYPE REMOTE-NODE::HLP:NFT.HLP/NOSWITCH
!
! Here test the DIRECTORY command
!
*COPY STRMCR.ASC REMOTE-NODE::ABCDEF.GHI
*DIRECTORY REMOTE-NODE::
*DIRECTORY REMOTE-NODE::SY:
*DIRECTORY REMOTE-NODE::DK:[REMOTE-USER]
*DIRECTORY REMOTE-NODE::[REMOTE-USER]ABCDEF
*DIRECTORY REMOTE-NODE::[REMOTE-USER]ABCDEF.GHI
*DIRECTORY REMOTE-NODE::DK:[REMOTE-USER]ABCDEF.GHI.1
*DIRECTORY REMOTE-NODE::SY:[REMOTE-USER]ABCDEF.GHI;1
!
! Here test the use of remote logical names
!
*DIRECTORY REMOTE-NODE::LB:
!
! Here test the use of wild cards and wild characters
!
*DIRECTORY REMOTE-NODE::SY:[REMOTE-USER]*.*.*
*DIRECTORY REMOTE-NODE::<REMOTE-USER>A*.*
*DIRECTORY REMOTE-NODE::[*,220]
!
! Check for good error analysis
!
*DIRECTORY REMOTE-NODE::ABC.DEF
*DIRECTORY REMOTE-NODE::[ABC]ABC.DEF
*DIRECTORY REMOTE-NODE::[123,456]ABC.DEF;3
*DIRECTORY ABCDEFG::A.B/USER:A/ACC:B/PASS:C
*DIRECTORY REMOTE-NODE::^%!$@$#@^%!$@&^!%*@&!@*!&@!^$%!
*DELETE REMOTE-NODE::ABCDEF.GHI
!
! Here test the PRINT command
!
*COPY STRMCR.ASC REMOTE-NODE::PRIN1.ASC
*PRINT REMOTE-NODE::[REMOTE-USER]PRIN1.ASC
!
! Here test the print command with wildcards
!
*COPY STRMCR.ASC REMOTE-NODE::PRIN2.ASC
*PRINT REMOTE-NODE::*.ASC
!
! Check for good error analysis
!
*PRINT ABC
*PRINT REMOTE-NODE::NOSUCHFILE
*PRINT REMOTE-NODE::<%$^%$>A.B
!
! Here test the DELETE command
!
*COPY STRMCR.ASC REMOTE-NODE::A.1
*COPY STRMCR.ASC REMOTE-NODE::A.2
*COPY STRMCR.ASC REMOTE-NODE::A.3
*COPY STRMCR.ASC REMOTE-NODE::A.4
*COPY STRMCR.ASC REMOTE-NODE::A.5
*DIR REMOTE-NODE::A.*
*DELETE REMOTE-NODE::[REMOTE-USER]A.1
*DELETE REMOTE-NODE::A.*
*DIR REMOTE-NODE::A.*
!
! Check for proper error analysis
!
*DELETE REMOTE-NODE::A.*
*DELETE
!
! Here test the SUBMIT command
!
*COPY SUBRST.CTL REMOTE-NODE::[REMOTE-USER]TEST.CTL
*SUBMIT REMOTE-NODE::[REMOTE-USER]TEST.CTL
*COPY SUBRST.CTL REMOTE-NODE::SUB1.ABC
*COPY SUBRST.CTL REMOTE-NODE::SUB2.ABC
*SUBMIT REMOTE-NODE::*.ABC
!
! Check for proper error analysis
!
*SUBMIT
*SUBMIT ABCDEFGHI::SUB1.CTL
*SUBMIT REMOTE-NODE::TEST.ABC
*SUBMIT REMOTE-NODE::TEST.CTL/TIME:0:10:0
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! Test COPY command with wildcards
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
*COPY STRM*.ASC REMOTE-NODE::[REMOTE-USER]*.RSC
*COPY REMOTE-NODE::*.RSC *.ZZZ
*DELETE REMOTE-NODE::*.RSC
!
! Test error handling
!
*COPY ABCDEFG::A.B C.E
*COPY REMOTE-NODE::[NOSUCH]A.B C.D
*COPY REMOTE-NODE::[REMOTE-USER]A.B C.D
*COPY REMOTE-NODE::STRMCR.ASC ABC:<DEF>GHI
*COPY REMOTE-NODE::STRMCR.ASC A.B C.E
*COPY MACY11.BIN/BADSWITCH REMOTE-NODE::
*COPY
!
! Here test the EXIT command
!
*EXIT
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! Here do transfers in ASCII mode
! 1. No switches, all formats to stream ascii
! 2. Use switches, all formats to variable length ascii
! 3. Use switches, all formats to fixed length ascii
! 4. Use switches, all formats to stream ascii
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! Here are transfers with no switches. This defaults the 20
! file to ascii stream and the RSTS file to stream ascii.
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
@NFT
*SET DEFAULT REMOTE-NODE::/USER:REMOTE-USER/PASSWORD:REMOTE-PASSWORD/ACCOUNT:REMOTE-ACCOUNT
*COPY NULL.BIN REMOTE-NODE::NULL.BIN
*COPY REMOTE-NODE::NULL.BIN NULL.CPY
!
*COPY PAGE.ASC REMOTE-NODE::PAGE.ASC
*COPY REMOTE-NODE::PAGE.ASC PAGE.CPY
!
*COPY 25PAG.ASC REMOTE-NODE::25PAG.ASC
*COPY REMOTE-NODE::25PAG.ASC 25PAG.CPY
!
*COPY STRMCR.ASC REMOTE-NODE::STRMCR.ASC
*COPY REMOTE-NODE::STRMCR.ASC STRMCR.CPY
!
*COPY STRM.ASC REMOTE-NODE::STRM.ASC
*COPY REMOTE-NODE::STRM.ASC STRM.CPY
!
*COPY STRMLN.ASC REMOTE-NODE::STRMLN.ASC
*COPY REMOTE-NODE::STRMLN.ASC STRMLN.CPY
!
*COPY 512BYT.ASC REMOTE-NODE::512BYT.ASC
*COPY REMOTE-NODE::512BYT.ASC 512BYT.CPY
!
*COPY FIX.ASC REMOTE-NODE::FIX.ASC
*COPY REMOTE-NODE::FIX.ASC FIX.CPY
!
*COPY VAR.ASC REMOTE-NODE::VAR.ASC
*COPY REMOTE-NODE::VAR.ASC VAR.CPY
*EXIT
!
! Here compare the returned files. Be sure to check the
! files on the remote system.
!
@VDIR NULL.BIN,NULL.CPY
@FILCOM
*TTY:=NULL.BIN,NULL.CPY
!
@VDIR PAGE.ASC,PAGE.CPY
@FILCOM
*TTY:=PAGE.ASC,PAGE.CPY
!
@VDIR 25PAG.ASC,25PAG.CPY
@FILCOM
*TTY:=25PAG.ASC,25PAG.CPY
!
@VDIR STRMCR.ASC,STRMCR.CPY
@FILCOM
*TTY:=STRMCR.ASC,STRMCR.CPY
!
@VDIR STRM.ASC,STRM.CPY
@FILCOM
*TTY:=STRM.ASC,STRM.CPY
!
@VDIR STRMLN.ASC,STRMLN.CPY
@FILCOM
*TTY:=STRMLN.ASC,STRMLN.CPY
!
@VDIR 512BYT.ASC,512BYT.CPY
@FILCOM
*TTY:=512BYT.ASC,512BYT.CPY
!
@VDIR FIX.ASC,FIX.CPY
@FILCOM
*TTY:=FIX.ASC,FIX.CPY
!
@VDIR VAR.ASC,VAR.CPY
@FILCOM
*TTY:=VAR.ASC,VAR.CPY
*^C
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! Here are transfers with explicit switches to force 20 files
! to be stream and RSTS files to be ascii variable
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
@NFT
*SET DEFAULT REMOTE-NODE::/USER:REMOTE-USER/PASSWORD:REMOTE-PASSWORD/ACCOUNT:REMOTE-ACCOUNT
*DELETE REMOTE-NODE::NULL.BIN
*DELETE REMOTE-NODE::*.ASC
*COPY NULL.BIN/ASCII REMOTE-NODE::NULL.BIN/ASCII/VARIABLE
*COPY REMOTE-NODE::NULL.BIN/ASCII/VARIABLE NULL.CPY/ASCII
!
*COPY PAGE.ASC/ASCII REMOTE-NODE::PAGE.ASC/ASCII/VARIABLE:512
*COPY REMOTE-NODE::PAGE.ASC/ASCII/VARIABLE PAGE.CPY/ASCII
!
*COPY 25PAG.ASC/ASCII REMOTE-NODE::25PAG.ASC/ASCII/VARIABLE
*COPY REMOTE-NODE::25PAG.ASC/ASCII/VARIABLE 25PAG.CPY/ASCII
!
*COPY STRMCR.ASC/ASCII REMOTE-NODE::STRMCR.ASC/ASCII/VARIABLE
*COPY REMOTE-NODE::STRMCR.ASC/ASCII/VARIABLE STRMCR.CPY/ASCII
!
*COPY STRM.ASC/ASCII REMOTE-NODE::STRM.ASC/ASCII/VARIABLE
*COPY REMOTE-NODE::STRM.ASC/ASCII/VARIABLE STRM.CPY/ASCII
!
*COPY STRMLN.ASC/ASCII REMOTE-NODE::STRMLN.ASC/ASCII/VARIABLE
*COPY REMOTE-NODE::STRMLN.ASC/ASCII/VARIABLE STRMLN.CPY/ASCII
!
*COPY 512BYT.ASC/ASCII REMOTE-NODE::512BYT.ASC/ASCII/VARIABLE
*COPY REMOTE-NODE::512BYT.ASC/ASCII/VARIABLE 512BYT.CPY/ASCII
!
*COPY FIX.ASC/ASCII REMOTE-NODE::FIX.ASC/ASCII/VARIABLE
*COPY REMOTE-NODE::FIX.ASC/ASCII/VARIABLE FIX.CPY/ASCII
!
*COPY VAR.ASC/ASCII REMOTE-NODE::VAR.ASC/ASCII/VARIABLE
*COPY REMOTE-NODE::VAR.ASC/ASCII/VARIABLE VAR.CPY/ASCII
*EXIT
!
! Here compare the returned files. Be sure to check the
! files on the remote system.
!
@VDIR NULL.BIN,NULL.CPY
@FILCOM
*TTY:=NULL.BIN,NULL.CPY
!
@VDIR PAGE.ASC,PAGE.CPY
@FILCOM
*TTY:=PAGE.ASC,PAGE.CPY
!
@VDIR 25PAG.ASC,25PAG.CPY
@FILCOM
*TTY:=25PAG.ASC,25PAG.CPY
!
@VDIR STRMCR.ASC,STRMCR.CPY
@FILCOM
*TTY:=STRMCR.ASC,STRMCR.CPY
!
@VDIR STRM.ASC,STRM.CPY
@FILCOM
*TTY:=STRM.ASC,STRM.CPY
!
@VDIR STRMLN.ASC,STRMLN.CPY
@FILCOM
*TTY:=STRMLN.ASC,STRMLN.CPY
!
@VDIR 512BYT.ASC,512BYT.CPY
@FILCOM
*TTY:=512BYT.ASC,512BYT.CPY
!
@VDIR FIX.ASC,FIX.CPY
@FILCOM
*TTY:=FIX.ASC,FIX.CPY
!
@VDIR VAR.ASC,VAR.CPY
@FILCOM
*TTY:=VAR.ASC,VAR.CPY
*^C
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! Here are copies with switches to force the 20 files to
! be ascii stream and the RSTS files to be ascii fixed.
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
@NFT
*SET DEFAULT REMOTE-NODE::/USER:REMOTE-USER/PASSWORD:REMOTE-PASSWORD/ACCOUNT:REMOTE-ACCOUNT
*DELETE REMOTE-NODE::NULL.BIN
*DELETE REMOTE-NODE::*.ASC
*COPY NULL.BIN/ASCII/FIX:80 REMOTE-NODE::NULL.BIN/ASCII/FIX:80
*COPY REMOTE-NODE::NULL.BIN/ASCII/FIX:80 NULL.CPY/ASCII/FIX:80
!
*COPY FIX.ASC/ASCII/FIX:40 REMOTE-NODE::FIX.ASC/ASCII/FIX:40
*COPY REMOTE-NODE::FIX.ASC/ASCII/FIX FIX.CPY/ASCII/FIX
!
*EXIT
!
! Here compare the returned files. Be sure to check the
! files on the remote system.
!
@VDIR NULL.BIN,NULL.CPY
@FILCOM
*TTY:=NULL.BIN,NULL.CPY
!
@VDIR FIX.ASC,FIX.CPY
@FILCOM
*TTY:=FIX.ASC,FIX.CPY
*^C
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! Here test stream ascii with switches
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
@NFT
*SET DEFAULT REMOTE-NODE::/USER:REMOTE-USER/PASSWORD:REMOTE-PASSWORD/ACCOUNT:REMOTE-ACCOUNT
*DELETE REMOTE-NODE::NULL.BIN
*DELETE REMOTE-NODE::FIX.ASC
*COPY PAGE.ASC/ASCII REMOTE-NODE::PAGE.ASC/ASCII
*COPY REMOTE-NODE::PAGE.ASC/ASCII PAGE.CPY/ASCII
!
*COPY 512BYT.ASC/ASCII REMOTE-NODE::512BYT.ASC/ASCII
*COPY REMOTE-NODE::512BYT.ASC/ASCII 512BYT.CPY/ASCII
!
*COPY STRMCR.ASC/ASCII REMOTE-NODE::STRMCR.ASC/ASCII
*COPY REMOTE-NODE::STRMCR.ASC/ASCII STRMCR.CPY/ASCII
!
! Now compare the returned files
!
@VDIR PAGE.ASC,PAGE.CPY
@FILCOM
*TTY:=PAGE.ASC,PAGE.CPY
!
@VDIR 512BYT.ASC,512BYT.CPY
@FILCOM
*TTY:=512BYT.ASC,512BYT.CPY
!
@VDIR STRMCR.ASC,STRMCR.CPY
@FILCOM
*TTY:=STRMCR.ASC,STRMCR.CPY
*^C
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! Test copies in the image modes
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
@NFT
*SET DEFAULT REMOTE-NODE::/USER:REMOTE-USER/PASSWORD:REMOTE-PASSWORD/ACCOUNT:REMOTE-ACCOUNT
*DELETE REMOTE-NODE::*.ASC
!
*COPY MACY11.BIN/MACY11 REMOTE-NODE::MACY11.BIN/IMAGE/VARIABLE
*COPY REMOTE-NODE::MACY11.BIN/IMAGE/VARIABLE MACY11.CPY/MACY11
!
*COPY VAR.MCY/VARIABLE/MACY11 REMOTE-NODE::VAR.MCY/VARIABLE/IMAGE
*COPY REMOTE-NODE::VAR.MCY/IMAGE/VAR VAR.CPY/MACY11/VAR
!
*COPY FIX.MCY/MACY11/FIX:6 REMOTE-NODE::FIX.MCY/IMAGE/FIX:6
*COPY REMOTE-NODE::FIX.MCY/FIX:6/IMAGE FIX.CPY/FIX:6/MACY11
!
*COPY FIX.BIN/IMAGE/FIX:5 REMOTE-NODE::FIX.BIN/IMAGE/FIX:5
*COPY REMOTE-NODE::FIX.BIN/IMAGE/FIX:5 FIX.BCY/IMAGE/FIX:5
!
*COPY VAR.BIN/IMAGE/VAR REMOTE-NODE::VAR.BIN/IMAGE/VAR
*COPY REMOTE-NODE::VAR.BIN/IMAGE/VARIABLE VAR.BCY/IMAGE/VAR
*EXIT
!
! Now check the returned files
!
@VDIR MACY11.BIN,MACY11.CPY
@FILCOM
*TTY:=MACY11.BIN,MACY11.CPY/W
!
@VDIR VAR.MCY,VAR.CPY
@FILCOM
*TTY:=VAR.MCY,VAR.CPY/W
!
@VDIR FIX.MCY,FIX.CPY
@FILCOM
*TTY:=FIX.MCY,FIX.CPY/W
!
@VDIR FIX.BIN,FIX.BCY
@FILCOM
*TTY:=FIX.BIN,FIX.BCY/W
!
@VDIR VAR.BIN,VAR.BCY
@FILCOM
*TTY:=VAR.BIN,VAR.BCY
*^C
!
! Some cleanup
!
@TYPE TAKE.LOG
@DELETE *.ZZZ
@DELETE TAKE.LOG.*
@DELETE *.CPY
@DELETE *.RCY
@DELETE *.ECY
@DELETE *.BCY
@EXPUNGE
!
! After this test has completed, check the remote system to
! insure the the correct files have been printed, that the
! batch jobs have run, that the copied files are in usable
! formats, then delete the test files if desired.