ARCHIVE outputs the statements entered for each ARCHIVE run in a list of statements (command listing); unless otherwise specified the list is output to SYSLST (or to SYSOUT in the case of INQUIRE). The output destination can be controlled by means of the LIST operand.
ARCHIVE checks the syntax of the input statements; if it is correct, the run is started.
Example of a SAVE run
/START-ARCHIVE
% BLS0990 PROCESSING OF REP FILE ':SBZ3:$TSOS.SYSREP.ARCHIVE.120' STARTED % ARCLOAD Program 'ARCHIVE', version '12.0A' of '2018-06-04' loaded from file ':1OSH:$TSOS.SYSLNK.ARCHIVE.120' % ARCCOPY Copyright (C) FUJITSU TECHNOLOGY SOLUTIONS 2018. All rights reserved % ARC0001 ARCHIVE READY
*FILES NAME=(FILE.1,FILE.2,FILE.3) ———————————————————————————————————— (1)
*SAVE DIRECTORY=ARCHIVE.DIR,LIST=SYSOUT,TAPES=OP,DEVICE=TAPE-C4 ——————— (2)
* S A V E C O M M A N D L I S T I N G *** ————————————————————— (3) PARAMETER VALUES:- ———————————————————————————————————————————————————— (4) CNS = YES UNLOAD = NO RESTART = YES OPERATOR= NO OLS = NO CATID = NO STREAM = YES FILES NAME=(FILE.1,FILE.2,FILE.3) ————————————————————————————————————— (5) SAVE DIRECTORY=ARCHIVE.DIR,LIST=SYSOUT,TAPES=OP,DEVICE=TAPE-C4 % ARC0002 STATEMENT ACCEPTED. ARCHIVE SEQUENCE NUMBER 'A.200810.140853' VERSION='12.0A' ————————————————————————————————————————————— (6) % ARC0033 ARCHIVE SUBTASK TSN '2JH6' GENERATED % ARC0815 SUBTASK '0' HAS TRANSFERRED '3' PAM-PAGES FOR '3' FILES AND '0' JVS IN '0' SECONDS
(1) | ARCHIVE is to process the files |
(2) | ARCHIVE is to save the specified files; the directory file |
(3) | Header line of the statement listing for the SAVE run. |
(4) | The parameter values for the SAVE run are listed. The PARAM default values are valid for this ARCHIVE run (see the PARAM statement, "PARAM Set runtime values"). |
(5) | ARCHIVE logs the two entered files a second time. |
(6) | ARCHIVE confirms that the input statements are free of syntax errors. The ARCHIVE run is assigned an ARCHIVE sequence number. |
Example of a RESTORE run
/START-ARCHIVE
% BLS0990 PROCESSING OF REP FILE ':SBZ3:$TSOS.SYSREP.ARCHIVE.120' STARTED % ARCLOAD Program 'ARCHIVE', version '12.0A' of '2018-06-04' loaded from file ':1OSH:$TSOS.SYSLNK.ARCHIVE.120' % ARCCOPY Copyright (C) FUJITSU TECHNOLOGY SOLUTIONS 2018. All rights reserved % ARC0001 ARCHIVE READY
*FILES NAME=(FILE.1,FILE.3) ——————————————————————————————————————————— (1)
*RESTORE DIRECTORY=ARCHIVE.DIR,LIST=SYSOUT,REPLACE=YES ———————————————— (2)
* R E S T O R E C O M M A N D L I S T I N G *** ——————————————— (3) PARAMETER VALUES:- ———————————————————————————————————————————————————— (4) UNLOAD = NO RESTART = YES OPERATOR= NO SNR = YES CATID = NO STREAM = YES FILES NAME=(FILE.1,FILE.3) ———————————————————————————————————————————— (5) RESTORE DIRECTORY=ARCHIVE.DIR,LIST=SYSOUT,REPLACE=YES % ARC0002 STATEMENT ACCEPTED. ARCHIVE SEQUENCE NUMBER 'A.200810.141034' VERSION='12.0A' ————————————————————————————————————————————— (6) % ARC0033 ARCHIVE SUBTASK TSN '2JH7' GENERATED % ARC0815 SUBTASK '0' HAS TRANSFERRED '2' PAM-PAGES FOR '2' FILES AND '0' JVS IN '0' SECONDS
(1) | ARCHIVE is to process the files |
(2) | ARCHIVE is to restore the specified files; the directory file |
(3) | Header line of the statement listing for the RESTORE run. |
(4) | The parameter values for the RESTORE run are listed. The PARAM default values are valid for this ARCHIVE run (see the PARAM statement, "PARAM Set runtime values"). |
(5) | ARCHIVE logs the two input statements a second time. |
(6) | ARCHIVE confirms that the input statements are free of syntax errors. The ARCHIVE run is assigned an ARCHIVE sequence number. |