Download Reference Manual

Transcript
List of all utilities
Example:
rvssce -d /home/skk/out/test2.txt -s D43
The file /home/skk/out/test2.txt should be sent to the
station D43.
There is also a possibility to write the rvssce command in the file
$RVSPATH/init/rdmini.dat, so it can be executed e.g.
periodically.
Example:
opcmd
CMD="system
CMD='rvssce
-d
D:\Testdaten\test42.txt -s DL3'" repeat=04:00:00
In this example a file test42.txt will be sent every 4 hours to
the partner station DL3.
Inquiry about the Status of a rvs® Command
Syntax:
rvssce -c <Command number> -o <XML file >
Example:
rvssce -c 89 -o /home/skk/out/ausgabe.xml
This command line writes the status of the command number 89
into the file /home/skk/out/ausgabe.xml. The status of the
command 89 is e.g. terminated (<ended>).
Note: However the monitor parameter SSCREATE (see the User
Manual, chapter "The rvs® Parametersʼ̓ Overview", parameter
SSCREATE) must be set to 1. Only in this case the information
about the successfully completed commands are maintained in the
statistics database table SS. This does not cause performance
problems with the rvs® database.
In case of success the return code of rvssce is 0. Follows some
of possible error return cases:
#define
#define
#define
#define
RC_INVALID_ARG
ERROR_LOAD_LIBRARY
ERROR_GETPROCESSADDRESS
ERROR_CANNNOT_OPEN_XMLOUT
Reference Manual rvs® / Rev. 23.08.2005
®
© gedas deutschland GmbH / FB rvs Systems
11
12
13
14
55