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 13: Merging of save data

&pagelevel(4)&pagelevel

Merging files and job variables from disk and tape or MT cartridge together on a different tape or MT cartridge.

Figure 16: Merging save data

/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=TEST. —————————————————————————————————————————————————————  (2)
*FILES FROM=SV,(QE0798),DEVICE=TAPE-C4 ————————————————————————————————  (3)

*JOBVAR FROM=SV,(QE0798),DEVICE=TAPE-C4 ———————————————————————————————  (4)
*SAVE DIRECTORY=DIR.SAVES,VOLUME=QE0799,DEVICE=TAPE-C4,DUPLICATE=NO,
      LIST=SYSOUT —————————————————————————————————————————————————————  (5) 

*         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 NAME=TEST. 
FILES FROM=SV,(QE0798),DEVICE=TAPE-C4 
JOBVAR FROM=SV,(QE0798),DEVICE=TAPE-C4 
SAVE DIRECTORY=DIR.SAVES,VOLUME=QE0799,DEVICE=TAPE-C4,DUPLICATE=NO,
     LIST=SYSOUT
%  ARC0002 STATEMENT ACCEPTED. ARCHIVE SEQUENCE NUMBER 'A.100818.162948',
           VERSION '12.0A'
%  ARC0033 ARCHIVE SUBTASK TSN '0RKB' GENERATED
%  MARM127 VOLUME 'QE0799' RESERVED FOR USER ID 'TSOS'
%  ARC0815 SUBTASK '0' HAS TRANSFERRED '1115' PAM PAGES FOR '7' FILES 
           AND '2' JVS IN '1' 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 of the FILES statement specifies the files to be processed by ARCHIVE.

(3)

Since the NAME operand is not specified in the FILES statement, ARCHIVE processes all files of the specified volume.

(4)

Since the NAME operand is not specified in the JOBVAR statement, ARCHIVE processes all job variables of the specified volume.

(5)

The SAVE statement defines a save to MT cartridge.

  • DIRECTORY=DIR.SAVES
    ARCHIVE is to write information on the save run to the directory file.

  • VOLUME=QE0798
    This operand specifies the VSN of the save volume.

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

  • DUPLICATE=NO
    All duplicate files and job variables are saved only once, i.e. only the first file/job variable specified in the FILES or JOBVAR statement is written to the output volume. DUPLICATE=NO can only be specified if a directory file is used.

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

(6)

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