STOP command: Stopping an application subsystem: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
 
mNo edit summary
Line 2: Line 2:
<dl>
<dl>
<dt>Privileges
<dt>Privileges
<dd>Defined in the subsytem definition
<dd>Defined in the subsystem definition
<dt>Function
<dt>Function
<dd>Stops an application subsystem
<dd>Stops an application subsystem
</dl>
</dl>
==Syntax==
==Syntax==
<p class="syntax">STOP <b>SUBSYS</b>TEM <i>subsysname</i> [FROM <i>location</i>]
<p class="syntax">STOP <b>SUBSYS</b>TEM <span class="term">subsysname</span> [FROM <span class="term">location</span>]
</p>
</p>
   
   
Line 14: Line 15:
<tr>
<tr>
<th>subsysname</th>
<th>subsysname</th>
<td> is the name of the application subsystem, comprised of a maximum of 10 characters.</td>
<td>The name of the application subsystem, comprised of a maximum of ten characters.</td>
</tr>
</tr>
   
   
<tr>
<tr>
<th>location</th>
<th>location</th>
<td>, valid only for Parallel Query Option/204 service subsystems, is the CCAIN LOCATION parameter of the client node that activated the service subsystem. location is also the value of the CLNT field in the LOGWHO command output</td>
<td>Valid only for Parallel Query Option/204 service subsystems, this is the CCAIN LOCATION parameter of the client node that activated the service subsystem. <var class="term">location</var> is also the value of the CLNT field in the <var>LOGWHO</var> command output.</td>
</tr>
</tr>
</table>
</table>
==Usage notes==
==Usage notes==
<p>If the STOP command is issued when there are no active users in the application subsystem, the subsystem is completely stopped. The subsystem frees the core-resident control blocks and the CCATEMP pages associated with precompiled procedures. All enqueued procedures and file groups are released and all subsystem files and groups are closed.</p>
<p>
<p>If the STOP command is issued with active users in the subsystem, the application subsystem facility sets the application subsystem to the drain state. Other users are barred from entering the subsystem. When the last user leaves, the subsystem is completely stopped. </p>
If the <var>STOP</var> command is issued when there are no active users in the application subsystem, the subsystem is completely stopped. The subsystem frees the core-resident control blocks and the CCATEMP pages associated with precompiled procedures. All enqueued procedures and file groups are released and all subsystem files and groups are closed.</p>
<p>For more information about STOP SUBSYSTEM when it specifies a subsystem that uses remote files, see the <var>Parallel Query Option/204 User's Guide</var>. </p>
<p>
If the <var>STOP</var> command is issued with active users in the subsystem, the application subsystem facility sets the application subsystem to the drain state. Other users are barred from entering the subsystem. When the last user leaves, the subsystem is completely stopped. </p>
<p>
For more information about <var>STOP SUBSYSTEM</var> when it specifies a subsystem that uses remote files, see the <var class="book">Parallel Query Option/204 User's Guide</var>. </p>
 
[[Category:Commands]]
[[Category:Commands]]

Revision as of 00:54, 7 November 2014

Summary

Privileges
Defined in the subsystem definition
Function
Stops an application subsystem

Syntax

STOP SUBSYSTEM subsysname [FROM location]

Where:

subsysname The name of the application subsystem, comprised of a maximum of ten characters.
location Valid only for Parallel Query Option/204 service subsystems, this is the CCAIN LOCATION parameter of the client node that activated the service subsystem. location is also the value of the CLNT field in the LOGWHO command output.

Usage notes

If the STOP command is issued when there are no active users in the application subsystem, the subsystem is completely stopped. The subsystem frees the core-resident control blocks and the CCATEMP pages associated with precompiled procedures. All enqueued procedures and file groups are released and all subsystem files and groups are closed.

If the STOP command is issued with active users in the subsystem, the application subsystem facility sets the application subsystem to the drain state. Other users are barred from entering the subsystem. When the last user leaves, the subsystem is completely stopped.

For more information about STOP SUBSYSTEM when it specifies a subsystem that uses remote files, see the Parallel Query Option/204 User's Guide.