AUDIT JOB

Syntax: AUDIT JOB "(usercode)WFLname ON pack"

The quotation marks are required.

Use this parameter to specify the name (and optional usercode and pack) of a WFL that you want DBServer to start after DBEngine has processed an audit file. DBServer passes the WFL an integer, which is the AFN (audit file number).

AUDIT JOB takes effect when both of the following circumstances are met:

  • The AFN changes.
  • There is a COMMIT.

You might use AUDIT JOB, for example, to initiate the Audit Remove WFL to remove an audit file from a secondary pack. For information, see Audit Remove Utility.

Note: You can combine the AUDIT ON and AUDIT JOB options as in the following syntax:

AUDIT ON packname JOB "WFLname"