Archive and Backup
ACREATE2
%externalintegerfn ACREATE2(%string(18)INDEX, TAPE, %string(8)FDATE,
%string(11)FILE, %integer FSYS, NKB, CHAPTER, TYPE)
This procedure is provided for use by the archive program. A new
archive index entry is created for USER, giving TAPE, CHAPTER and
no-of-Kbytes attributes to be associated with FILE. (Access permission
attributes are given to FILE by separate calls of DPERMISSION.)
DATE should normally be left null, when the current date will be used.
DMODARCH
%externalintegerfn DMOD ARCH(%string(18)FILE INDEX, %string(11)FILE,
%string(8)DATE, %record(AINFF)%name ENT,
%integer FSYS, TYPE)
This procedure is provided for the System Manager to make amendments to
archive index entries. FILE INDEX, FILE, DATE and FSYS determine the
entry to be modified. Record ENT has the same format as that supplied
by DFILENAMES (TYPE=1). Fields (other than NAME) which differ from
those of the specified index entry will be used to update the entry.
Bits in TYPE as for 'ADESTROY'.
DNEWARCHINDEX
%externalintegerfn DNEW ARCH INDEX(%string(18)FILE INDEX,
%integer FSYS, KBYTES)
This privileged procedure creates a new archive index of KBYTES Kbytes
for file index FILE INDEX on disc FSYS. The minimum size allowed is 4
Kbytes, allowing about 80 archive files to be described.
DRESTORE
%externalintegerfn DRESTORE(%string(19)FILE INDEX, %string(255)FILE,
%string(8)ADATE, %integer FSYS, TYPE)
This procedure passes a restore request (if FILE exists on archive
storage and is permitted to the caller) to VOLUMS. ADATE may be left
null, when the most recently archived copy of FILE will be restored.
The file is restored into the file owner's index FILE INDEX. TYPE
is currently ignored and should be set to zero.
DRETRIEVE
%externalintegerfn DRETRIEVE(%string(6)TAPE, %integer CHAPTER)
Provides an interface to VOLUMS for users to restore files which they
have written to tape themselves.