BCNotify

Use BCNotify to remotely launch scripts on a machine running the DATABridge Client service. BCNotify has two modes of operation, each of which has its own WFL:

Mode

WFL

Standard mode

WFL/DATABRIDGE/SAMPLE/BCNOTIFY

DBNotify compatible mode

WFL/DATABRIDGE/SAMPLE/DBNOTIFY

Standard mode accepts a single string parameter. This string parameter is a list of <keyword>=<value> pairs that are used to pass items such as the DMSII database (for obtaining the current AFN), the remote command to execute, parameters to pass to the command, and the remote data source.

DBNotify compatible mode also accepts a string parameter. The DBNotify WFL is provided only for back compatibility with the deprecated DBNotify program (OBJECT/DATABRIDGE/DBNOTIFY) and WFL (WFL/DATABRIDGE/DBNOTIFY), which are no longer supported. The BCNotify program is executed in a manner nearly identical to DBNotify.

For information about using BCNotify to automate client operations, see Chapter 8, "Automating Client Operations" in the DATABridge Client Administrator's Guide.

BCNotify WFL Parameters

The following table lists parameters to use with the BCNotify WFL.

This parameter

Does this

CMD
-or-
COMMAND

Identifies the script or executable on the remote system. This is a required parameter.

PARAMETERS
-or-
ARGS

Passes the command-line arguments to the command above. This is an optional parameter.

DATASOURCE
-or-
DSOURCE

Identifies the data source of the remote system. DATASOURCE is a required parameter and must be a valid data source.

DATABASE
-or
DB

Identifies the DMSII database. This parameter is optional and is currently used to obtain the current audit file.

Example

START WFL/DATABRIDGE/BCNOTIFY (“CMD=STARTPROCESS ARGS=P1 P2 P3 DATASOURCE=BANKDB”)

ST WFL/DATABRIDGE/BCNOTIFY(“DB=(DBUSER)TESTDB ON DBASE CMD=PROCESS DATASOURCE=TDB”)