261 lines
10 KiB
HTML
261 lines
10 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>Create Device Desc (ASP) (CRTDEVASP)</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="CRTDEVASP.Top_Of_Page"></a>
|
|
<h2>Create Device Desc (ASP) (CRTDEVASP)</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="#CRTDEVASP.PARAMETERS.TABLE">Parameters</a><br>
|
|
<a href="#CRTDEVASP.COMMAND.EXAMPLES">Examples</a><br>
|
|
<a href="#CRTDEVASP.ERROR.MESSAGES">Error messages</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div> <a name="CRTDEVASP"></a>
|
|
<p>The Create Device Description (ASP) (CRTDEVASP) command creates a device description for an auxiliary storage pool (ASP) device.
|
|
</p>
|
|
<p>More information about independent disk pools, see the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CRTDEVASP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
|
|
<div>
|
|
<h3><a name="CRTDEVASP.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="#CRTDEVASP.DEVD"><b>DEVD</b></a></td>
|
|
<td valign="top">Device description</td>
|
|
<td valign="top"><i>Name</i></td>
|
|
<td valign="top">Required, Key, Positional 1</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CRTDEVASP.RSRCNAME"><b>RSRCNAME</b></a></td>
|
|
<td valign="top">Resource name</td>
|
|
<td valign="top"><i>Name</i></td>
|
|
<td valign="top">Required, Key, Positional 2</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CRTDEVASP.RDB"><b>RDB</b></a></td>
|
|
<td valign="top">Relational database</td>
|
|
<td valign="top"><i>Name</i>, <b><u>*GEN</u></b></td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" rowspan="3"><a href="#CRTDEVASP.MSGQ"><b>MSGQ</b></a></td>
|
|
<td valign="top">Message queue</td>
|
|
<td valign="top">Single values: <b><u>*SYSOPR</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: Message 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="#CRTDEVASP.TEXT"><b>TEXT</b></a></td>
|
|
<td valign="top">Text 'description'</td>
|
|
<td valign="top"><i>Character value</i>, <b><u>*BLANK</u></b></td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CRTDEVASP.AUT"><b>AUT</b></a></td>
|
|
<td valign="top">Authority</td>
|
|
<td valign="top"><i>Name</i>, <b><u>*CHANGE</u></b>, *ALL, *USE, *EXCLUDE, *LIBCRTAUT</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CRTDEVASP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</div>
|
|
<div> <a name="CRTDEVASP.DEVD"></a>
|
|
<h3>Device description (DEVD)</h3>
|
|
<p>Specifies the name of the device description being created.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CRTDEVASP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CRTDEVASP.RSRCNAME"></a>
|
|
<h3>Resource name (RSRCNAME)</h3>
|
|
<p>Specifies the resource name that identifies the auxiliary storage pool (ASP) by which a collection of disks is known.
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>resource-name</i></b></dt>
|
|
<dd>Specify the name that identifies the ASP by which a collection of disks is known.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CRTDEVASP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CRTDEVASP.RDB"></a>
|
|
<h3>Relational database (RDB)</h3>
|
|
<p>Specifies the relational database (RDB) name to associate with the auxiliary storage pool (ASP) device.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*GEN</u></b></dt>
|
|
<dd>The RDB name will be generated by the operating system after a successful vary on of the device. If the device is the primary ASP of an ASP group, the RDB name will be the same as the device name. If the ASP device is a secondary ASP, or a user-defined file system (UDFS) ASP, the RDB name will be set to blanks.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b><i>relational-database-name</i></b></dt>
|
|
<dd>Specify the RDB name to associate with the ASP device. The specified RDB name will not be used if the ASP device description is a secondary ASP or UDFS ASP. If the ASP device description is the primary ASP of an ASP group, when the ASP group is varied on, the specified RDB name will become the name by which the relational database is known on this system and other systems which connect to this system.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CRTDEVASP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CRTDEVASP.MSGQ"></a>
|
|
<h3>Message queue (MSGQ)</h3>
|
|
<p>Specifies the message queue to which operational messages for this device are sent.
|
|
</p>
|
|
<p>The possible qualified names are:
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SYSOPR</u></b></dt>
|
|
<dd>Messages are sent to the QSYSOPR message queue in QSYS.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b><i>message-queue-name</i></b></dt>
|
|
<dd>Specify the name of the message queue to which operational messages are sent.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b><u>*LIBL</u></b></dt>
|
|
<dd>All libraries in the job's library list are searched until the first match is found.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b>*CURLIB</b></dt>
|
|
<dd>The current library for the job is searched. If no library is specified as the current library for the job, the QGPL library is used.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b><i>library-name</i></b></dt>
|
|
<dd>Specify the name of the library to be searched.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CRTDEVASP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CRTDEVASP.TEXT"></a>
|
|
<h3>Text 'description' (TEXT)</h3>
|
|
<p>Specifies the text that briefly describes the object.
|
|
</p>
|
|
<dl>
|
|
<dt><b>*BLANK</b></dt>
|
|
<dd>No text is specified.
|
|
</dd>
|
|
<dt><b><i>character-value</i></b></dt>
|
|
<dd>Specify no more than 50 characters of text, enclosed in apostrophes.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CRTDEVASP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CRTDEVASP.AUT"></a>
|
|
<h3>Authority (AUT)</h3>
|
|
<p>Specifies the authority you are giving to users who do not have specific authority for the object, who are not on an authorization list, and whose group profile or supplemental group profiles do not have specific authority for the object.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*CHANGE</u></b></dt>
|
|
<dd>The user can perform all operations on the object except those limited to the owner or controlled by object existence (*OBJEXIST) and object management (*OBJMGT) authorities. The user can change and perform basic functions on the object. *CHANGE authority provides object operational (*OBJOPR) authority and all data authority. If the object is an authorization list, the user cannot add, change, or remove users.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b>*ALL</b></dt>
|
|
<dd>The user can perform all operations except those limited to the owner or controlled by authorization list management (*AUTLMGT) authority. The user can control the object's existence, specify the security for the object, change the object, and perform basic functions on the object. The user also can change ownership of the object.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b>*USE</b></dt>
|
|
<dd>The user can perform basic operations on the object, such as running a program or reading a file. The user cannot change the object. Use (*USE) authority provides object operational (*OBJOPR), read (*READ), and execute (*EXECUTE) authorities.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b>*EXCLUDE</b></dt>
|
|
<dd>The user cannot access the object.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b>*LIBCRTAUT</b></dt>
|
|
<dd>The system determines the authority for the object by using the value specified for the <b>Create authority (CRTAUT)</b> parameter on the Create Library (CRTLIB) command for the library containing the object to be created. If the value specified for the CRTAUT parameter is changed, the new value will not affect any existing objects.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of an authorization list to be used for authority to the object. Users included in the authorization list are granted authority to the object as specified in the list. The authorization list must exist when the object is created.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CRTDEVASP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="CRTDEVASP.COMMAND.EXAMPLES">Examples</a> </h3>
|
|
<p><b>Example 1: Create an Independent ASP Device</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
CRTDEVASP DEVD(COMPANY1) RSRCNAME(COMPANY1)
|
|
</pre>
|
|
</p>
|
|
<p>This command creates a device description for an independent ASP named COMPANY1. The resource name for the device description is also named COMPANY1. Operational messages messages for independent ASP COMPANY1 will be sent to message queue QSYSOPR in library QSYS.
|
|
</p>
|
|
<p><b>Example 2: Create a Primary ASP Device</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
CRTDEVASP DEVD(WAREHOUSE2) RSRCNAME(WAREHOUSE2)
|
|
RDB(WAREHOUSE_NUMBER_2) MSGQ(INVENTORY/WH2)
|
|
</pre>
|
|
</p>
|
|
<p>This command creates a device description for a primary ASP named WAREHOUSE2. The resource name for the device description is also named WAREHOUSE2. The relational database (RDB) name that will be associated with the ASP group when this primary ASP device is varied on is WAREHOUSE_NUMBER_2. Operational messages for independent ASP WAREHOUSE2 will be sent to message queue WH2 in library INVENTORY.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CRTDEVASP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="CRTDEVASP.ERROR.MESSAGES">Error messages</a> </h3>
|
|
<p><b><u>*ESCAPE Messages</u></b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>CPF261A</b></dt>
|
|
<dd>Device description &1 not created due to errors.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CRTDEVASP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</body>
|
|
</html>
|