Google
 

Trailing-Edge - PDP-10 Archives - BB-F493Z-DD_1986 - 10,7/getnet.ct2
There are 3 other files named getnet.ct2 in the archive. Click here to see a list.
;This is a skeleton control file to move a new NODNAM.INI to a -20
;from a VAX.  This control file should be run under <OPERATOR>, and resubmits
;itself.
;
;To use, get NETALL started on the VAX system.
;Then, replace each of the following placeholders as indicated below.
;	<VAX>		The node name of the LEVEL II VAX router
;	<DISK$VAX>	The disk name where NODNAM.INI is put by NETALL
;	<VAX$USER>	The VAX user name where NODNAM.INI is put by NETALL
;	<LOCAL-AREA>	The area number of the -20 node
;
;Define INI: as a system-wide logical name that points to NODNAM.INI
;	Eg, ^EDEFINE INI: PS:<NETWORKS>NODNAM.INI
;Finally, submit GETNET for the first time.  It should resubmit itself
;each week.
;
;Batch job to retrieve NODNAM.INI file from <VAX> on a regular basis.
;Uses NFT to get the job done; if NFT transfer fails, it will requeue and
;try in one-half hour.
;
;After getting the file, it runs NODNAM.  It then submits itself for the
;following week and logs out.
;
@ERROR ?
@ENABLE
;Below assumes that default access info will work.  It better; we don't
;want passwords in .CTL files
@NFT
*COPY <VAX>::<DISK$VAX>:[<VAX$USER>]NODNAM.INI DSK:
*
*
*
@IF(ERROR).GOTO REDO
@COPY DSK:NODNAM.INI INI:
@SET FILE PROTECTION INI: 775252
@NODNAM
*<LOCAL-AREA>
!Submit for next week...
@SUBMIT GETNET/OUT:NOLOG/BATCH-LOG:SUPER/UNIQUE:NO/ACCOUNT:""/AFTER:FRI:12:00:00/REST:YES
!Kill file on <VAX> so that it is fresh next time around...
!Don't if multiple systems are updated from one VAX
!@NFT
!*DELETE <VAX>::<DISK$VAX>:[<VAX$USER>]NODNAM.INI;*
!@IF(ERROR) 		!So what? probably protected too high...
@LOGOUT
REDO::
@SUBMIT GETNET/OUT:NOLOG/BATCH-LOG:SUPER/UNIQUE:NO/ACCOUNT:""/AFTER:+0:30:00/REST:YES
@LOGOUT