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

135 lines
4.2 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>Create Q/A Database (CRTQSTDB)</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="CRTQSTDB.Top_Of_Page"></a>
<h2>Create Q/A Database (CRTQSTDB)</h2>
<table width="100%">
<tr>
<td valign="top" align="left"><b>Where allowed to run: </b>Interactive environments (*INTERACT *IPGM *IREXX *EXEC)<br>
<b>Threadsafe: </b>No
</td>
<td valign="top" align="right">
<a href="#CRTQSTDB.PARAMETERS.TABLE">Parameters</a><br>
<a href="#CRTQSTDB.COMMAND.EXAMPLES">Examples</a><br>
<a href="#CRTQSTDB.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="CRTQSTDB"></a>
<p>The Create Question-and-Answer Database (CRTQSTDB) command allows you to create a new question-and-answer (Q &amp; A) database. More information is available in the Basic System Operation information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
</p>
<p><b>Restrictions:</b>
</p>
<ol>
<li>This command is shipped with public *EXCLUDE authority.
</li>
<li>The user of this command must have *ADD authority to the library in which the database files are located.
</li>
</ol>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTQSTDB.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CRTQSTDB.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="#CRTQSTDB.QSTDB"><b>QSTDB</b></a></td>
<td valign="top">Q/A database</td>
<td valign="top"><i>Name</i>, <b><u>*SELECT</u></b></td>
<td valign="top">Optional, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#CRTQSTDB.LIB"><b>LIB</b></a></td>
<td valign="top">Lib containing Q/A database</td>
<td valign="top"><i>Name</i>, <b><u>QUSRSYS</u></b></td>
<td valign="top">Optional, Positional 2</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#CRTQSTDB.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="CRTQSTDB.QSTDB"></a>
<h3>Q/A database (QSTDB)</h3>
<p>Specifies the Q &amp; A database to create. When selecting a Q &amp; A database name, the name must be 10 characters or less and must begin with a letter.
</p>
<p>The possible values are:
</p>
<dl>
</dl>
<dl>
<dt><b><u>*SELECT</u></b></dt>
<dd>You are asked to specify a Q &amp; A database. If only one Q &amp; A database exists on the system, it is the default.
</dd>
</dl>
<dl>
<dt><b><i>question-database</i></b></dt>
<dd>Specify the name of the Q &amp; A database in which to create.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTQSTDB.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTQSTDB.LIB"></a>
<h3>Lib containing Q/A database (LIB)</h3>
<p>Specifies the name of an existing library that will contain the new Q &amp; A database.
</p>
<p>The possible library values are:
</p>
<dl>
<dt><b><u>QUSRSYS</u></b></dt>
<dd>The Q &amp; A database is created in the QUSRSYS library.
</dd>
<dt><b><i>library-name</i></b></dt>
<dd>Specify name of the library to be searched.
<p>
<b>Note: </b>The library must exist on the system.
</p>
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTQSTDB.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CRTQSTDB.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
CRTQSTDB
</pre>
</p>
<p>This command shows the Create a Q &amp; A Database display.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTQSTDB.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CRTQSTDB.ERROR.MESSAGES">Error messages</a> </h3>
<p>None
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTQSTDB.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>