15-OCT-77	[RJDK]



+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++							+++++++++++
+++++++++							+++++++++++
+++++++++		INCREMENTAL DUMPER			+++++++++++
+++++++++							+++++++++++
+++++++++							+++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


	There is now an Incremental Dump task which writes new
	files to tape whenever it is called.

	Task INCR..	This scans the index file for new files
			and updates a dump directory (file under
			[10,1]INCDMPSTS.SYS ) and a list of 
			deleted files (OFFLINE.SYS). If it finds
			more than 10 files to dump it calls INC...
			to perform this task, otherwise it calls
			itself to be restarted in 6 hours.
	Task INC...	This task attaches the first free tape 
			deck and attempts to wake someone to put
			up a suitable tape. It recognises only
			tapes which have been 'GET'ed from [10,1]
			as legal and will reschedule itself in an
			hour if it cannot gain access to a tape
			deck. It appends a file INCRnnnnn.SYS to
			the tape consisting of a DSC copy of each
			of the files on the dump list. When done
			it calls INCR.. to run again in 6 hours.

	Control file 
			Incdmpsts.sys consists of 8 word records 
			where the record number corresponds to 
			the fileid of the file concerned. If the
			sequence number field of the file header
			changes ( deletion or creation of new
			files ) then the number of the increment
			on which the file was dumped is set zero
			and the old record copied to OFFLINE.SYS
			the new record contains the owning uic
			file name , type, generation and sequence
			number. When INC... reads this file it
			examines every entry with a dump number of
			zero and the file name concerned. If the
			file has a name beginning 'TES' or an
			extension in the list LPT PLT DMP PMD TMP
			and TEM then it is not dumped. Otherwise
			the program attempts to open the file for
			reading and if it succeeds in this it then
			updates the record in INCDMPSTS.SYS to say
			that it has attempted to dump the file. If
			it fails to open the file the record remains
			indicating that the file is to be dumped 
			and it will be attempted at the next tape
			increment.
	Task LOOKUP	This task is provided to examine the status
			files and list all files dumped for categories
			of user, increment number, file type and file
			name. Increment -1 is the code for all incre-
			ments and increment 0 is that for files not
			yet dumped.
	Task INCSETUP	This will read the indexfile and reset the 
			increment count to 1 for all files not dumped
			enabling the initialisation of the status file
			after a DSC dump.
