207 lines
8.6 KiB
HTML
207 lines
8.6 KiB
HTML
|
|
<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<title>Print Media Movement (PRTMOVBRM)</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="PRTMOVBRM.Top_Of_Page"></a>
|
|
<h2>Print Media Movement (PRTMOVBRM)</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="#PRTMOVBRM.PARAMETERS.TABLE">Parameters</a><br>
|
|
<a href="#PRTMOVBRM.COMMAND.EXAMPLES">Examples</a><br>
|
|
<a href="#PRTMOVBRM.ERROR.MESSAGES">Error messages</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div> <a name="PRTMOVBRM"></a>
|
|
<p>The Print Media Movement (PRTMOVBRM) command prints the Media Movement report based on a specified date range, type of move that you request, locations and so on. The report shows all the volumes that have moved (or in the case of *NEXT, which volumes will move to a new location), the from and to locations, the move policy for each volume and the move date. The report, if printed, is written to printer file QP1APVMS.
|
|
</p>
|
|
<p>The Media Movement report can be used to report volumes that have already moved or can be used to report the next scheduled media movement for a volume. Reporting of next scheduled move is performed by selecting the *NEXT variable for the Type parameter.
|
|
</p>
|
|
<p>To use this command, you must have the Backup Recovery and Media Services for iSeries, 5722-BR1, licensed program installed.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#PRTMOVBRM.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
|
|
<div>
|
|
<h3><a name="PRTMOVBRM.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" rowspan="3"><a href="#PRTMOVBRM.SLTDATE"><b>SLTDATE</b></a></td>
|
|
<td valign="top">Select dates</td>
|
|
<td valign="top"><i>Element list</i></td>
|
|
<td valign="top" rowspan="3">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 1: From date</td>
|
|
<td valign="top">
|
|
<i>Character value</i>, <b><u>*BEGIN</u></b>, *CURRENT</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 2: To date</td>
|
|
<td valign="top">
|
|
<i>Character value</i>, <b><u>*CURRENT</u></b>, *END</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#PRTMOVBRM.TYPE"><b>TYPE</b></a></td>
|
|
<td valign="top">Type</td>
|
|
<td valign="top"><b><u>*ALL</u></b>, *NEXT, *NOTVFY, *VFY</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#PRTMOVBRM.LOC"><b>LOC</b></a></td>
|
|
<td valign="top">From location</td>
|
|
<td valign="top"><i>Name</i>, <b><u>*ALL</u></b>, *HOME</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#PRTMOVBRM.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</div>
|
|
<div> <a name="PRTMOVBRM.SLTDATE"></a>
|
|
<h3>Select dates (SLTDATE)</h3>
|
|
<p>Specifies a range of dates that you want to use when printing the Media Movement report. The <b>From date </b>is the beginning of a date range of media movement and the <b>To date </b>is the end of the date range.
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>Using this parameter, it is possible to enter a date with no separator, or a number of days which can be up to 5 digits in length. For instance, if you are using month/day/year format, the number 12904 would be formatted as January 29, 2004. If on the other hand, you entered a number 13904, BRMS assume that this is not a date, but rather is a number. BRMS always tries to calculate a calendar date first when a number is entered and then if the date it calculates is not valid, assumes that it is a number of days. If the number that is entered is over 5 digits and the date that it calculates is not valid, you receive an error message.
|
|
</p>
|
|
<p><b>Element 1: From date </b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*BEGIN</u></b></dt>
|
|
<dd>Uses the earliest activity date for the beginning date of the date range.
|
|
</dd>
|
|
<dt><b>*CURRENT</b></dt>
|
|
<dd>Use the current date for the beginning date of the date range.
|
|
</dd>
|
|
<dt><b><i>from-date</i></b></dt>
|
|
<dd>Specify the date entered in job date format with or without date separators for the beginning date of the date range.
|
|
</dd>
|
|
<dt><b><i>number-of-days</i></b></dt>
|
|
<dd>Specify the number of days before the current day that is used to determine the starting date of the date range.
|
|
<p>
|
|
<b>Note: </b>If you specify *NEXT in the <b>Type (TYPE)</b> parameter, the number of days <u> after </u> the current date is used to determine the startingdate of the date range.
|
|
</p>
|
|
</dd>
|
|
</dl>
|
|
<p><b>Element 2: To date </b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*CURRENT</u></b></dt>
|
|
<dd>Uses the current date for the ending date of the date range.
|
|
</dd>
|
|
<dt><b>*END</b></dt>
|
|
<dd>The last date that a media moves is the ending date of the date range that you want to use for the search.
|
|
</dd>
|
|
<dt><b><i>to-date</i></b></dt>
|
|
<dd>Specify the date in job date format with or without date separators that you want to be the ending date of the date range.
|
|
</dd>
|
|
<dt><b><i>number-of-days</i></b></dt>
|
|
<dd>Specify the number of days before the current day that is used to determine the ending date of the date range.
|
|
<p>
|
|
<b>Note: </b>If you specify *NEXT in the <b>Type (TYPE)</b> parameter, the number of days <u> after </u> the current date is used to determine the ending date of the date range.
|
|
</p>
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#PRTMOVBRM.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="PRTMOVBRM.TYPE"></a>
|
|
<h3>Type (TYPE)</h3>
|
|
<p>Specifies the type of media movement activity that you want to include in the report.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ALL</u></b></dt>
|
|
<dd>Includes all volumes that have ever been moved and shows the most recent media movement associated with each volume.
|
|
</dd>
|
|
<dt><b>*NEXT</b></dt>
|
|
<dd>Produces the Media Movement report for the next location that media will move to rather than completed moves. The *NEXT option will include all media movement to the next location. Ending dates should be future dates to assure that report results are meaningful for the date range selected.
|
|
</dd>
|
|
<dt><b>*NOTVFY</b></dt>
|
|
<dd>Includes only media waiting to be verified in the report for the date range selected.
|
|
</dd>
|
|
<dt><b>*VFY</b></dt>
|
|
<dd>Includes only verified media movement in the report for the date range selected. After this option has been used to report on media, the volumes that were selected in the specified date range do not appear in the report the next time the report is processed.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#PRTMOVBRM.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="PRTMOVBRM.LOC"></a>
|
|
<h3>From location (LOC)</h3>
|
|
<p>Specifies whether you want the Media Movement report to include a single location or all locations.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ALL</u></b></dt>
|
|
<dd>Includes all locations in the Media Movement report. Each from and to location movement that is reported will cause a page break, such as From Vault to *HOME would be one part of the report and *HOME to vault would page break and begin a new part of the report.
|
|
</dd>
|
|
<dt><b>*HOME</b></dt>
|
|
<dd>You want to include the home location (*HOME) in the Media Movement report.
|
|
</dd>
|
|
<dt><b><i>from-location-name</i></b></dt>
|
|
<dd>Specify the name of the location that you want to include in the Media Movement report.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#PRTMOVBRM.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="PRTMOVBRM.COMMAND.EXAMPLES">Examples</a> </h3>
|
|
<p><b>Example 1: Printing the Media Movement Report</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
PRTMOVBRM TYPE(*VFY) LOC(*HOME)
|
|
</pre>
|
|
</p>
|
|
<p>This command prints a report that includes media entries that have been verified (*VFY) and that are moving from the home location (*HOME).
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#PRTMOVBRM.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="PRTMOVBRM.ERROR.MESSAGES">Error messages</a> </h3>
|
|
<p><b><u>*ESCAPE Messages</u></b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>BRM4040</b></dt>
|
|
<dd>Access denied for user &1.
|
|
</dd>
|
|
<dt><b>BRM40A2</b></dt>
|
|
<dd>BRMS product initialization required.
|
|
</dd>
|
|
<dt><b>CPF9800</b></dt>
|
|
<dd>All CPF98xx messages could be signaled. xx is from 01 to FF.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#PRTMOVBRM.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</body>
|
|
</html>
|