AUDIT ONSyntax: AUDIT [“fileprefix”] ON media [OR media] [NO WAIT] where media is one of the following: [PRIMARY | SECONDARY] alternatepack [PRIMARY | SECONDARY] ORIGINAL FAMILY [PRIMARY | SECONDARY] TAPE The optional fileprefix parameter can specify a title prefix, enclosed in quotes. This enables processing of audit files that have been renamed. When the optional NO WAIT parameter appears, DBEngine will not wait when an audit file is missing. Instead, the worker will return DBM_AUD_UNAVAIL(7) to Tanker. PRIMARY refers to the primary audit (for example, BANKDB/AUDIT1234) and SECONDARY refers to the secondary audit (for example, BANKDB/2AUDIT1234). If you don’t specify PRIMARY or SECONDARY, then DATABridge will look for both if the database is declared to have duplicated audit. Use one of the AUDIT ON parameters to specify where the original (unfiltered) audit files are stored. This parameter overrides the audit pack specified in the DMSII CONTROL file. The location of the filtered audit files is specified by the FILTER parameter. Note: The AUDIT ON parameter does not specify where audit files are created; it specifies only where DATABridge will look for audit files. Examples: The following five examples of AUDIT ON parameters examples can be modified to meet your specific needs. In these examples, the database is called BANKDB 1234 is the stored audit file. The DASDL has the following statement:: AUDIT TRAIL ATTRIBUTES (PACK = PAUDIT, DUPLICATED ON PACK = SAUDIT) AUDIT ON ORIGINAL FAMILY % BANKDB/AUDIT1234 ON PAUDIT, or % BANKDB/2AUDIT1234 ON SAUDIT AUDIT ON SECONDARY SPARE % BANKDB/2AUDIT1234 ON SPARE only AUDIT ON SECONDARY TAPE % tape called BANKDB/2AUDIT1234 only AUDIT ON PRIMARY ORIGINAL FAMILY OR PRIMARY TAPE % BANKDB/AUDIT1234 ON PAUDIT or % tape called BANKDB/AUDIT1234 AUDIT ON SPARE OR ORIGINAL FAMILY OR TAPE % BANKDB/AUDIT1234 ON SPARE, or % BANKDB/2AUDIT1234 ON SPARE, or % BANKDB/AUDIT1234 ON PAUDIT, or % BANKDB/2AUDIT1234 ON SAUDIT, or % tape called BANKDB/AUDIT1234, or % tape called BANKDB/2AUDIT1234 Note: If you want the AUDIT ON option to look for the audit file on alternatepack, ORIGINAL FAMILY, and TAPE, use the AUDIT ON alternatepack OR ORIGINAL FAMILY OR TAPE parameter as in the last example (above). Otherwise, AUDIT ON alternatepack will only search on alternatepack. | ||
|