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 4: Restoration without the directory file

&pagelevel(4)&pagelevel

Writing files that were saved from a private disk to magnetic tape or MT cartridge without a directory file back to a public volume.

Figure 9: Restoration without 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=(PRIV.1,PRIV.2,PRIV.3),TO=PUBLIC ——————————————————————————  (1)
*RESTORE DIRECTORY=NONE,FROM=(QE0829),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
 
FILES NAME=(PRIV.1,PRIV.2,PRIV.3),TO=PUBLIC 
RESTORE DIRECTORY=NONE,FROM=(QE0829),LIST=SYSOUT
%  ARC0002 STATEMENT ACCEPTED. ARCHIVE SEQUENCE NUMBER 'A.100817.144703',
           VERSION '12.0A'
%  ARC0033 ARCHIVE SUBTASK TSN '0GLC' GENERATED

%  ARC0003 ARCHIVE STATEMENT COMPLETED

*END

%  ARC0009 ARCHIVE TERMINATED

(1)

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

  • TO=PUBLIC
    This operand is necessary since the files were saved from a private volume and would otherwise be written back there by default.

(2)

The RESTORE statement writes the files back that were previously saved to MT cartridge in a SAVE run.

  • DIRECTORY=NONE
    ARCHIVE is to restore the files from the save tape without any information from the directory file.

  • FROM=(QE0829)
    The FROM operand specifies that the files are to be read from the magnetic tape with the specified VSN. The FROM operand must be specified when writing back without the directory file.

  • 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".