Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Example 3: Restoration with the directory file

&pagelevel(4)&pagelevel

Writing files with a directory file from magnetic tape or MT cartridge back to the original volume.

Figure 8: Restoration with the directory file

/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)
*RESTORE DIRECTORY=DIR.SAVE.FILE,LIST=SYSOUT ———————————————————————————  (2)

*   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   = NO
STREAM  = YES
 
%  ARC0002 STATEMENT ACCEPTED. ARCHIVE SEQUENCE NUMBER 'A.100817.143156',
           VERSION '12.0A'
%  ARC0033 ARCHIVE SUBTASK TSN '0GK9' GENERATED
%  ARC0815 SUBTASK '0' HAS TRANSFERRED '4019' PAM PAGES FOR '8' FILES 
           AND '0' JVS IN '5' SECONDS

%  ARC0003 ARCHIVE STATEMENT COMPLETED

*END

%  ARC0009 ARCHIVE TERMINATED

(1)

The NAME operand in the FILES statements specifies the files to be processed by ARCHIVE.

(2)

The RESTORE statement instructs ARCHIVE to restore saved files.

  • DIRECTORY=DIR.SAVE.FILE
    ARCHIVE is to draw the necessary information for restoring the specified files from the directory file. In this case, the files will be restored to a public volume (from where they were saved) since no TO operand is specified in the FILES statement.
    ARCHIVE takes the VSN of the save volume from the directory file. The FROM operand can therefore be omitted.

  • LIST=SYSOUT
    ARCHIVE is to output the report of the run to SYSOUT.
    By default the report is output to SYSLST.

(3)

Report of the restoration run. The processed files are listed. The meanings of the columns are explained in section "ARCHIVE report".