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

725 lines
28 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>Add Media Information to BRM (ADDMEDIBRM)</title>
</head>
<body bgcolor="white">
<a name="ADDMEDIBRM.Top_Of_Page"></a>
<h2>Add Media Information to BRM (ADDMEDIBRM)</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="#ADDMEDIBRM.PARAMETERS.TABLE">Parameters</a><br>
<a href="#ADDMEDIBRM.COMMAND.EXAMPLES">Examples</a><br>
<a href="#ADDMEDIBRM.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="ADDMEDIBRM"></a>
<p>The Add Media Information to BRM (ADDMEDIBRM) command adds file level detail to the BRMS media inventory content volume information.
</p>
<p>The files, and the volumes that contain them can be from another tape inventory or from some other outside source.
</p>
<p>The purpose of the command is to allow user applications or another volume management system to insert data (volume file descriptions) into the BRMS media contents information so that the volumes and their contents can be managed.
</p>
<p>Multiple volumes will write a media information record for each volume with the volume sequence being increased as the records are added.
</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>You can only add media content information to an expired volume.
</li>
<li>This command adds records to the BRMS media content information file based on the information you supply, particularly in regard to file sequence, volume and so on. It is critical that you are careful to apply the correct information and have a full understanding of the command before you use it.
</li>
<li>The volume for which you are adding content information must exist in the media inventory and the volume, file sequence and volume sequence must be unique in the BRMS media inventory contents information.
</li>
<li>You can specify only one virtual tape device for the <b>Device (DEV)</b> parameter.
</li>
</ol>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDMEDIBRM.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="ADDMEDIBRM.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="#ADDMEDIBRM.VOL"><b>VOL</b></a></td>
<td valign="top">Volume</td>
<td valign="top">Values (up to 300 repetitions): <i>Character value</i></td>
<td valign="top">Required, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#ADDMEDIBRM.VOLSEQ"><b>VOLSEQ</b></a></td>
<td valign="top">Volume sequence</td>
<td valign="top">1-9999</td>
<td valign="top">Required, Positional 2</td>
</tr>
<tr>
<td valign="top"><a href="#ADDMEDIBRM.SEQNBR"><b>SEQNBR</b></a></td>
<td valign="top">Sequence number</td>
<td valign="top">1-16777215</td>
<td valign="top">Required, Positional 3</td>
</tr>
<tr>
<td valign="top"><a href="#ADDMEDIBRM.LABEL"><b>LABEL</b></a></td>
<td valign="top">File label</td>
<td valign="top"><i>Character value</i>, <b><u>*TYPE</u></b></td>
<td valign="top">Optional, Positional 4</td>
</tr>
<tr>
<td valign="top"><a href="#ADDMEDIBRM.TYPE"><b>TYPE</b></a></td>
<td valign="top">Type</td>
<td valign="top"><b><u>*LIB</u></b>, *ALLDLO, *LINK, *QHST, *SAVCFG, *SAVSECDTA, *SAVSYS</td>
<td valign="top">Optional, Positional 5</td>
</tr>
<tr>
<td valign="top"><a href="#ADDMEDIBRM.LIB"><b>LIB</b></a></td>
<td valign="top">Library</td>
<td valign="top"><i>Name</i></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#ADDMEDIBRM.LNKLIST"><b>LNKLIST</b></a></td>
<td valign="top">Link list</td>
<td valign="top"><i>Name</i>, *LINK</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#ADDMEDIBRM.FILE"><b>FILE</b></a></td>
<td valign="top">File origin</td>
<td valign="top"><b><u>*FILE</u></b>, *SAV, *SAVCFG, *SAVCHG, *SAVCHGOBJ, *SAVCHGDLO, *SAVDLO, *SAVLIB, *SAVOBJ, *SAVSECDTA, *SAVSYS</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#ADDMEDIBRM.INCTYPE"><b>INCTYPE</b></a></td>
<td valign="top">Incremental type</td>
<td valign="top"><b><u>*CUML</u></b>, *INCR</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#ADDMEDIBRM.CRTDATE"><b>CRTDATE</b></a></td>
<td valign="top">Entry date</td>
<td valign="top"><i>Date</i>, <b><u>*CURRENT</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#ADDMEDIBRM.CRTTIME"><b>CRTTIME</b></a></td>
<td valign="top">Entry time</td>
<td valign="top"><i>Time</i>, <b><u>*CURRENT</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#ADDMEDIBRM.EXPDATE"><b>EXPDATE</b></a></td>
<td valign="top">Expiration date</td>
<td valign="top"><i>Character value</i>, <b><u>*PERM</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#ADDMEDIBRM.DEV"><b>DEV</b></a></td>
<td valign="top">Device</td>
<td valign="top">Single values: <b><u>*NONE</u></b><br>Other values (up to 4 repetitions): <i>Name</i></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#ADDMEDIBRM.STRVOL"><b>STRVOL</b></a></td>
<td valign="top">Beginning volume</td>
<td valign="top"><i>Character value</i>, <b><u>*VOL</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#ADDMEDIBRM.ASP"><b>ASP</b></a></td>
<td valign="top">Auxiliary storage pool</td>
<td valign="top">1-255, <b><u>*SYSTEM</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#ADDMEDIBRM.ASPDEV"><b>ASPDEV</b></a></td>
<td valign="top">Auxiliary storage pool device</td>
<td valign="top"><i>Name</i>, <b><u>*NONE</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#ADDMEDIBRM.FLR"><b>FLR</b></a></td>
<td valign="top">Folder</td>
<td valign="top"><i>Character value</i>, <b><u>*ANY</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#ADDMEDIBRM.OBJSAV"><b>OBJSAV</b></a></td>
<td valign="top">Objects saved</td>
<td valign="top">1-999999, <b><u>1</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#ADDMEDIBRM.OBJNOTSAV"><b>OBJNOTSAV</b></a></td>
<td valign="top">Objects not saved</td>
<td valign="top">0-999999, <b><u>0</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#ADDMEDIBRM.CTLGRP"><b>CTLGRP</b></a></td>
<td valign="top">Control group</td>
<td valign="top"><i>Name</i>, <b><u>*NONE</u></b>, *ARCGRP, *BKUGRP, *SYSGRP, *SYSTEM</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#ADDMEDIBRM.RCDFMT"><b>RCDFMT</b></a></td>
<td valign="top">Record format</td>
<td valign="top"><b><u>U</u></b>, F, V, *NONE</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#ADDMEDIBRM.RCDLEN"><b>RCDLEN</b></a></td>
<td valign="top">Record length</td>
<td valign="top">0-32760, <b><u>0</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#ADDMEDIBRM.BLKLEN"><b>BLKLEN</b></a></td>
<td valign="top">Block length</td>
<td valign="top">0-32760, <b><u>32760</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#ADDMEDIBRM.BLKCNT"><b>BLKCNT</b></a></td>
<td valign="top">Block count</td>
<td valign="top">0-999999, <b><u>1</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#ADDMEDIBRM.TEXT"><b>TEXT</b></a></td>
<td valign="top">Text</td>
<td valign="top"><i>Character value</i>, <b><u>*NONE</u></b></td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#ADDMEDIBRM.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="ADDMEDIBRM.VOL"></a>
<h3>Volume (VOL)</h3>
<p>Specifies the volume identifier or identifiers of the volume or volumes that contain the file that is being added to the BRMS media inventory contents information. Volumes must be enrolled in the BRMS media inventory. A maximum of 300 volumes can be specified here.
</p>
<p>This is a required parameter.
</p>
<dl>
<dt><b><i>volume-identifier</i></b></dt>
<dd>Specify the identifier of the volume that contains the file being added to the BRMS media inventory contents information. The volume identifier is a maximum of six characters in length. The volume must already exists in the BRMS media inventory.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDMEDIBRM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDMEDIBRM.VOLSEQ"></a>
<h3>Volume sequence (VOLSEQ)</h3>
<p>Specifies the sequence number of the volume that contains the file that you are adding to the BRMS media inventory contents information. The volume sequence number is the sequence number of the volume that contains the beginning of the file that you are adding. If you specify a volume sequence other than 1 in the <b>Volume sequence (VOLSEQ)</b> parameter, you must specify the beginning volume of the media set in the <b>Beginning volume (STRVOL)</b> parameter. If you specify a 1 in the <b>Volume sequence (VOLSEQ)</b> parameter, the volume specified in the <b>Volume (VOL)</b> parameter must match the volume specified in the <b>Beginning volume (STRVOL)</b> parameter or be *VOL.
</p>
<p>This is a required parameter.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDMEDIBRM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDMEDIBRM.SEQNBR"></a>
<h3>Sequence number (SEQNBR)</h3>
<p>Specifies the sequence number of the file that you are adding to the media inventory. The sequence number is the file sequence of the file on the volume that you are adding.
</p>
<p>This is a required parameter.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDMEDIBRM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDMEDIBRM.LABEL"></a>
<h3>File label (LABEL)</h3>
<p>Specifies the label for the file that you are adding to the media content information.
</p>
<dl>
<dt><b><u>*TYPE</u></b></dt>
<dd>The label of the file is used.
</dd>
<dt><b><i>label-identifier</i></b></dt>
<dd>Specify the label identifier for the file.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDMEDIBRM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDMEDIBRM.TYPE"></a>
<h3>Type (TYPE)</h3>
<p>Specifies the special value associated with the file that you are adding to the BRMS media content information.
</p>
<dl>
<dt><b><u>*LIB</u></b></dt>
<dd>The type of information that you are adding is library information. If you specify *LIB for the <b>Type (TYPE)</b> parameter, you must specify a library name in the <b>Library (LIB)</b> parameter.
</dd>
<dt><b>*ALLDLO</b></dt>
<dd>The type of information that you are adding is document library information.
</dd>
<dt><b>*LINK</b></dt>
<dd>The type of information that you are adding is integrated file system object information.
</dd>
<dt><b>*QHST</b></dt>
<dd>The type of information that you are adding is history information.
</dd>
<dt><b>*SAVCFG</b></dt>
<dd>The type of information that you are adding is configuration information.
</dd>
<dt><b>*SAVSECDTA</b></dt>
<dd>The type of information that you are adding is security information.
</dd>
<dt><b>*SAVSYS</b></dt>
<dd>The type of information that you are adding is system save information.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDMEDIBRM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDMEDIBRM.LIB"></a>
<h3>Library (LIBRARY)</h3>
<p>Specifies the library name of the library whose content information you are adding to the BRMS media content information. This parameter is required when *LIB is specified in the <b>Type (TYPE)</b> parameter.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDMEDIBRM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDMEDIBRM.LNKLIST"></a>
<h3>Link list (LNKLIST)</h3>
<p>Specifies the link list name to be associated with the integrated file system object information that you are adding to the BRMS media content information.
</p>
<dl>
<dt><b><u>*LINK</u></b></dt>
<dd>Specifies that the entry created is associated with the *LINK type save used in a control group.
</dd>
<dt><b><i>list-name</i></b></dt>
<dd>Specifies the list name that the entry created is associated with.
<p>
<b>Note: </b>The list name that you specify is shown as the backup item name when working with media information.
</p>
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDMEDIBRM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDMEDIBRM.FILE"></a>
<h3>File origin (FILE)</h3>
<p>Specifies the operation that was used to create the file that you are adding to the media information file.
</p>
<dl>
<dt><b><u>*FILE</u></b></dt>
<dd>The file that you are adding was not created using a save operation.
</dd>
<dt><b>*SAV</b></dt>
<dd>The file that you are adding to the BRMS media inventory contents information was created using a Save Object (SAV) command.
</dd>
<dt><b>*SAVCFG</b></dt>
<dd>The file that you are adding to the BRMS media inventory contents information was created using a Save Configuration ( SAVCFG) command.
</dd>
<dt><b>*SAVCHG</b></dt>
<dd>The file that you are adding to the BRMS media inventory contents information was created using a SAV command with a selected reference date and time.
</dd>
<dt><b>*SAVCHGDLO</b></dt>
<dd>The file that you are adding to the BRMS media inventory contents information was created using a SAVDLO command with a selected reference date and time.
</dd>
<dt><b>*SAVCHGOBJ</b></dt>
<dd>The file that you are adding to the BRMS media inventory contents information was created using a Save Changed Objects (SAVCHGOBJ) command.
</dd>
<dt><b>*SAVDLO</b></dt>
<dd>The file that you are adding to the BRMS media inventory contents information was created using a Save Document Library Object (SAVDLO) command.
</dd>
<dt><b>*SAVLIB</b></dt>
<dd>The file that you are adding to the BRMS media inventory contents information was created using a Save Library (SAVLIB) command.
</dd>
<dt><b>*SAVOBJ</b></dt>
<dd>The file that you are adding to the BRMS media inventory contents information was created using a Save Object (SAVOBJ) command.
</dd>
<dt><b>*SAVSECDTA</b></dt>
<dd>The file that you are adding to the BRMS media inventory contents information was created using a Save Security Data (SAVSECDTA) command.
</dd>
<dt><b>*SAVSYS</b></dt>
<dd>The file that you are adding to the BRMS media inventory contents information was created using a Save System (SAVSYS) command.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDMEDIBRM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDMEDIBRM.INCTYPE"></a>
<h3>Incremental type (INCTYPE)</h3>
<p>Specifies the type of incremental save for the content information that you are adding to the BRMS media content information.
</p>
<dl>
<dt><b><u>*CUML</u></b></dt>
<dd>Only save items that have changed. *CUML indicates that the incremental save includes all objects that have been changed since the last full save.
</dd>
<dt><b>*INCR</b></dt>
<dd>Only save changed items. *INCR indicates that the incremental save includes all objects that have been changed since the last incremental save.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDMEDIBRM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDMEDIBRM.CRTDATE"></a>
<h3>Entry date (CRTDATE)</h3>
<p>Specifies the date the file was created. Dates are entered in job date format with or without date separators.
</p>
<dl>
<dt><b><u>*CURRENT</u></b></dt>
<dd>The date the file was saved is the current date of the system.
</dd>
<dt><b><i>entry-date</i></b></dt>
<dd>Specify the date that the file was saved.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDMEDIBRM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDMEDIBRM.CRTTIME"></a>
<h3>Entry time (CRTTIME)</h3>
<p>Specifies the time that each file was created. Time is expressed in the hhmmss format where hh = hours, mm = minutes, and ss = seconds.
</p>
<dl>
<dt><b><u>*CURRENT</u></b></dt>
<dd>The time the file was saved is the current time of the system.
</dd>
<dt><b><i>entry-time</i></b></dt>
<dd>Specify the time the file was saved.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDMEDIBRM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDMEDIBRM.EXPDATE"></a>
<h3>Expiration date (EXPDATE)</h3>
<p>Specifies the expiration date of the file that is added to the media content information. If a date is specified, the file is protected and cannot be overwritten until the expiration date has passed. Dates are entered in job date format with or without date separators.
</p>
<dl>
<dt><b><u>*PERM</u></b></dt>
<dd>The file has a permanent retention and cannot be used.
</dd>
<dt><b>*VER nnn</b></dt>
<dd>Specify the number of versions that are kept in the BRMS media inventory contents information. For instance, *VER 003 indicates that three versions of the save item are kept. When the fourth version of the save item is created, the earliest version is removed and replaced by the fourth version of the save.
<p>
<b>Note: </b>*VER 003 is not the version number. It is the number of versions as specified in the media policy.
</p>
</dd>
<dt><b><i>expiration-date</i></b></dt>
<dd>Specify the date when protection for the file ends.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDMEDIBRM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDMEDIBRM.DEV"></a>
<h3>Device (DEV)</h3>
<p>Specifies the name of the device or devices which were used to create the file.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*NONE</u></b></dt>
<dd>No devices are to be associated with the file that you are adding to the BRMS media inventory contents information.
</dd>
</dl>
<p><b>Other values (up to 4 repetitions)</b>
</p>
<dl>
<dt><b><i>device-name</i></b></dt>
<dd>Specify the name of the device that you want to associate with the file that you are adding to the BRMS media inventory contents information.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDMEDIBRM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDMEDIBRM.STRVOL"></a>
<h3>Beginning volume (STRVOL)</h3>
<p>Specifies the beginning volume of the media set that contains the file that you are adding to the media information. For instance if you had a 3 volume media set, T00001, T00002 and T00003 and you were adding the fourth file in the media set (which is on T00002), the value in the <b>Volume (VOL)</b> parameter would be T00002, the value in the <b>Sequence number (SEQNBR)</b> parameter would be 4, the <b>Volume sequence (VOLSEQ)</b> parameter would be 2 and the <b>Beginning volume (STRVOL)</b> parameter would be T00001.
</p>
<dl>
<dt><b><u>*VOL</u></b></dt>
<dd>The first volume specified in the <b>Volume </b>list is the beginning volume. This can only be true when the <b>Volume sequence </b>is equal to 1.
</dd>
<dt><b><i>volume-identifier</i></b></dt>
<dd>Specify the volume identifier that is the beginning volume for the media set that contains the file that you are adding to the BRMS media inventory contents information.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDMEDIBRM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDMEDIBRM.ASP"></a>
<h3>Auxiliary storage pool (ASP)</h3>
<p>Specifies the auxiliary storage pool number for the file that you are adding to the media content information.
</p>
<dl>
<dt><b><u>*SYSTEM</u></b></dt>
<dd>The content information you are adding was saved from the system (1) auxiliary storage pool.
</dd>
<dt><b><i>auxiliary-storage-pool-number</i></b></dt>
<dd>The content information you are adding was saved from the auxiliary storage pool identified by this number.
</dd>
</dl>
<p>
<b>Note: </b>The auxiliary storage pool number must be less than 33 if a value of *ALLDLO or *SAVCAL is specified for the <b>Type (TYPE)</b> parameter.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDMEDIBRM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDMEDIBRM.ASPDEV"></a>
<h3>Auxiliary storage pool device (ASPDEV)</h3>
<p>Specifies the auxiliary storage pool device for the file that you are adding to the media content information.
</p>
<dl>
<dt><b><u>*NONE</u></b></dt>
<dd>The content information you are adding was saved from the system (1) or a basic user (2-32) auxiliary storage pool. *NONE must be specified if the value for ASP is *SYSTEM or 1-32.
</dd>
<dt><b><i>auxiliary-storage-pool-name</i></b></dt>
<dd>The content information you are adding was saved from the auxiliary storage pool device identified by this name. An auxiliary storage pool device name must be specified if the value for ASP is 33-255.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDMEDIBRM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDMEDIBRM.FLR"></a>
<h3>Folder (FLR)</h3>
<p>Specifies the name of the folder that is associated with the file that you are adding to the BRMS media inventory contents information. The <b>Folder (FLR)</b> parameter is associated with values that are specified in the <b>Library (LIB)</b> parameter and the <b>File origin (FILE)</b> parameter. If you specify *ALLDLO or QDOC in the <b>Library (LIB)</b> parameter, the value *ANY is defaulted in the <b>Folder (FLR)</b> parameter. If you specify SAVDLO or SAVCHGDLO on the <b>File origin (FILE)</b>parameter, you must specify either QDOC or *ALLDLO on the <b>Library (LIB)</b> parameter. The <b>Folder (FLR)</b> parameter defaults to *ANY.
</p>
<dl>
<dt><b><u>*ANY</u></b></dt>
<dd>The file that you are adding to the media content information can contain any folder.
</dd>
<dt><b><i>folder-name</i></b></dt>
<dd>Specify the name of the folder for the file that you are adding to the media content information.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDMEDIBRM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDMEDIBRM.OBJSAV"></a>
<h3>Objects saved (OBJSAV)</h3>
<p>Specifies the number of objects saved for the file that you are adding to the media content information.
</p>
<dl>
<dt><b><u>1</u></b></dt>
<dd>The number of saved objects is one.
</dd>
<dt><b><i>number-of-objects-saved</i></b></dt>
<dd>Specify the number of objects saved.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDMEDIBRM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDMEDIBRM.OBJNOTSAV"></a>
<h3>Objects not saved (OBJNOTSAV)</h3>
<p>Specifies the number of objects that were not saved for the file that you are adding to the media content information.
</p>
<dl>
<dt><b><u>0</u></b></dt>
<dd>The number of objects not saved is zero.
</dd>
<dt><b><i>number-of-objects-not-saved</i></b></dt>
<dd>Specify the number of objects that were not saved.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDMEDIBRM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDMEDIBRM.CTLGRP"></a>
<h3>Control group (CTLGRP)</h3>
<p>Specifies the control group with which you want to associate the file that you are adding to the media content information.
</p>
<dl>
<dt><b><u>*NONE</u></b></dt>
<dd>You do not want to associate the file that you are adding to the media content information with a control group.
</dd>
<dt><b>*ARCGRP</b></dt>
<dd>You want to associate the file that you are adding to the media content information with the archive control group.
<p>
<b>Note: </b>The BRMS Advanced feature (Option 2) is required to use this value.
</p>
</dd>
<dt><b>*BKUGRP</b></dt>
<dd>You want to associate the file that you are adding to the media content information with the backup user data control group.
</dd>
<dt><b>*SYSGRP</b></dt>
<dd>You want to associate the file that you are adding to the media content information with the system data control group.
</dd>
<dt><b>*SYSTEM</b></dt>
<dd>You want to associate the file that you are adding to the media content information with the backup entire system control group.
</dd>
<dt><b><i>control-group-name</i></b></dt>
<dd>Specify a control group name that you have defined to associate with the file that you are adding.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDMEDIBRM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDMEDIBRM.RCDFMT"></a>
<h3>Record format (RCDFMT)</h3>
<p>Specifies the record format for the file that you are adding to the media content information.
</p>
<dl>
<dt><b><u>U</u></b></dt>
<dd>The record format is undefined for the file that you are adding to the media content information.
</dd>
<dt><b>F</b></dt>
<dd>The record format is fixed length records for the file that you are adding to the media content information.
</dd>
<dt><b>V</b></dt>
<dd>The record format is variable length records for the file that you are adding to the media content information.
</dd>
<dt><b>*NONE</b></dt>
<dd>There is no record format associated with the file that you are adding to the media content information.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDMEDIBRM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDMEDIBRM.RCDLEN"></a>
<h3>Record length (RCDLEN)</h3>
<p>Specifies the record length of the file.
</p>
<ul>
<li>Fixed length records = Number of bytes in each record
</li>
<li>Variable length records = Maximum number of bytes in each record
</li>
<li>Undefined format = Zero
</li>
</ul>
<dl>
<dt><b><u>0</u></b></dt>
<dd>The record length is zero.
</dd>
<dt><b><i>record-length</i></b></dt>
<dd>Specify the record length of the record in the file.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDMEDIBRM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDMEDIBRM.BLKLEN"></a>
<h3>Block length (BLKLEN)</h3>
<p>Specifies the number of bytes in each block.
</p>
<dl>
<dt><b><u>32760</u></b></dt>
<dd>The block length is 32760 bytes.
</dd>
<dt><b><i>block-length</i></b></dt>
<dd>Specify the block length for this file.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDMEDIBRM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDMEDIBRM.BLKCNT"></a>
<h3>Block count (BLKCNT)</h3>
<p>Specifies the number of blocks.
</p>
<dl>
<dt><b><u>1</u></b></dt>
<dd>The block count is one.
</dd>
<dt><b><i>block-count</i></b></dt>
<dd>Specify the block count for this file.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDMEDIBRM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDMEDIBRM.TEXT"></a>
<h3>Text (TEXT)</h3>
<p>Specifies text information about the file that you are adding to the media content information.
</p>
<dl>
<dt><b><u>*NONE</u></b></dt>
<dd>No text is specified for the media content.
</dd>
<dt><b><i>text</i></b></dt>
<dd>Specify the text that describes the media content.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDMEDIBRM.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="ADDMEDIBRM.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Adding Contents to a Volume</b>
</p>
<p>
<pre>
ADDMEDIBRM TYPE(*ALLDLO) VOL(T00001)
SEQNBR(1) VOLSEQ(1)
</pre>
</p>
<p>This command adds an entry in the media inventory content information for volume T00001. The volume's contents are updated to show that a save of the document library resides as file sequence number 1 on the first volume.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDMEDIBRM.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="ADDMEDIBRM.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>BRM1917</b></dt>
<dd>Feature not installed.
</dd>
<dt><b>BRM1921</b></dt>
<dd>Feature not licensed.
</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="#ADDMEDIBRM.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>