beautypg.com

HP NonStop G-Series User Manual

Page 109

background image

Command Interpreter

HP AutoSYNC User’s Guide522580-016

8-17

ADD SYNCFILESET

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 an OSS shell delimiter such as a space or a
semicolon (;) and so on. 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 "?" 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.

The command supports a set of built-in arguments. Each argument starts with
a pound sign (#) and is terminated by a TACL delimiter character such as
space, comma (,), or by a OSS shell delimiter such as space, semicolon (;),
and so on. Arguments are not case-sensitive.

The built-in arguments are the following:

°

#SOURCEFSET is replaced with the original source file set name.

°

#DESTFSET is replaced with the destination file set name.

This manual is related to the following products: