ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzamy_5.4.0.1/50/admin/qshdltinst.htm

60 lines
2.2 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">
<LINK rel="stylesheet" type="text/css" href="../../../rzahg/ic.css">
<title>Delete an application server instance with the dltwasinst script</title>
</head>
<BODY>
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h3><a name="qshdltinst"></a>Delete an application server instance with the dltwasinst script</h3>
<p>The dltwasinst script removes an instance and the files associated with it. For information on running Qshell scripts, see <a href="qshadm.htm">Configure Qshell to run WebSphere Application Server - Express scripts</a>.</p>
<p><strong>Authority</strong></p>
<p>To run this script, your iSeries user profile must have *ALLOBJ authority.</p>
<p><strong>Usage</strong></p>
<p>To run the dltwasinst script, follow these steps:</p>
<ol>
<li><p>On the CL command line, run the STRQSH (Start Qshell) command.</p></li>
<li><p>Run the cd command to change to the directory that contains the script:</p>
<pre>cd /QIBM/ProdData/WebASE/ASE5/bin</pre></li>
<li><p>Run the dltwasinst script:</p>
<pre>dltwasinst -instance <em>instance</em></pre>
<p>where <em>instance</em> is the name of the instance that you want to delete.</p></li>
</ol>
<p><strong>Syntax</strong></p>
<p>The syntax of the script is:</p>
<pre>dltwasinst -instance <em>instance</em> [ -verbose ] [ -help ]</pre>
<p><strong>Parameters</strong></p>
<p>The parameters of the script are:</p>
<ul>
<li><p><strong>-instance</strong>
<br>This is a required parameter. The value <em>instance</em> specifies the name of the instance that you want to delete.</p></li>
<li><p><strong>-verbose</strong>
<br>This optional parameter turns on verbose messages, which can be helpful if you need to debug the script.</p></li>
<li><p><strong>-help</strong>
<br>This optional parameter displays the help message. If you specify this parameter, the script ignores all other parameters.</p></li>
</ul>
<p><strong>Example</strong></p>
<p>In this example, the instance testinst is deleted.</p>
<pre>dltwasinst -instance testinst</pre>
</body>
</html>