<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head><META http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Ask Question (ASKQST)</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="ASKQST.Top_Of_Page"></a> <h2>Ask Question (ASKQST)</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="#ASKQST.PARAMETERS.TABLE">Parameters</a><br> <a href="#ASKQST.COMMAND.EXAMPLES">Examples</a><br> <a href="#ASKQST.ERROR.MESSAGES">Error messages</a></td> </tr> </table> <div> <a name="ASKQST"></a> <p>The Ask Questions (ASKQST) command shows the Search for Answers display; from this display you can search for an answer to a question. You must first search the database to determine if an answer exists before a question can be asked. More information is available in the Basic System Operation information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter. </p> </div> <table width="100%"> <tr><td align="right"><a href="#ASKQST.Top_Of_Page">Top</a></td></tr> </table> <hr size="2" width="100%"> <div> <h3><a name="ASKQST.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="#ASKQST.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="#ASKQST.LIB"><b>LIB</b></a></td> <td valign="top">Lib containing Q/A database</td> <td valign="top"><i>Name</i>, <b><u>*QSTLIB</u></b></td> <td valign="top">Optional, Positional 2</td> </tr> </table> <table width="100%"> <tr><td align="right"><a href="#ASKQST.Top_Of_Page">Top</a></td></tr> </table> </div> <div> <a name="ASKQST.QSTDB"></a> <h3>Q/A database (QSTDB)</h3> <p>Specifies the Question and Answer database in which to ask a question. </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 & A database. If only one Q & 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 & A database in which to ask a question. </dd> </dl> </div> <table width="100%"> <tr><td align="right"><a href="#ASKQST.Top_Of_Page">Top</a></td></tr> </table> <div> <a name="ASKQST.LIB"></a> <h3>Lib containing Q/A database (LIB)</h3> <p>Specifies the name of the library that contains the Q & A database. </p> <p>The name of the Q & A database can be qualified by one of the following library values: </p> <dl> <dt><b><u>*QSTLIB</u></b></dt> <dd>The library containing the specified Q & A database is searched. If *SELECT is specified on the QSTDB parameter, any Q & A database in any library to which you are authorized can be selected. </dd> <dt><b><i>library-name</i></b></dt> <dd>Specify the name of the library to be searched. If *SELECT is specified on the QSTDB parameter, any Q & A database in the library to which you are authorized can be selected. </dd> </dl> </div> <table width="100%"> <tr><td align="right"><a href="#ASKQST.Top_Of_Page">Top</a></td></tr> </table> <hr size="2" width="100%"> <div><h3><a name="ASKQST.COMMAND.EXAMPLES">Examples</a> </h3> <p> <pre> ASKQST </pre> </p> <p>This command shows the Search for Answers display. </p> </div> <table width="100%"> <tr><td align="right"><a href="#ASKQST.Top_Of_Page">Top</a></td></tr> </table> <hr size="2" width="100%"> <div><h3><a name="ASKQST.ERROR.MESSAGES">Error messages</a> </h3> <p>None </p> </div> <table width="100%"> <tr><td align="right"><a href="#ASKQST.Top_Of_Page">Top</a></td></tr> </table> </body> </html>