Syntax:
CONTROL [VAR varname] options
A GoServe control action (such as moving the audit file, resetting counters, or requesting statistics) is initiated, and a result string is either placed in a Rexx variable or returned to the client.
This is used for controlling the GoServe server from the filter, either directly or on request from a remote client or from another process on the same machine -- for information on ways to do this, see "Remote control of GoServe".
The possible options are:
The audit file is copied to the archive file (just as though the 'Move audit to archive' Actions menu item had been selected).
The specified GoServe counters and statistics are reset (after auditing, if appropriate). Any or all of the keywords may be given, in any order. Each works in the same way as the corresponding Actions menu item; RESPONSE refers to the response time record.
If ALL is used, all of the items are reset, and a record of the time is kept; this time will be shown on the display window and in any statistics requests.
The given string is returned; this can be used as a simple 'Loopback test'.
Current statistics and settings are returned. These include:
The result of a CONTROL command is a single string, which may include multiple lines, separated by Carriage Return-Line Feed (CR-LF, ASCII '0d0a'x) sequences. The exact format is not defined. The result string is either placed in a variable or returned to the client:
[ previous section | GoServe | next section ]
From 'goserve.doc', version 2.32.
Copyright © International Business Machines Corporation, 1993, 1995.
All rights reserved.