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 18: Creating a complete system save

&pagelevel(4)&pagelevel

Creating a complete current system save with a directory file from a previous full save ("Example 15: Full save") and if necessary several incremental saves ("Example 16: Incremental save").

Figure 19: Creating a complete system save

/SET-LOGON-PARAMETERS TSOS ————————————————————————————————————————————  (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 FROM=S.100820.101338  ——————————————————————————————————————————  (3)
*FILES FROM=S.100820.100758

*SAVE DIRECTORY=DIR.81K,TAPES=POOL,DEVICE=TAPE-C4,DUPLICATE=NO,
      LIST=SYSOUT
—————————————————————————————————————————————————————  (4) 

*         S A V E   C O M M A N D   L I S T I N G ***
 
PARAMETER VALUES:-
CNS     = YES
UNLOAD  = NO
RESTART = YES
OPERATOR= NO
OLS     = NO
CATID   = YES
STREAM  = YES
 
FILES FROM=S.100820.101338 
FILES FROM=S.100820.100758 
SAVE DIRECTORY=DIR.81K,TAPES=POOL,DEVICE=TAPE-C4,DUPLICATE=NO,
     LIST=SYSOUT
%  ARC0002 STATEMENT ACCEPTED. ARCHIVE SEQUENCE NUMBER 'A.100820.160026',
           VERSION '12.0A'
%  ARC0033 ARCHIVE SUBTASK TSN '0AUG' GENERATED
%  MARM121 MAREN CATALOG ENTRY 'QE0825'/'0001' MODIFIED
%  MARM121 MAREN CATALOG ENTRY 'QE0826'/'0001' MODIFIED
%  MARM121 MAREN CATALOG ENTRY 'QE0827'/'0001' MODIFIED
%  ARC0815 SUBTASK '0' HAS TRANSFERRED '250795' PAM PAGES FOR '372' FILES 
           AND '0' JVS IN '77' SECONDS

%  ARC0003 ARCHIVE STATEMENT COMPLETED

*END

%  ARC0009 ARCHIVE TERMINATED

(1)

Open a dialog under the systems support ID (TSOS privilege).

(2)

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

(3)

FILES=S.100820.101338
FILES=S.100820.100758
These FILES statements specify that all files from the last full and incremental saves are to be processed. The save versions must be specified in descending order from the newest to the oldest.

(4)

The SAVE statement defines a save to tape.

  • DIRECTORY=DIR.81K
    ARCHIVE is to write the information about the save run to the existing directory file.

  • TAPES=POOL
    The VSN of the output volumes are taken from the volume pool of the directory file DIR.FULL in ascending order.

  • DEVICE=TAPE-C4
    This operand specifies the device type for the MT cartridge.

  • DUPLICATE=NO
    All duplicated files are only saved once, i.e. only the first file entered in the FILES statement is written to the output volume. The DUPLICATE=NO operand is only permitted for the directory 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 save run. The processed files are listed. The meanings of the columns are explained in section "ARCHIVE report".