Displaying the Current AFN

Follow these steps to display the current (active) AFN for a specific DMSII database:

  1. Start DBInfo in normal mode by typing the following command. You must include the quotes.

    START WFL/DATABRIDGE/DBINFO ("databasename", "AFN" [, logicaldatabasename])

    where databasename indicates the title of the DESCRIPTION file without the DESCRIPTION node.

  2. The WFL displays the current AFN. Since the current audit file number is returned in the DBInfo TASKVALUE attribute, you can alter the WFL to use that value in any way you see fit.