Both systems support (= users with the TSOS privilege) and nonprivileged users can use ARCHIVE. Some functions and operand values are only available to systems support.
ARCHIVE expects all the statements from the system file SYSDTA, which in interactive mode is assigned to the terminal, and in batch mode to the ENTER file.
If ARCHIVE is to be called in a procedure, the system file must be assigned with:
ASSIGN-SYSDTA TO-FILE=*SYSCMD
If the statements for ARCHIVE are to be read from a SAM or ISAM file, this file must be assigned with:
ASSIGN-SYSDTA TO-FILE=filename
By default, the following are output on SYSOUT:
error messages and warnings
messages relating to tapes and MT cartridges for the POOL statement
information for the STATUS statement about ARCHIVE processes stored in the queue file
ARCHIVE.LATER
.
By default, the following information is output on SYSLST:
the statements entered, together with any resulting error messages or warnings
the report on the ARCHIVE run
the end message
ARC0009 ARCHIVE TERMINATED
Output on SYSLST can be controlled with the LIST operand in the appropriate statements. Additionally or alternatively, it can be redirected to SYSOUT or totally suppressed.