AutoSYNC Software User's Guide (Update 19)

Command Interpreter
HP AutoSYNC User’s Guide522580-020
8-109
SYNCHRONIZE
TRIGGER { tacl-command | oss-shell-command }
a TACL command or OSS shell command that is executed by AutoSYNC for
each file in the synchronized file set after the file has been moved to the
destination.
The command line contains four built-in arguments. Each argument starts with
a pound sign (#) and is terminated by a TACL delimiter character such as a
space or a comma, or by a OSS shell delimiter such as a space or a
semicolon. Arguments can be specified in either upper or lower case. In the
current release, AUTOSYNC supports the following built-in arguments:
#SYNCFILE is replaced with the destination file that has been created or
replaced by AutoSYNC. For OSS files the absolute pathname is specified.
#SOURCEFILE is replaced with the name of the original source file. For
OSS files the absolute pathname is specified.
#RECOVERFILE is replaced with the name of the file that was recovered
by AutoSYNC. If no archive name is found, AUTOSYNC substitutes the
placeholder question mark (?) for the file name. For OSS files the absolute
pathname is specified.
#MAPNAMES is replaced by the mapnames-file that is configured for the
syncfileset using the MAPNAMES option. If the MAPNAMES option is not
specified, AUTOSYNC substitutes the placeholder question mark (?) for
the mapnames-file. This option is applicable to Guardian syncfilesets only.
TRIGGERONFILESET { tacl-command | shell-command }
specifies a TACL or OSS shell command that is executed by AutoSYNC after
the complete file set has been successfully synchronized. This is in contrast
with the TRIGGER option that executes the TACL or shell command for each
file that is synchronized.
The trigger is executed if files have been replaced or purged during the
synchronization, or if a file error has occurred that did not cause the
synchronization to fail.
The trigger is not executed if no files have been replaced or purged during the
synchronization, or if an error other than a file error has occurred that caused
the synchronization to fail.
Note on SQL Shorthand Views. A SQL view has no modification timestamp. Instead
AutoSYNC uses creation timestamps. This prevents a shorthand view from being
synchronized every time the file set is synchronized.
However if TIMEEXACT is specified, the shorthand view will always be synchronized
because the creation time of the destination is always newer than the creation time of
the source. For further details on SQL View synchronization, see paragraph SQL
Views on page 3-8.