August 15, 2017
© Copyright IBM Corporation, 2017 Page 26 of 117
"PHYSICAL MEDIA COUNTS V2 .0 "
" POOL MEDIA EMPTY FILLING FULL ERASE ROR UNAVAIL CXPT "
" 0 JA 18 0 "
" 0 JJ 12 0 "
" 0 JC 8 0 "
" 1 JA 2 0 1 0 0 0 0 "
" 1 JC 2 1 0 0 0 0 0 "
" 3 JJ 2 0 0 0 0 0 0 "
" 10 JA 2 0 3 0 0 0 3 "
" 10 JJ 0 0 3 0 0 0 3 "
" 10 JC 2 0 2 0 0 0 2 "
Both pools meet the scratch criteria (98 and 19 available for pools 3 & 4, respectively) and the total number
of copy exported physical volumes is 297 (sum of count for pools 3 & 4), far less than the 2000 limit.
To check whether the pool contains any pre-TS7700 format volume, use the BVIR - Physical Volume Status
Pool xx function, where xx is the pool that you are going to use in a copy export operation. For each of the
physical volume records returned, check the value for the ADSM_FORMAT_FLAG field. If a value of 1 is
indicated, the volume is written in the pre-TS7700 format and must be converted before the logical volumes
on it can be exported. If there are just a few physical volumes that you need to check on, an alternative
method would be to use the host console request function, Library Request, to request information on a
specific physical volume. The data returned will identify the format as either TS7700 or VTS. If VTS is
identified, the volume is written in the pre-TS7700 format and must be converted before the logical volumes
on it can be exported.
To convert the pre-TS7700 format logical volumes so that they can be exportable, you will need to set-up
host jobs that will mount and then demount them. This will bring them back into the cache and the TS7700
will see that they need to be converted. In addition, if they did not have a secondary copy in the physical
volume pool being used for copy export, a secondary copy is also made (assuming that they have a
management class assigned that is defined for a secondary copy).
Initiating the Copy Export Operation
To initiate the copy export operation, you would issue the z/OS host console command:
LIBRARY EXPORT,volser
Where: volser is the volume serial number of the export list file volume you created.
The host will send a command to the composite library that the export list file volume was created in. If
issued to a Grid configuration, the TS7700 will internally route the command to the TS7700 that contains
the valid export list file volume. If more than one TS7700 in a Grid configuration contains a valid copy of
the export list file volume, the copy export operation fails.
Copy Export Processing
The executing TS7700 validates the export operation request, checking that the required resources are
available, the export list file volume is valid on the TS7700, it is correctly written and the parameters and
options specified are compatible with the TS7700. It also checks if performing the operation would result in
more than 2000 copy exported physical volumes. If the TS7700 determines that there are issues with
starting the execution of the copy export operation, it will return a completion code to the host that initiated
the operation. Refer to the Export Completion Messages section for the description of the completion codes
and any associated text.