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 6: Exporting files

&pagelevel(4)&pagelevel

Exporting files and job variables from your own ID and from a foreign user ID to magnetic tape or MT cartridge.

Figure 11: Exporting files

/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=(FILE.,$USERID2.FILE.) ————————————————————————————————————  (1)
*JOBVAR NAME=(JV.,$USERID2.JV.) ———————————————————————————————————————  (2) 
*EXPORT VOLUME=QE0830,DEVICE=TAPE-C4,LIST=SYSOUT,ATTRIBUTES=RESET —————  (3)

*     E X P O R T   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=(FILE.,$USERID2.FILE.) 
JOBVAR NAME=(JV.,$USERID2.JV.) 
EXPORT VOLUME=QE0830,DEVICE=TAPE-C4,LIST=SYSOUT,ATTRIBUTES=RESET
%  ARC0002 STATEMENT ACCEPTED. ARCHIVE SEQUENCE NUMBER 'A.100824.132029',
           VERSION '12.0A'
%  ARC0033 ARCHIVE SUBTASK TSN '0A4U' GENERATED
%  MARM127 VOLUME 'QE0830' RESERVED FOR USER ID 'USERID1'
%  ARC0815 SUBTASK '0' HAS TRANSFERRED '2222' PAM PAGES FOR '6' FILES 
           AND '4' JVS IN '4' SECONDS

%  ARC0003 ARCHIVE STATEMENT COMPLETED

*END

%  ARC0009 ARCHIVE TERMINATED

(1)

The NAME operand in the FILES statement identifies the files under your own ID and those under the user ID USERID2 that are to be processed by ARCHIVE.

(2)

The NAME operand in the JOBVAR statement identifies the job variables under your own ID and those under the user ID USERID2 that are to be processed be ARCHIVE.

(3)

The EXPORT statement defines a save to MT cartridge that can be read in on a different BS2000 system.

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

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

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

(4)

Report of the save run.
The processed files belonging to your own ID and those belonging to the foreign user ID USERID2 are listed. The meanings of the columns are explained in section"ARCHIVE report".