STOP command: Stopping an application subsystem: Difference between revisions
m (link repair) |
m (link repair) |
||
Line 11: | Line 11: | ||
</p> | </p> | ||
Where: | |||
<table> | <table> | ||
<tr> | <tr> | ||
Line 20: | Line 20: | ||
<tr> | <tr> | ||
<th>location</th> | <th>location</th> | ||
<td>Valid only for [[Application Subsystem development#Parallel Query Option.2F204 .28PQO.29_considerations|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> | <td>Valid only for [[Application Subsystem development#Parallel Query Option.2F204 .28PQO.29_considerations|Parallel Query Option/204 service subsystems]], this is the CCAIN <code>LOCATION</code> parameter of the client node that activated the service subsystem. | ||
<p> | |||
<var class="term">location</var> is also the value of the <code>CLNT</code> field in the <var>LOGWHO</var> command output.</p></td> | |||
</tr> | </tr> | ||
</table> | </table> | ||
Line 30: | Line 32: | ||
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> | 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> | <p> | ||
For more information about <var>STOP SUBSYSTEM</var> when it specifies a subsystem that uses remote files, see [[PQO: Scattered APSY subsystems | For more information about <var>STOP SUBSYSTEM</var> when it specifies a subsystem that uses remote files, see [[PQO: Scattered APSY subsystems#STOP SUBSYSTEM command processing|STOP SUBSYSTEM command processing]]. </p> | ||
[[Category:Commands]] | [[Category:Commands]] |
Revision as of 17:02, 30 November 2016
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 |
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 STOP SUBSYSTEM command processing.