ibm-information-center/dist/eclipse/plugins/i5OS.ic.cl_5.4.0.1/duptap.htm

838 lines
31 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Duplicate Tape (DUPTAP)</title>
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body bgcolor="white">
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<a name="DUPTAP.Top_Of_Page"></a>
<h2>Duplicate Tape (DUPTAP)</h2>
<table width="100%">
<tr>
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
<b>Threadsafe: </b>No
</td>
<td valign="top" align="right">
<a href="#DUPTAP.PARAMETERS.TABLE">Parameters</a><br>
<a href="#DUPTAP.COMMAND.EXAMPLES">Examples</a><br>
<a href="#DUPTAP.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="DUPTAP"></a>
<p>The Duplicate Tape (DUPTAP) command copies the contents of one tape to another tape.
</p>
<p><b>Notes:</b>
</p>
<ol>
<li>The density field in the file header labels are updated to reflect the true density.
</li>
<li>Byte 80 in the volume label of a tape written on device type 6157 is reset from a 'Q' to a blank.
</li>
</ol>
<p><b>Restrictions:</b>
</p>
<ul>
<li>You must have two tape drives or a tape media library device with two tape resources to use this command.
</li>
<li>A file that spans volumes must have both partial files duplicated at the same time. That is, duplicating a tape that ends in a partial file, followed by appending the second part of the file to the end of the tape is not allowed. You must duplicate both parts of the file at the same time by specifying multiple volumes on the FROMVOL parameter.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#DUPTAP.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="DUPTAP.PARAMETERS.TABLE">Parameters</a></h3>
<table border="1" cellpadding="4" cellspacing="0">
<!-- col1="10" col2="15" col3="30" col4="10" -->
<tr>
<th bgcolor="aqua" valign="bottom" align="left">Keyword</th>
<th bgcolor="aqua" valign="bottom" align="left">Description</th>
<th bgcolor="aqua" valign="bottom" align="left">Choices</th>
<th bgcolor="aqua" valign="bottom" align="left">Notes</th>
</tr>
<tr>
<td valign="top"><a href="#DUPTAP.FROMDEV"><b>FROMDEV</b></a></td>
<td valign="top">From device</td>
<td valign="top"><i>Name</i></td>
<td valign="top">Required, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#DUPTAP.TODEV"><b>TODEV</b></a></td>
<td valign="top">To device</td>
<td valign="top"><i>Name</i></td>
<td valign="top">Required, Positional 2</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#DUPTAP.FROMSEQNBR"><b>FROMSEQNBR</b></a></td>
<td valign="top">From sequence number</td>
<td valign="top">Single values: *ALL<br>Other values: <i>Element list</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Element 1: Starting file sequence number</td>
<td valign="top">
1-16777215, <b><u>*FIRST</u></b></td>
</tr>
<tr>
<td valign="top">Element 2: Ending file sequence number</td>
<td valign="top">
1-16777215, *ONLY, <b><u>*LAST</u></b></td>
</tr>
<tr>
<td valign="top"><a href="#DUPTAP.TOSEQNBR"><b>TOSEQNBR</b></a></td>
<td valign="top">To sequence number</td>
<td valign="top">1-16777215, *END, <b><u>*FROMSEQ</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#DUPTAP.FROMVOL"><b>FROMVOL</b></a></td>
<td valign="top">From volume identifier</td>
<td valign="top">Single values: <b><u>*MOUNTED</u></b><br>Other values (up to 300 repetitions): <i>Character value</i></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#DUPTAP.TOVOL"><b>TOVOL</b></a></td>
<td valign="top">To volume identifier</td>
<td valign="top">Single values: <b><u>*MOUNTED</u></b>, *FROMVOL<br>Other values (up to 300 repetitions): <i>Character value</i></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#DUPTAP.TODENSITY"><b>TODENSITY</b></a></td>
<td valign="top">Tape density</td>
<td valign="top"><i>Character value</i>, <b><u>*DEVTYPE</u></b>, *CTGTYPE, *FMT3480, *FMT3490E, *FMT3570, *FMT3570E, *FMT3590, *FMT3590E, *FMT3590H, *QIC120, *QIC525, *QIC1000, *QIC2GB, *QIC2DC, *QIC4GB, *QIC4DC, *QIC3040, *QIC5010, *MLR3, *SLR60, *SLR100, *FMT2GB, *FMT5GB, *FMT7GB, *FMT20GB, *FMT60GB, *ULTRIUM1, *ULTRIUM2, *VXA1, *VXA2, 1600, 3200, 6250</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#DUPTAP.COMPACT"><b>COMPACT</b></a></td>
<td valign="top">Data compaction</td>
<td valign="top"><b><u>*FROMFILE</u></b>, *YES, *NO</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#DUPTAP.FILES"><b>FILES</b></a></td>
<td valign="top">Files to duplicate</td>
<td valign="top"><b><u>*ALL</u></b>, *ACTIVE</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#DUPTAP.USRLBLPGM"><b>USRLBLPGM</b></a></td>
<td valign="top">User label program</td>
<td valign="top">Single values: *NONE, <b><u>*SYSCOPY</u></b><br>Other values: <i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Qualifier 1: User label program</td>
<td valign="top"><i>Name</i></td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
</tr><tr>
<td valign="top"><a href="#DUPTAP.FROMENDOPT"><b>FROMENDOPT</b></a></td>
<td valign="top">From device end option</td>
<td valign="top"><b><u>*REWIND</u></b>, *UNLOAD, *LEAVE</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#DUPTAP.TOENDOPT"><b>TOENDOPT</b></a></td>
<td valign="top">To device end option</td>
<td valign="top"><b><u>*UNLOAD</u></b>, *REWIND, *LEAVE</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#DUPTAP.CHECK"><b>CHECK</b></a></td>
<td valign="top">Check for active files</td>
<td valign="top"><b><u>*YES</u></b>, *NO</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#DUPTAP.EXPDATE"><b>EXPDATE</b></a></td>
<td valign="top">File expiration date</td>
<td valign="top"><i>Date</i>, <b><u>*FROMFILE</u></b>, *PERM</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#DUPTAP.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="DUPTAP.FROMDEV"></a>
<h3>From device (FROMDEV)</h3>
<p>Specifies the device from which the tape is copied.
</p>
<p>This is a required parameter.
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the tape device where the tape to be copied is mounted.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DUPTAP.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DUPTAP.TODEV"></a>
<h3>To device (TODEV)</h3>
<p>Specifies the device to which the tape is copied.
</p>
<p>This is a required parameter.
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the tape device where the tape volume to which data is being copied is mounted.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DUPTAP.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DUPTAP.FROMSEQNBR"></a>
<h3>From sequence number (FROMSEQNBR)</h3>
<p>Specifies which data file sequence numbers are to be copied.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b>*ALL</b></dt>
<dd>All files are duplicated.
</dd>
</dl>
<p><b>Element 1: Starting file sequence number</b>
</p>
<dl>
<dt><b><u>*FIRST</u></b></dt>
<dd>All files starting with the first file sequence are duplicated.
</dd>
<dt><b><i>1-16777215</i></b></dt>
<dd>Specify the starting file sequence number to be duplicated. Only the files in the specified sequence number range are duplicated.
</dd>
</dl>
<p><b>Element 2: Ending file sequence number</b>
</p>
<dl>
<dt><b><u>*LAST</u></b></dt>
<dd>All files ending with the last file sequence are duplicated.
</dd>
<dt><b>*ONLY</b></dt>
<dd>Only the file specified in the starting file sequence is duplicated.
</dd>
<dt><b><i>1-16777215</i></b></dt>
<dd>Specify the ending file sequence number of the range to be duplicated.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DUPTAP.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DUPTAP.TOSEQNBR"></a>
<h3>To sequence number (TOSEQNBR)</h3>
<p>Specifies which sequence number the data files are to be copied to.
</p>
<dl>
<dt><b><u>*FROMSEQ</u></b></dt>
<dd>The data files are duplicated to the same file sequences as are specified in the from-file sequence number parameter.
</dd>
<dt><b>*END</b></dt>
<dd>The data files are added to the logical end of tape. The next valid sequence number is used.
</dd>
<dt><b><i>1-16777215</i></b></dt>
<dd>Specify the sequence number in which the data file will be copied to. This value is not allowed if the device does not have overwriting capabilities and the value specified is not the next logical value to be used at the end of the logical tape volume. The duplication begins at the specified file.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DUPTAP.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DUPTAP.FROMVOL"></a>
<h3>From volume identifier (FROMVOL)</h3>
<p>Specifies the volume identifier of the tape being duplicated.
</p>
<p>
<b>Note: </b>If the device specified is a media library device, or a virtual tape device, then the volume specified should be the cartridge identifier or virtual tape volume name to be mounted and used.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*MOUNTED</u></b></dt>
<dd>Any labeled or unlabeled volume placed on the tape device specified on the <b>From device (FROMDEV)</b> parameter is duplicated. For a tape media library device, the volume to be used is the next cartridge in the category mounted by the Set Tape Category (SETTAPCGY) command. For a virtual tape device, the volume to be used is the currently mounted one, or if there is not a currently mounted volume, the next volume in loaded status in the image catalog will be used.
</dd>
</dl>
<p><b>Other values (up to 300 repetitions)</b>
</p>
<dl>
<dt><b><i>character-value</i></b></dt>
<dd>Specify the identifier of the labeled volume being duplicated.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DUPTAP.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DUPTAP.TOVOL"></a>
<h3>To volume identifier (TOVOL)</h3>
<p>Specifies the volume identifiers of the tapes to which data is being copied.
</p>
<p>
<b>Note: </b>If the device specified is a media library device, or a virtual tape device, then the volume specified should be the cartridge identifier or virtual tape volume name to be mounted and used.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*MOUNTED</u></b></dt>
<dd>The volume currently placed in the device is used. For a media library device, the volume to be used is the next cartridge in the category mounted by the Set Tape Category (SETTAPCGY) command. For a virtual tape device, the volume to be used is the currently mounted one, or if there is not a currently mounted volume, the next volume in loaded status in the image catalog will be used.
</dd>
<dt><b>*FROMVOL</b></dt>
<dd>The volume label of the tape placed in the device specified on the <b>From device (FROMDEV)</b> parameter is used to initialize the tape placed in the device specified on the <b>To device (TODEV)</b> parameter. Up to eight additional volume labels and nine user volume labels are duplicated. This value is not supported for tape media libary devices and virtual tape devices.
</dd>
</dl>
<p><b>Other values (up to 300 repetitions)</b>
</p>
<dl>
<dt><b><i>character-value</i></b></dt>
<dd>Specify the volume identifier of the tapes to which data is being copied. At the end of volume time, you are able to reinitialize the tape using this volume identifier. If the volume contains the correct volume identifier but is in the wrong code or density, the tape is reinitialized to the correct code and density. The volume identifier is saved.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DUPTAP.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DUPTAP.TODENSITY"></a>
<h3>Tape density (TODENSITY)</h3>
<p>Specifies the density or format in which the copied data is written.
</p>
<dl>
<dt><b><u>*DEVTYPE</u></b></dt>
<dd>The highest capacity density or format supported by the tape device will be used.
</dd>
</dl>
<dl>
<dt><b></b></dt>
<dd>
<dl>
<dt><b>Device</b></dt>
<dd><b> Highest capacity density or format
</b></dd>
<dt><b>3480</b></dt>
<dd>*FMT3480
</dd>
<dt><b>3490E</b></dt>
<dd>*FMT3490E
</dd>
<dt><b>3570-Bxx</b></dt>
<dd>*FMT3570
</dd>
<dt><b>3570-Cxx</b></dt>
<dd>*FMT3570E
</dd>
<dt><b>3580-001</b></dt>
<dd>*ULTRIUM1
</dd>
<dt><b>3580-002</b></dt>
<dd>*ULTRIUM2
</dd>
<dt><b>3580-003</b></dt>
<dd>*ULTRIUM3
</dd>
<dt><b>3590-Bxx</b></dt>
<dd>*FMT3590
</dd>
<dt><b>3590-Exx</b></dt>
<dd>*FMT3590E
</dd>
<dt><b>3590-Hxx</b></dt>
<dd>*FMT3590H
</dd>
<dt><b>3592-J1A</b></dt>
<dd>*FMT3592A1
</dd>
<dt><b>4685-001</b></dt>
<dd>*VXA2
</dd>
<dt><b>6335</b></dt>
<dd>*QIC3040
</dd>
<dt><b>6343</b></dt>
<dd>*QIC1000
</dd>
<dt><b>6344</b></dt>
<dd>*QIC2GB
</dd>
<dt><b>6348</b></dt>
<dd>*QIC1000
</dd>
<dt><b>6349</b></dt>
<dd>*QIC2GB
</dd>
<dt><b>6368</b></dt>
<dd>*QIC1000
</dd>
<dt><b>6369</b></dt>
<dd>*QIC2GB
</dd>
<dt><b>6379</b></dt>
<dd>*QIC1000
</dd>
<dt><b>6380</b></dt>
<dd>*QIC2GB
</dd>
<dt><b>6381</b></dt>
<dd>*QIC2DC
</dd>
<dt><b>6382</b></dt>
<dd>*QIC4DC
</dd>
<dt><b>6383</b></dt>
<dd>*QIC5010
</dd>
<dt><b>6384</b></dt>
<dd>*SLR60
</dd>
<dt><b>6385</b></dt>
<dd>*QIC5010
</dd>
<dt><b>6386</b></dt>
<dd>*MLR3
</dd>
<dt><b>6387</b></dt>
<dd>*SLR100
</dd>
<dt><b>6390</b></dt>
<dd>*FMT7GB
</dd>
<dt><b>63B0</b></dt>
<dd>*VRT256K
</dd>
<dt><b>7207-122</b></dt>
<dd>*QIC4DC
</dd>
<dt><b>7208-002</b></dt>
<dd>*FMT2GB
</dd>
<dt><b>7208-012</b></dt>
<dd>*FMT5GB
</dd>
<dt><b>7208-222</b></dt>
<dd>*FMT7GB
</dd>
<dt><b>7208-342</b></dt>
<dd>*FMT20GB
</dd>
<dt><b>7208-345</b></dt>
<dd>*FMT60GB
</dd>
<dt><b>9348</b></dt>
<dd>6250
</dd>
</dl>
</dd>
<dt><b>*CTGTYPE</b></dt>
<dd>The highest capacity density or format supported by the device for the mounted cartridge type will be used. If the device does not support special cartridge type information, *DEVTYPE is used.
</dd>
<dt><b><i>character-value</i></b></dt>
<dd>Specify the density or format to use.
<dl>
<dt><b>1600</b></dt>
<dd>The data density on the tape volume is 1,600 bits per inch, which is used for 1/2 inch reel tapes.
</dd>
<dt><b>3200</b></dt>
<dd>The data density on the tape volume is 3,200 bits per inch, which is used for 1/2 inch reel tapes.
</dd>
<dt><b>6250</b></dt>
<dd>The data density on the tape volume is 6,250 bits per inch, which is used for 1/2 inch reel tapes.
</dd>
<dt><b>*FMT3480</b></dt>
<dd>The format of this tape is FMT3480. The data density on this tape volume is formatted to support a 3480 device. This density is used for 1/2 inch cartridge tapes.
</dd>
<dt><b>*FMT3490E</b></dt>
<dd>The format of this tape is FMT3490E. The data density on this tape volume is formatted to support a 3490E device. This density is used for 1/2 inch cartridge tapes.
</dd>
<dt><b>*FMT3570</b></dt>
<dd>The format of this tape is FMT3570. The data format is written on the tape volume with a 3570 device.
</dd>
<dt><b>*FMT3570E</b></dt>
<dd>The format of this tape is FMT3570E. The data format is written on the tape volume with a 3570E device.
</dd>
<dt><b>*FMT3590</b></dt>
<dd>The format of this tape is FMT3590. The data format is written on the tape volume with a 3590 device. This density is used for 1/2 inch cartridge tapes.
</dd>
<dt><b>*FMT3590E</b></dt>
<dd>The format of this tape is FMT3590E. The data format is written on the tape volume with a 3590E device. This density is used for 1/2 inch cartridge tapes.
</dd>
<dt><b>*FMT3590H</b></dt>
<dd>The format of this tape is FMT3590H. The data format is written on the tape volume with a 3590H device. This density is used for 1/2 inch cartridge tapes.
</dd>
<dt><b>*FMT3592A1</b></dt>
<dd>The format of this tape is FMT3592A1. The data format is written on the tape volume with a 3592 device. This density is used for 1/2 inch cartridge tapes.
</dd>
<dt><b>*QIC120</b></dt>
<dd>The format of this tape is QIC120, which is used for 1/4 inch cartridge tapes that can hold 120 megabytes of data.
</dd>
<dt><b>*QIC525</b></dt>
<dd>The format of this tape is QIC525, which is used for 1/4 inch cartridge tapes that can hold 525 megabytes of data.
</dd>
<dt><b>*QIC1000</b></dt>
<dd>The format of this tape is QIC1000, which is used for 1/4 inch cartridge tapes that can hold 1200 megabytes of data.
</dd>
<dt><b>*QIC2GB</b></dt>
<dd>The format of this tape is QIC2GB. It is used by 1/4 inch tape devices which can store 2.5 gigabytes of data on a standard length QIC2GB cartridge.
</dd>
<dt><b>*QIC2DC</b></dt>
<dd>The format of this tape is QIC2DC. It is used to write compacted data to a 1/4 inch cartridge that supports the QIC2GB format.
</dd>
<dt><b>*QIC4GB</b></dt>
<dd>The format of this tape is QIC4GB. It is used by 1/4 inch tape devices which can store 4 gigabytes of data on a standard length QIC4GB cartridge.
</dd>
<dt><b>*QIC4DC</b></dt>
<dd>The format of this tape is QIC4DC. It is used to write compacted data to a 1/4 inch cartridge that supports the QIC4GB format.
</dd>
<dt><b>*QIC3040</b></dt>
<dd>The format of this tape is QIC3040, which is used for 1/4 inch minicartridge tapes that can hold 840 megabytes of data.
</dd>
<dt><b>*QIC5010</b></dt>
<dd>The format of this tape is QIC5010, which is used for 1/4 inch cartridge tapes that can hold 13.5 gigabytes of data.
</dd>
<dt><b>*MLR3</b></dt>
<dd>The format of this tape is MLR3. It is used by 1/4 inch tape devices which can store 25 gigabytes of data on a standard length MLR3 cartridge.
</dd>
<dt><b>*SLR60</b></dt>
<dd>The format of this tape is SLR60. It is used by 1/4 inch tape devices which can typically store 60 gigabytes of compacted data on a standard length SLR60 cartridge.
</dd>
<dt><b>*SLR100</b></dt>
<dd>The format of this tape is SLR100. It is used by 1/4 inch tape devices which can typically store 100 gigabytes of compacted data on a standard length SLR100 cartridge.
</dd>
<dt><b>*FMT2GB</b></dt>
<dd>The format of this tape is FMT2GB, which is used for 8 millimeter cartridge tapes that can hold 2 gigabytes of data.
</dd>
<dt><b>*FMT5GB</b></dt>
<dd>The format of this tape is FMT5GB, which is used for 8 millimeter cartridge tapes that can hold 5 gigabytes of data.
</dd>
<dt><b>*FMT7GB</b></dt>
<dd>The format of this tape is FMT7GB, which is used for 8 millimeter cartridge tapes that can hold 7 gigabytes of data.
</dd>
<dt><b>*FMT20GB</b></dt>
<dd>The format of this tape is FMT20GB. It is used by 8 millimeter tape devices that can store 20 gigabytes of data on a standard length cartridge.
</dd>
<dt><b>*FMT60GB</b></dt>
<dd>The format of this tape is FMT60GB. It is used by 8 millimeter tape devices that can store 60 gigabytes of data on a standard length cartridge.
</dd>
<dt><b>*ULTRIUM1</b></dt>
<dd>The format of this tape is ULTRIUM1. It is used by 1/2 inch cartridge tape devices that can store 100 gigabytes of data on a standard length cartridge.
</dd>
<dt><b>*ULTRIUM2</b></dt>
<dd>The format of this tape is ULTRIUM2. It is used by 1/2 inch cartridge tape devices that can store 200 gigabytes of data on a standard length cartridge.
</dd>
<dt><b>*ULTRIUM3</b></dt>
<dd>The format of this tape is ULTRIUM3. It is used by 1/2 inch cartridge tape devices that can store 400 gigabytes of data on a standard length cartridge.
</dd>
<dt><b>*VRT32K</b></dt>
<dd>The format of the volume is VRT32K. It is used to write data to a virtual volume using a maximum data block size of 32KB. Volumes written using this format can be duplicated to all supported tape devices.
</dd>
<dt><b>*VRT64K</b></dt>
<dd>The format of the volume is VRT64K. It is used to write data to a virtual volume using a maximum data block size of 64KB. Volumes written using this format can only be duplicated to tape devices that support a maximum block size of 64KB or greater.
</dd>
<dt><b>*VRT240K</b></dt>
<dd>The format of the volume is VRT240K. It is used to write data to a virtual volume using a maximum data block size of 240KB. Volumes written using this format can only be duplicated to tape devices that support a maximum block size of 240KB or greater.
</dd>
<dt><b>*VRT256K</b></dt>
<dd>The format of the volume is VRT256K. It is used to write data to a virtual volume using a maximum data block size of 256KB. Volumes written using this format can only be duplicated to tape devices that support a maximum block size of 256KB or greater.
</dd>
<dt><b>*VXA1</b></dt>
<dd>The format of this tape is VXA1. It is used by VXA cartridge tape devices that can store 33 gigabytes of data on a standard length cartridge.
</dd>
<dt><b>*VXA2</b></dt>
<dd>The format of this tape is VXA2. It is used by VXA cartridge tape devices that can store 80 gigabytes of data on a standard length cartridge.
</dd>
</dl>
<p>
<b>Note: </b>Self-configured tape devices may define additional valid values for the density parameter. Use iSeries Navigator (Configuration and Service) (Hardware) (Tape Devices) (Tape Libraries) (Tape Resources) (Properties) or (Configuration and Service)(Hardware) (Tape Devices) (Stand-Alone Devices) (Properties) to find additional valid density values for a specific device, or use the F4=Prompt key on the "Tape density" field of the CL command to see a list of all valid density values for the attached tape devices.
</p>
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DUPTAP.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DUPTAP.COMPACT"></a>
<h3>Data compaction (COMPACT)</h3>
<p>Specifies whether device data compaction is performed. If the device specified does not support compaction, this parameter is ignored.
</p>
<dl>
<dt><b><u>*FROMFILE</u></b></dt>
<dd>Device data compaction is performed only if the file being read from the device specified on the <b>From device (FROMDEV)</b> parameter was written using device data compaction.
</dd>
<dt><b>*YES</b></dt>
<dd>Device data compaction is performed on all files written to the device specified on the <b>To device (TODEV)</b> parameter.
</dd>
<dt><b>*NO</b></dt>
<dd>Device data compaction is not performed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DUPTAP.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DUPTAP.FILES"></a>
<h3>Files to duplicate (FILES)</h3>
<p>Specifies whether expired data files are copied from the tape volume placed in the device specified on the <b>From device (FROMDEV)</b> parameter to the tape volume placed on the device specified on the <b>To device (TODEV)</b> parameter.
</p>
<dl>
<dt><b><u>*ALL</u></b></dt>
<dd>All data files on the tape volume are copied. All existing file sequence numbers are saved.
</dd>
<dt><b>*ACTIVE</b></dt>
<dd>Only data files with an expiration date later than the current system date are copied. Data files are renumbered consecutively, beginning with the number of the first file on the volume and omitting any files that have expired.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DUPTAP.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DUPTAP.USRLBLPGM"></a>
<h3>User label program (USRLBLPGM)</h3>
<p>Specifies the name and library of the user program that processes user tape labels. For the device specified on the <b>To device (TODEV)</b> parameter, the user label program sends the user labels that are written to tape. For the device specified on the <b>From device (FROMDEV)</b> parameter, the user labels are sent to the user label program.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*SYSCOPY</u></b></dt>
<dd>User tape labels are processed to allow proper duplication of System/36 save and restore tapes. If user header labels are present on the tape volume specified on the FROMDEV parameter, they are copied to the tape volume specified on the TODEV parameter. The same is done for the user trailer labels at the end of the file or for the trailer labels at the end of the file section.
<p>If an end-of-volume condition occurs on the device specified on the TODEV parameter before logical end-of-tape is found on the device specified on the FROMDEV parameter, user trailer and user header labels are created and written to the current and next tape volumes that replicate the data from the user header label read at the beginning of the file.
</p>
</dd>
<dt><b>*NONE</b></dt>
<dd>No user program processes user tape labels. No user labels are written to the tape volume.
</dd>
</dl>
<p><b>Qualifier 1: User label program</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the user program that processes the user tape labels.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the library list for the current thread are searched until the first match is found.
</dd>
</dl>
<dl>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the job is used to locate the user label program. If no library is specified as the current library for the job, QGPL is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library where the user label program is located.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DUPTAP.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DUPTAP.FROMENDOPT"></a>
<h3>From device end option (FROMENDOPT)</h3>
<p>Specifies whether the tape volume placed on the device specified on the <b>From device (FROMDEV)</b> parameter is rewound, or rewound and unloaded after the operation is completed.
</p>
<dl>
</dl>
<dl>
<dt><b><u>*REWIND</u></b></dt>
<dd>The tape is automatically rewound, but not unloaded, after the operation has ended.
</dd>
</dl>
<dl>
</dl>
<dl>
<dt><b>*UNLOAD</b></dt>
<dd>The tape is automatically rewound and unloaded after the operation ends.
</dd>
</dl>
<dl>
<dt><b>*LEAVE</b></dt>
<dd>The tape does not rewind or unload after the operation ends. It remains at the current position on the tape drive.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DUPTAP.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DUPTAP.TOENDOPT"></a>
<h3>To device end option (TOENDOPT)</h3>
<p>Specifies whether the tape volume placed on the device specified on the <b>To device (TODEV)</b> parameter is rewound, or rewound and unloaded after the operation is completed.
</p>
<dl>
<dt><b><u>*UNLOAD</u></b></dt>
<dd>The tape is rewound and unloaded after the operation is completed.
</dd>
</dl>
<dl>
<dt><b>*REWIND</b></dt>
<dd>The tape is rewound, but not unloaded.
</dd>
</dl>
<dl>
<dt><b>*LEAVE</b></dt>
<dd>The tape does not rewind or unload after the operation ends. It remains at the current position on the tape drive.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DUPTAP.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DUPTAP.CHECK"></a>
<h3>Check for active files (CHECK)</h3>
<p>Specifies whether a tape file on the volume mounted on the <b>To device (TODEV)</b> parameter is checked for active data before it is overwritten. If an unlabeled volume is on the <b>To device</b>, this parameter is ignored.
</p>
<dl>
<dt><b><u>*YES</u></b></dt>
<dd>The file to be overwritten is checked for active data. Only the first file to be overwritten is checked for active data, any subsequent files are not checked. If active files are found, the operation is ended and an error message is sent.
</dd>
<dt><b>*NO</b></dt>
<dd>Tape duplication continues with no checking for active files.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DUPTAP.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DUPTAP.EXPDATE"></a>
<h3>File expiration date (EXPDATE)</h3>
<p>Specifies the expiration date to be assigned to all the files when they are copied. This parameter only applies to standard labeled tapes.
</p>
<dl>
<dt><b><u>*FROMFILE</u></b></dt>
<dd>The expiration date currently specified for the file to be copied is used.
</dd>
<dt><b>*PERM</b></dt>
<dd>All the copied files will be assigned a permanent expiration date.
</dd>
<dt><b><i>date</i></b></dt>
<dd>Specify the expiration date to be assigned to all the files when they are copied.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DUPTAP.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="DUPTAP.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Duplicating a Single Volume to a Single Volume</b>
</p>
<p>
<pre>
DUPTAP FROMDEV(TAPE01) TODEV(TAPE02)
</pre>
</p>
<p>This command duplicates the tape volume mounted on device TAPE01 onto the tape volume mounted on device TAPE02.
</p>
<p><b>Example 2: Appending a Volume Set to the End of a Single Volume</b>
</p>
<p>
<pre>
DUPTAP FROMDEV(TAPE01) TODEV(TAPE02) FROMVOL( VOL001 VOL002)
TOVOL(VOLABC) FROMSEQNBR(*ALL) TOSEQNBR(*END)
</pre>
</p>
<p>This command duplicates all files from the tape volumes VOL001 and VOL002 onto the end of the to-volume VOLABC on device TAPE02.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#DUPTAP.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="DUPTAP.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF516D</b></dt>
<dd>Data overwrite not allowed.
</dd>
<dt><b>CPF67E6</b></dt>
<dd>Volume &amp;2 is not correct
</dd>
<dt><b>CPF67FA</b></dt>
<dd>Volume compatibility not correct.
</dd>
<dt><b>CPF67FD</b></dt>
<dd>File sequence number &amp;3 not correct for volume &amp;2.
</dd>
<dt><b>CPF67FE</b></dt>
<dd>No files found on volume &amp;2.
</dd>
<dt><b>CPF67F7</b></dt>
<dd>Continuation volume cannot be duplicated.
</dd>
<dt><b>CPF67F8</b></dt>
<dd>TOSEQNBR not correct on volume &amp;2.
</dd>
<dt><b>CPF6708</b></dt>
<dd>Command ended due to error.
</dd>
<dt><b>CPF671C</b></dt>
<dd>Not all files duplicated to device &amp;2.
</dd>
<dt><b>CPF6714</b></dt>
<dd>TOVOL(*FROMVOL) not correct.
</dd>
<dt><b>CPF6718</b></dt>
<dd>Cannot allocate device &amp;1.
</dd>
<dt><b>CPF6720</b></dt>
<dd>Incorrect volume &amp;2 found on device &amp;1.
</dd>
<dt><b>CPF6721</b></dt>
<dd>Device &amp;1 not a tape device.
</dd>
<dt><b>CPF6722</b></dt>
<dd>End of tape found on device &amp;1.
</dd>
<dt><b>CPF6725</b></dt>
<dd>Ending file sequence number less than starting sequence number.
</dd>
<dt><b>CPF6734</b></dt>
<dd>File sequence number &amp;3 not found on volume &amp;2.
</dd>
<dt><b>CPF6740</b></dt>
<dd>TODEV and FROMDEV must be different.
</dd>
<dt><b>CPF6751</b></dt>
<dd>Load failure occurred on device &amp;4.
</dd>
<dt><b>CPF6754</b></dt>
<dd>Active file &amp;4 found on volume &amp;2.
</dd>
<dt><b>CPF676B</b></dt>
<dd>Volume on device &amp;4 is write protected.
</dd>
<dt><b>CPF6760</b></dt>
<dd>Device &amp;1 not ready.
</dd>
<dt><b>CPF6761</b></dt>
<dd>Labels not found while processing file.
</dd>
<dt><b>CPF6768</b></dt>
<dd>Volume on device &amp;1 is write protected.
</dd>
<dt><b>CPF6772</b></dt>
<dd>Volume on device &amp;1 cannot be processed.
</dd>
<dt><b>CPF9814</b></dt>
<dd>Device &amp;1 not found.
</dd>
<dt><b>CPF9825</b></dt>
<dd>Not authorized to device &amp;1.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DUPTAP.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>