Run the Tanker Accessory
For each DMSII database, you must run Tanker.
- First, to create a parameter file for the specified database
- Second, to put the Tanker accessory in the mix, where it runs continuously until you terminate it
Whenever you start WFL/DATABRIDGE/TANKER, Tanker looks for the last commit in the filtered audit file and resumes filtering from that point. Tanker performs a commit at the end of each transaction group and then updates the header.
To run Tanker
- Define the filters you want to use in DATA/GENFORMAT/databasename/CONTROL. See Creating a Filter.
- Compile a tailored support library. See Tailoring a Support Library.
- From CANDE, start Tanker by entering one of the following commands. You must include the quotation marks.
START WFL/DATABRIDGE/TANKER ("databasename")
where databasename indicates the title of the DESCRIPTION file without the DESCRIPTION node.
— or —
START WFL/DATABRIDGE/TANKER ("databasename", "logicaldatabasename")
Example:
START WFL/DATABRIDGE/TANKER ("(PROD)INVENTORY ON DEVPACK")
indicates that Tanker should use this file
(PROD)DESCRIPTION/INVENTORY ON DEVPACK
When you run Tanker, a parameter file (such as, DATA/TANKER/databasename/CONTROL) is created.
- Edit the parameter file that was created in step 3 to include all of the filters you created via the DBGenFormat utility in step 1.
- Run Tanker again using the following syntax. You must include the quotation marks.
START WFL/DATABRIDGE/TANKER ("databasename")
— or —
START WFL/DATABRIDGE/TANKER ("databasename", "logicaldatabasename")
This time, Tanker uses the Tanker parameter file (DATA/TANKER/databasename/CONTROL or DATA/TANKER/logicaldatabasename/CONTROL) to filter audit files according to the filters you created.
Note: If the DBEngine parameter file has READ ACTIVE AUDIT = TRUE, Tanker can filter up to (and include) the active audit file.
- Make sure that each user-written accessory that uses pre-filtered audit files calls the DBINITFILTER entry point in the Engine. For more information, see Preparing Accessories for Tanker.
- To check the status of Tanker or to terminate it, see the next section, Tanker Commands.
|