repubBatch nodeURL -[hsntpV] [-b startTime] [-l logPublishPath] [-e endTime] [-d logDirectory] deviceID [deviceID...]


The repubBatch utility is a wrapper for logPublish that enables republishing SIAM packets to the Shore Side Data System (SSDS) in batch mode.
It is typically used to republish all data from a SIAM node during a period when the connection between the SIAM node and SSDS was unavailable.

It uses the same options as the logPublish utility; the same options are used for all device IDs specified.
In addition, it adds a verbose output mode (for debugging) and an option to specify an alternative logPublish version (if there are multiple SIAM versions installed).


Option Description Values
nodeURL IP address or host name of SIAM node e.g.,
-d logDirectory Path to log files Uses current working directory by default
-h Print usage message -
-l logPublishDirectory Path to logPublish utility Uses version in current path by default
-s Sticky - record last sequence number in file (1). On subsequent sticky calls, publish sequence numbers -
-n No wrap - do not use Exportable wrapper -
-t Test mode, i.e., do everything but publish -
-p Print, i.e., print packets (w/ -test only) -

-b startTime

-e endTime

Publish packets from within the specified time window. startTime and endTime are date/time strings using the format:
The time should be specified in UTC(?)
04/01/2010, 03/15/2009T11:34

long (64-bit) integer uniquely identifying the instrument service

filter utilities use deviceIDs instead of instrument ports to specify an instrument
14533,997,1003, etc.
-V Verbose output -

Example output:



The following environment variables must be set:

Variable Description Example
JAVA_HOME location of Java installation
/j9, /opt/java/jdk1.3.1, etc.
JAVA Path to JVM command For MMC

For Sun JVM (e.g. linux, win32, mac OS)
SIAM_HOME top of the SIAM directory tree -
SIAM_CLASSPATH Path including all SIAM and supporting classes For MMC

For linux/win32

See Also