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

410 lines
16 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>Start Migration using BRM (STRMGRBRM)</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="STRMGRBRM.Top_Of_Page"></a>
<h2>Start Migration using BRM (STRMGRBRM)</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="#STRMGRBRM.PARAMETERS.TABLE">Parameters</a><br>
<a href="#STRMGRBRM.COMMAND.EXAMPLES">Examples</a><br>
<a href="#STRMGRBRM.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="STRMGRBRM"></a>
<p>The Start Migration using BRM (STRMGRBRM) command allows you to specify a migration control group to process. You can start the migration immediately or you can schedule it using the system job scheduler. Processing can be batch or interactive.
</p>
<p>The default for the OPTION parameter is *REPORT, which produces the Migration Item Candidate report. This allows you to process a report and review what will be migrated prior to performing the migration operation. To perform a migration for the items in the Migration Item Candidate report created by the *REPORT option or to restart a migration that was interrupted for some reason, you can specify the special value *RESUME.
</p>
<p>Each time you process the STRMGRBRM command using either the *REPORT or *MIGRATE special values, BRMS creates a migration candidate file for the items in the control group. This file contains information about the items in the control group at the time that you processed the STRMGRBRM command, as well as information about auxiliary storage pool sizes and utilization. The migration candidate file that you created is used for producing candidate reports and performing migration operations for the control group. If you specify *RESUME for a control group, the migration candidate file that was created for the control group when you processed the STRMGRBRM command is used. A new migration candidate file is not created when you specify *RESUME, even though items in the control group or auxiliary storage pool characteristics may have changed.
</p>
<p>To use this command, you must have the Backup Recovery and Media Services for iSeries, 5722-BR1, licensed program installed.
</p>
<p><b>Restrictions: </b>
</p>
<ol>
<li>The BRMS Advanced feature (Option 2) is required to use this command.
</li>
<li>If you use the special value *EXIT in a migration control group and the resulting processing modifies the characteristics of either the control group items or auxiliary storage pool characteristics, BRMS does not record the changes in the resulting migration candidate file. You should consider not using the *EXIT special value in migration control groups if the resulting processing alters item or auxiliary storage pool characteristics.
</li>
<li>The migration candidate list that is created as a result of processing a control group using either the *REPORT or *MIGRATE special values is not associated with a job or user id, only the name of the control group. If Job A processes a migration control group and Job B subsequently processes the same migration control group, the migration candidate list created for Job A will be overwritten by the migration candidate list created for Job B. If you want to resume a migration control group using the *RESUME special value, the migration candidate list created for Job B is the list that would be available for the resume operation, even if Job A was the job that was interrupted.
</li>
<li>This command should not be used by control group *EXIT item processing as results will be unpredictable.
</li>
</ol>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRMGRBRM.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="STRMGRBRM.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="#STRMGRBRM.CTLGRP"><b>CTLGRP</b></a></td>
<td valign="top">Control group</td>
<td valign="top"><i>Name</i>, *MGRGRP</td>
<td valign="top">Required, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#STRMGRBRM.OPTION"><b>OPTION</b></a></td>
<td valign="top">Run option</td>
<td valign="top"><b><u>*REPORT</u></b>, *MIGRATE, *RESUME</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#STRMGRBRM.SCDTIME"><b>SCDTIME</b></a></td>
<td valign="top">Schedule time</td>
<td valign="top"><i>Element list</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Element 1: Beginning time</td>
<td valign="top">
<i>Character value</i>, <b><u>*IMMED</u></b></td>
</tr>
<tr>
<td valign="top">Element 2: Ending time</td>
<td valign="top">
<i>Character value</i>, <b><u>*NONE</u></b></td>
</tr>
<tr>
<td valign="top"><a href="#STRMGRBRM.SBMJOB"><b>SBMJOB</b></a></td>
<td valign="top">Submit to batch</td>
<td valign="top"><b><u>*YES</u></b>, *CONSOLE, *NO</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#STRMGRBRM.JOBD"><b>JOBD</b></a></td>
<td valign="top">Job description</td>
<td valign="top">Single values: <b><u>*USRPRF</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: Job description</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" rowspan="3"><a href="#STRMGRBRM.JOBQ"><b>JOBQ</b></a></td>
<td valign="top">Job queue</td>
<td valign="top">Single values: <b><u>*JOBD</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: Job queue</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="#STRMGRBRM.ENDINTJOB"><b>ENDINTJOB</b></a></td>
<td valign="top">End interactive jobs</td>
<td valign="top"><b><u>*SYSPCY</u></b>, *NO, *YES</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#STRMGRBRM.DELAY"><b>DELAY</b></a></td>
<td valign="top">Delay</td>
<td valign="top">0-999, <b><u>*SYSPCY</u></b></td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#STRMGRBRM.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="STRMGRBRM.CTLGRP"></a>
<h3>Control group (CTLGRP)</h3>
<p>Specifies the name of the control group that you want to to migrate.
</p>
<p>This is a required field.
</p>
<dl>
<dt><b>*MGRGRP</b></dt>
<dd>The default migration control group is processed. The default migration control group is created by BRMS at installation.
</dd>
<dt><b><i>control-group-name</i></b></dt>
<dd>Specify the name of the migration control group, that you want to process.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRMGRBRM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="STRMGRBRM.OPTION"></a>
<h3>Run option (OPTION)</h3>
<p>Specifies whether you want to produce a report of migration candidates or process the control group.
</p>
<p>
<b>Note: </b>You should always run a report of migration candidates (*REPORT option) prior to processing the actual migration. The special value *EXIT is not processed when using the *REPORT option.
</p>
<dl>
<dt><b><u>*REPORT</u></b></dt>
<dd>You want to produce the Migration Item Candidate report. The printer file the report is written to is QP1AHC.
</dd>
<dt><b>*MIGRATE</b></dt>
<dd>You want to process a migration control group based on the migration plan.
</dd>
<dt><b>*RESUME</b></dt>
<dd>You want to resume processing a migration control group. The migration will use the last migration report generated for this control group.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRMGRBRM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="STRMGRBRM.SCDTIME"></a>
<h3>Schedule time (SCDTIME)</h3>
<p>Specifies the time that you want BRMS to begin and end processing items in the migration control group. The beginning time is the time expressed in 24 hour format that you want the migration processing to begin. The ending time determines when you want migration processing to end. The migration process will not end in the middle of processing a migration item.
</p>
<p>
<b>Note: </b>If the time that you specify for the beginning time is earlier than the current time, processing is delayed until the next day. Likewise the ending time specified will be moved to the next day.
</p>
<p>
<b>Note: </b>Leading zeroes must be used when indicating hour and/or minute values less than 10. The use of a time separator is not supported.
</p>
<p><b>Element 1: Beginning time </b>
</p>
<dl>
<dt><b><u>*IMMED</u></b></dt>
<dd>You want to start migration control group processing immediately.
</dd>
<dt><b><i>begin-time</i></b></dt>
<dd>Specify the time in hour and minutes that you want the migration to begin. The time is expressed in 24 hour clock format 'hhmm'.
</dd>
</dl>
<p><b>Element 2: Ending time </b>
</p>
<dl>
<dt><b><u>*NONE</u></b></dt>
<dd>The migration process continues until it ends, regardless of how long it takes.
</dd>
<dt><b><i>ending-time</i></b></dt>
<dd>Specify the time that you want to conclude the migration process. The process will not end until it has completed processing the item that it is currently processing when the ending time is reached.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRMGRBRM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="STRMGRBRM.SBMJOB"></a>
<h3>Submit to batch (SBMJOB)</h3>
<p>Specifies how you want to process the selected control group.
</p>
<dl>
<dt><b><u>*YES</u></b></dt>
<dd>Submits the processing of the control group to batch. The job is dependent on the job queue and job description specified as subsequent parameters.
</dd>
<dt><b>*CONSOLE</b></dt>
<dd>Transfers the processing of the control group to the system console. This special value is used with the console monitoring function in BRMS.
</dd>
<dt><b>*NO</b></dt>
<dd>Performs the processing of the control group within the current job.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRMGRBRM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="STRMGRBRM.JOBD"></a>
<h3>Job description (JOBD)</h3>
<p>Specifies the job description to be used with this job if SBMJOB(*YES) is specified.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*USRPRF</u></b></dt>
<dd>The job description in the user profile under which the submitted job runs is used as the job description of the submitted job.
</dd>
</dl>
<p><b>Qualifier 1: Job description </b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the job description used for the job.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>The library list is used to locate the job description.
</dd>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the job is used to locate the job description. 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 job description is located.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRMGRBRM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="STRMGRBRM.JOBQ"></a>
<h3>Job queue (JOBQ)</h3>
<p>Specifies the job queue to use if SBMJOB(*YES) is specified.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*JOBD</u></b></dt>
<dd>The submitted job is placed on the job queue named in the specified job description.
</dd>
</dl>
<p><b>Qualifier 1: Job queue </b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the job queue on which the submitted job is placed.
</dd>
</dl>
<p><b>Qualifier 2: Library </b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>The library list is used to locate the job queue.
</dd>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the job is used to locate the job queue. 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 job queue is located.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRMGRBRM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="STRMGRBRM.ENDINTJOB"></a>
<h3>End interactive jobs (ENDINTJOB)</h3>
<p>Specifies whether BRMS should automatically notify active users that a migration process is about to occur and then sign them off. When *SYSPCY is specified, BRMS references the system policy to determine whether interactive users are to be notified and signed off.
</p>
<dl>
<dt><b><u>*SYSPCY</u></b></dt>
<dd>The value for sign off interactive users from the system policy is used for this migration process.
</dd>
<dt><b>*NO</b></dt>
<dd>You do not want BRMS to automatically sign off interactive users.
</dd>
<dt><b>*YES</b></dt>
<dd>You want BRMS to automatically sign off interactive users.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRMGRBRM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="STRMGRBRM.DELAY"></a>
<h3>Delay (DELAY)</h3>
<p>Specifies the maximum time limit in minutes that BRMS automatically notifies users prior to automatically signing off active users. The number of minutes can range from 0 to 999 minutes.
</p>
<p>Messages are sent using the following schedule:
</p>
<ul>
<li>Zero - send the message one time and then the user is signed off.
</li>
<li>1-10 - send the message every minute and then the user is signed off.
</li>
<li>11-60 - send the message every 2 minutes and then the user is signed off.
</li>
<li>61+ - send the message every 10 minutes and then the user is signed off.
</li>
</ul>
<dl>
<dt><b><u>*SYSPCY</u></b></dt>
<dd>The sign off limit value from the system policy is used for this migration process.
</dd>
<dt><b><i>number-of-minutes</i></b></dt>
<dd>Specify the number of minutes that will be the sign off limit for this migration process. The number of minutes can range from 0 to 999 minutes.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRMGRBRM.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="STRMGRBRM.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Producing a Report of Migration Candidates</b>
</p>
<p>
<pre>
STRMGRBRM CTLGRP(MGR01) SCDTIME(2000 0400)
</pre>
</p>
<p>This command starts migration operations, for items identified in control group MGR01, between the hours of 10:00 PM and 4:00 AM.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRMGRBRM.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="STRMGRBRM.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>BRM10A2</b></dt>
<dd>Control group &amp;1 type &amp;2 completed with errors.
</dd>
<dt><b>BRM1387</b></dt>
<dd>Error occurred processing exit command for control group &amp;1.
</dd>
<dt><b>BRM1820</b></dt>
<dd>Control group &amp;1 type &amp;2 ended abnormally.
</dd>
<dt><b>BRM1917</b></dt>
<dd>Feature not installed.
</dd>
<dt><b>BRM1921</b></dt>
<dd>Feature not licensed.
</dd>
<dt><b>BRM1955</b></dt>
<dd>Console monitor is not active.
</dd>
<dt><b>BRM1F27</b></dt>
<dd>Operation not allowed, resources not available.
</dd>
<dt><b>BRM2160</b></dt>
<dd>Migration for control group &amp;1 ended.
</dd>
<dt><b>BRM40A2</b></dt>
<dd>BRMS product initialization required.
</dd>
<dt><b>CPF3700</b></dt>
<dd>All CPF37xx messages could be signaled. xx is from 01 to FF.
</dd>
<dt><b>CPF3800</b></dt>
<dd>All CPF38xx messages could be signaled. xx is from 01 to FF.
</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="#STRMGRBRM.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>