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 14: Saving individual file generations

&pagelevel(4)&pagelevel

Saving file generations from different file generation groups with a directory file from a public volume to magnetic tape or MT cartridge.

Figure 17: Saving individual volumes

/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=(FGG.1(*5),FGG.2(*63),FGG.3(*39)) —————————————————————————  (1)
*SAVE DIRECTORY=DIR.FGG,NEW,VOLUME=QE0798,DEVICE=TAPE-C4,CHANGED=NO,
      LIST=SYSOUT
—————————————————————————————————————————————————————  (2)

*         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   = NO
STREAM  = YES
 
FILES NAME=(FGG.1(*5),FGG.2(*63),FGG.3(*39)) 
SAVE DIRECTORY=DIR.FGG,NEW,VOLUME=QE0798,DEVICE=TAPE-C4,CHANGED=NO,
     LIST=SYSOUT
%  ARC0002 STATEMENT ACCEPTED. ARCHIVE SEQUENCE NUMBER 'A.100818.164733',
           VERSION '12.0A'
%  ARC0033 ARCHIVE SUBTASK TSN '0RKI' GENERATED
%  MARM127 VOLUME 'QE0798' RESERVED FOR USER ID 'TSOS'
%  ARC0815 SUBTASK '0' HAS TRANSFERRED '91' PAM PAGES FOR '3' FILES 
           AND '0' JVS IN '1' SECONDS

%  ARC0003 ARCHIVE STATEMENT COMPLETED

*END

%  ARC0009 ARCHIVE TERMINATED

(1)

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

(2)

The SAVE statement defines a save to tape.

  • DIRECTORY=DIR.FGG,NEW
    ARCHIVE is to write the information on the save run to the directory file. The NEW operand must be specified here, as the directory file is to be created as a new file. NEW must also be specified if the directory file has already been cataloged but does not yet have any ARCHIVE entries.

  • TAPES=QE0798
    The corresponding MT cartridge is specified as the save tape and added to the volume pool of the directory file.

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

  • CHANGED=NO
    The files specified are saved in their entirety.

  • 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 save run. The processed files are listed. The meanings of the columns are explained in section "ARCHIVE report".