Writing files and job variables with a directory file from a save tape or MT cartridge to pubsets other than the originals.
Figure 10: Restoration to other pubsets
/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
*PARAM CATID=YES
—————————————————————————————————————————————————————— (1)
% ARC0017 PARAM STATEMENT ACCEPTED
*FILES NAME=(FILE.,RENAME=:81K:FILE.) —————————————————————————————————— (2)
*JOBVAR NAME=(JV1.,RENAME=:81K:JV1.) ——————————————————————————————————— (3)
*RESTORE DIRECTORY=DIR.SAVE.FILE,LIST=SYSOUT ——————————————————————————— (4)
* R E S T O R E C O M M A N D L I S T I N G *** PARAMETER VALUES:- UNLOAD = NO RESTART = YES OPERATOR= NO SNR = YES CATID = YES STREAM = YES FILES NAME=(FILE.,RENAME=:81K:FILE.) JOBVAR NAME=(JV1.,RENAME=:81K:JV1.) RESTORE DIRECTORY=DIR.SAVE.FILE,LIST=SYSOUT % ARC0002 STATEMENT ACCEPTED. ARCHIVE SEQUENCE NUMBER 'A.100817.150047', VERSION '12.0A' % ARC0033 ARCHIVE SUBTASK TSN '0GLH' GENERATED % ARC0815 SUBTASK '0' HAS TRANSFERRED '616' PAM PAGES FOR '4' FILES AND '3' JVS IN '0' SECONDS
% ARC0003 ARCHIVE STATEMENT COMPLETED
*END
% ARC0009 ARCHIVE TERMINATED
(1) | This statement specifies that the catalog ID is to be used. |
(2) | The NAME operand in the FILES statement specifies the files to be processed by ARCHIVE. The RENAME operand defines a different file name when reading in and a different pubset as the destination. |
(3) | The NAME operand in the JOBVAR statement specifies the job variables that are to be processed by ARCHIVE. The RENAME operand defines a different file name when reading in and a different pubset as the destination. |
(4) | The RESTORE statement instructs ARCHIVE to restore previously saved files and job variables.
|
(5) | Report of the restoration run. The processed files and job variables are listed. The meanings of the columns are explained in section "ARCHIVE report". |