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 17: Restoration from system save

&pagelevel(4)&pagelevel

Writing back files from previous full and incremental saves by systems support under the user ID.

Figure 18: Restoration from system save

/SET-LOGON-PARAMETERS PRU —————————————————————————————————————————————  (1)
/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 ——————————————————————————————————————————————————————  (2)

%  ARC0017 PARAM STATEMENT ACCEPTED

*FILES NAME=TEST. —————————————————————————————————————————————————————  (3)
*RESTORE DIRECTORY=$TSOS.DIR.81K,REPLACE=YES,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=TEST. 
RESTORE DIRECTORY=$TSOS.DIR.81K,REPLACE=YES,LIST=SYSOUT
%  ARC0002 STATEMENT ACCEPTED. ARCHIVE SEQUENCE NUMBER 'A.100820.101703',
           VERSION '12.0A'
%  ARC0033 ARCHIVE SUBTASK TSN '0AT1' GENERATED
%  ARC0815 SUBTASK '0' HAS TRANSFERRED '138' PAM PAGES FOR '5' FILES 
           AND '0' JVS IN '4' SECONDS

%  ARC0003 ARCHIVE STATEMENT COMPLETED

*END

%  ARC0009 ARCHIVE TERMINATED

(1)

Open a dialog under the nonprivileged user ID PRU.

(2)

This statement specifies that the catalog ID is to be used.

(3)

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

(4)

The RESTORE statement instructs ARCHIVE to restore the files saved to tape.

  • DIRECTORY=$TSOS.DIR.81K
    ARCHIVE is to restore the saved files from the directory file of the system support.

  • REPLACE=YES
    If a file with the same name already exists under the PRU user ID, it is replaced on the save tape with this file.

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

(5)

Report of the restoration run. The processed files are listed. The meanings of the columns are explained in section "ARCHIVE report".
The files TEST.01, TEST.02 and TEST.04 are taken from "Example 15: Full save", the files TEST.03 and TEST.05 from "Example 16: Incremental save".