TEST command: Difference between revisions
Jump to navigation
Jump to search
m (Automatically generated page update) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
<dl> | <dl> | ||
<dt>Privileges | <dt>Privileges | ||
<dd>Defined in the subsystem definition | <dd>Defined in the [[System requirements for Application Subsystems#Overview of the Subsystem Management facility|subsystem]] definition | ||
<dt>Function | <dt>Function | ||
<dd>Sets up a single-user test environment for an application subsystem | <dd>Sets up a single-user test environment for an application subsystem | ||
</dl> | </dl> | ||
==Syntax== | ==Syntax== | ||
<p class="syntax">TEST [DEBUG] [STATS] [SUBSYSTEM] < | <p class="syntax">TEST [DEBUG] [STATS] [SUBSYSTEM] <span class="term">subsystemname</span> <span class="term">parameters</span> | ||
</p> | </p> | ||
Where: | |||
<table> | <table> | ||
<tr> | <tr> | ||
<th><var>DEBUG</var></th> | <th><var>DEBUG</var></th> | ||
<td> | <td>Displays the value of the communication global variable at the terminal before the next procedure is included. You can then specify a different procedure by entering another value. The procedure displayed is included next if you press ENTER without providing a new value.</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th><var>STATS</var></th> | <th><var>STATS</var></th> | ||
<td> | <td>Displays since-last statistics after the execution of each procedure.</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th><var>SUBSYSTEM</var></th> | <th><var>SUBSYSTEM</var></th> | ||
<td> | <td>Indicates that the term following it is the subsystem name.</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th>subsystemname</th> | <th>subsystemname</th> | ||
<td> | <td>The name of the application subsystem, comprised of a maximum of 10 characters.</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th>parameters</th> | <th>parameters</th> | ||
<td> | <td>Subsystem-specific parameters. As many as 255 characters of information can be entered.</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
==Usage notes== | ==Usage notes== | ||
<p>The TEST command sets up a single-user test environment for an application subsystem. The application subsystem must be stopped before entering the TEST command.</p> | <p> | ||
<p>All error and informational messages that are not suppressed by the user's MSGCTL parameter are displayed. | The <var>TEST</var> command sets up a single-user test environment for an application subsystem. The application subsystem must be stopped before entering the <var>TEST</var> command.</p> | ||
<p> | |||
All error and informational messages that are not suppressed by the user's <var>MSGCTL</var> parameter are displayed.</p> | |||
<p>For more information, see [[Application Subsystem development#Debugging and testing facilities|Debugging and testing facilities]].</p> | |||
[[Category:Commands]] | [[Category:Commands]] | ||
[[Category:Subsystem commands]] |
Latest revision as of 17:08, 23 March 2017
Summary
- Privileges
- Defined in the subsystem definition
- Function
- Sets up a single-user test environment for an application subsystem
Syntax
TEST [DEBUG] [STATS] [SUBSYSTEM] subsystemname parameters
Where:
DEBUG | Displays the value of the communication global variable at the terminal before the next procedure is included. You can then specify a different procedure by entering another value. The procedure displayed is included next if you press ENTER without providing a new value. |
---|---|
STATS | Displays since-last statistics after the execution of each procedure. |
SUBSYSTEM | Indicates that the term following it is the subsystem name. |
subsystemname | The name of the application subsystem, comprised of a maximum of 10 characters. |
parameters | Subsystem-specific parameters. As many as 255 characters of information can be entered. |
Usage notes
The TEST command sets up a single-user test environment for an application subsystem. The application subsystem must be stopped before entering the TEST command.
All error and informational messages that are not suppressed by the user's MSGCTL parameter are displayed.
For more information, see Debugging and testing facilities.