Gets the server information for the currently accessed server.
Syntax:
When the fsview has been initialized using FSV-C the callback uses the following syntax:
call FSV-C-get-server-info using fsvw-data-block
When the fsview has been initialized using FSC-C-long-password the callback uses the following syntax:
call FSV-C-get-server-info using fsvw2-data-block
Parameters:
Parameters when the fsview has been initialized using FSV-C (fsvw-data-block):
- fsvw-server-name
- pic x(20).
- fsvw-server-startup
- pic x(20).
- fsvw-server-usage
- pic x(4).
- fsvw-timing-io-cnt
- pic x(4) comp-x.
- fsvw-trace-on
- pic x comp-x.
Parameters when the fsview has been initialized using FSC-C-long-password (fsvw2-data-block):
- fsvw2-server-name
- pic x(20).
- fsvw2-server-startup
- pic x(20).
- fsvw2-server-usage
- pic x(4).
- fsvw2-timing-io-cnt
- pic x(4) comp-x.
- fsvw2-trace-on
- pic x comp-x.
See
FSVIEW Datablock or
FSVW2 Datablock for a complete definition of the
fsvw-data-block or
fsvw2-data-block respectively.
On Exit:
When fsview has been initialized using FSV-C:
- fsvw-server-name
- The name of the currently selected server. This is the name that the Fileshare Server was started with in the
/s option.
- fsvw-server-startup
- The time and date when the server was started, in the format hh:mm:ss dd-mm-yy.
- fsvw-server-usage
- The proportion of current execution time that the server is actually processing requests.
- fsvw-timing-io-cnt
- The number of input and output operations per second.
- fsvw-trace-on
- The trace modes that are currently on.
When fsview has been initialized using FSV-C-long-password:
- fsvw2-server-name
- The name of the currently selected server. This is the name that the Fileshare Server was started with in the
/s option.
- fsvw2-server-startup
- The time and date when the server was started, in the format hh:mm:ss dd-mm-yy.
- fsvw2-server-usage
- The proportion of current execution time that the server is actually processing requests.
- fsvw2-timing-io-cnt
- The number of input and output operations per second.
- fsvw2-trace-on
- The trace modes that are currently on.
Comments:
The success of the call can be checked by examining RETURN-CODE.