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 15: Full save

&pagelevel(4)&pagelevel

Performing a full save of the pubset with a directory file.

Step 1: Creating a directory file and setting up the volume pool

/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

*POOL DIRECTORY=DIR.81K,NEW,ADD=(QE0820,QE0821,QE0822,QE0823,QE0824,
                                 QE0825),DEVICE=TAPE-C4
———————————————  (2)

%  ARC0002 STATEMENT ACCEPTED. ARCHIVE SEQUENCE NUMBER 'A.100820.100750', 
            VERSION '12.0A'
%  MARM121 MAREN CATALOG ENTRY 'QE0820'/'0001' MODIFIED
%  ARC0010 VOLUME OF TYPE 'TAPE-C4' WITH VSN 'QE0820' ADDED TO THE POOL 
%  MARM121 MAREN CATALOG ENTRY 'QE0820'/'0001' MODIFIED
%  MARM121 MAREN CATALOG ENTRY 'QE0821'/'0001' MODIFIED
%  ARC0010 VOLUME OF TYPE 'TAPE-C4' WITH VSN 'QE0821' ADDED TO THE POOL 
%  MARM121 MAREN CATALOG ENTRY 'QE0821'/'0001' MODIFIED
%  MARM121 MAREN CATALOG ENTRY 'QE0822'/'0001' MODIFIED
%  ARC0010 VOLUME OF TYPE 'TAPE-C4' WITH VSN 'QE0822' ADDED TO THE POOL 
%  MARM121 MAREN CATALOG ENTRY 'QE0822'/'0001' MODIFIED
%  MARM121 MAREN CATALOG ENTRY 'QE0823'/'0001' MODIFIED
%  ARC0010 VOLUME OF TYPE 'TAPE-C4' WITH VSN 'QE0823' ADDED TO THE POOL 
%  MARM121 MAREN CATALOG ENTRY 'QE0823'/'0001' MODIFIED
%  MARM121 MAREN CATALOG ENTRY 'QE0824'/'0001' MODIFIED
%  ARC0010 VOLUME OF TYPE 'TAPE-C4' WITH VSN 'QE0824' ADDED TO THE POOL 
%  MARM121 MAREN CATALOG ENTRY 'QE0824'/'0001' MODIFIED
%  MARM121 MAREN CATALOG ENTRY 'QE0825'/'0001' MODIFIED
%  ARC0010 VOLUME OF TYPE 'TAPE-C4' WITH VSN 'QE0825' ADDED TO THE POOL 
%  ARC0003 ARCHIVE STATEMENT COMPLETED

(1)

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

(2)

The directory file DIR.81K is created with the POOL statement. The specified MT cartridges are assigned to your volume pool.

Step 2: Save run

*PARAM CATID=YES ——————————————————————————————————————————————————————  (3)

%  ARC0017 PARAM STATEMENT ACCEPTED

*FILES NAME=:81K: —————————————————————————————————————————————————————  (4)
*SAVE DIRECTORY=DIR.81K,CHANGED=NO,TAPES=POOL,DEVICE=TAPE-C4,DRIVES=3
      LIST=SYSOUT,SHARE=YES
———————————————————————————————————————————  (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=:81K:  
SAVE DIRECTORY=DIR.81K,CHANGED=NO,TAPES=POOL,DEVICE=TAPE-C4,DRIVES=3,
     LIST=SYSOUT,SHARE=YES
%  ARC0002 STATEMENT ACCEPTED. ARCHIVE SEQUENCE NUMBER 'A.100820.100758',
           VERSION '12.0A' 
%  ARC0033 ARCHIVE SUBTASK TSN '0ATT' GENERATED ———————————————————————  (6) 
%  ARC0033 ARCHIVE SUBTASK TSN '0ATU' GENERATED
%  ARC0033 ARCHIVE SUBTASK TSN '0ATV' GENERATED 
%  MARM121 MAREN CATALOG ENTRY 'QE0820'/'0001' MODIFIED
%  MARM121 MAREN CATALOG ENTRY 'QE0821'/'0001' MODIFIED
%  MARM121 MAREN CATALOG ENTRY 'QE0822'/'0001' MODIFIED 
%  ARC0815 SUBTASK '0' HAS TRANSFERRED '76364' PAM PAGES FOR '67' FILES 
           AND '0' JVS IN '76' SECONDS
%  ARC0815 SUBTASK '1' HAS TRANSFERRED '76362' PAM PAGES FOR '65' FILES  
           AND '0' JVS IN '75' SECONDS
%  ARC0815 SUBTASK '2' HAS TRANSFERRED '98087' PAM PAGES FOR '236' FILES 
           AND '0' JVS IN '92' SECONDS


%  ARC0003 ARCHIVE STATEMENT COMPLETED

*END

%  ARC0009 ARCHIVE TERMINATED

(3)

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

(4)

In the following ARCHIVE run, all files in the pubset with the catalog ID 81K are to be processed. Since the NAME operand is not specified, all user IDs are saved.

(5)

The SAVE statement defines a save to tape.

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

  • CHANGED=NO
    All files are always saved. The operand CHANGED=NO must be specified for a full save.

  • TAPES=POOL
    The VSNs of the save volumes required are read from the pool of the specified directory file.

  • DEVICE=TAPE-C4
    TAPE-C4 type MT cartridges are used for the save run. This specification is necessary despite the POOL entry.

  • DRIVES=3
    To speed up the save run 3 parallel runs are defined via the DRIVES operand. All the files of a user ID are saved in one run as a “packet”. Three save runs are started in parallel. Once one run has terminated, all the files of the next user ID

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

  • SHARE=YES
    The volumes and save files created are “shareable”.

(6)

ARCHIVE starts three subtasks for the input/output.

(7)

Report of the save run. The processed files are listed. The meanings of the columns are explained in section "ARCHIVE report".
The number of parallel runs is listed on page 1 of the report together with the associated VSNs.

(8)

All the files of the user PRU are written as a “packet” to the tape with the volume serial number QE0820 in one run.
Parallel to this run the files of PRUA are written to QE0821 and those of PRUB to QE0822.The subtasks each save one user ID as a packet in parallel and request the next packet (the next user ID) to be saved once the last file has been saved (see section "Parallel and serial processing").