Run DBInfo in Normal Mode

Use this procedure to run DBInfo in normal mode. You can run DBInfo in normal mode at any time. This allows you to do any of the following:

  • Generate a report of various timestamps, update levels, etc., for a DMSII database by reading the DESCRIPTION file, DMSUPPORT file, and CONTROL file.

    The report also includes mainframe identification information, runtime parameters that DBEngine uses for tracking a particular database, and DATABridge licenses and software.

    The runtime parameters reflect default values, values in the global parameter file (DATA/ENGINE/CONTROL), and values in the database-specific parameter file (DATA/ENGINE/databasename/CONTROL or DATA/ENGINE/databasename/logicaldatabasename/CONTROL).

  • Display the current (active) AFN and ABSN
  • Determine the DMSII release level, whether guard files are in use, and the setting for INDEPENDENTTRANS
  • Return the number of sections in an audit file (See the REMOVEAUDITFILE subroutine in WFL/DATABRIDGE/SAMPLE/REMOVEAUDIT for an example.)

If you need to find the first quiet point in an audit trail from a specified AFN and ABSN, run DBInfo in interactive mode. See Run DBInfo in Interactive Mode.

If you are interested in the layout of your DMSII database, run the Lister accessory, explained in Chapter 8, Lister.

To run Info Utility in normal mode

  1. Start DBInfo in normal mode by doing one of the following:
    • To display the current (active) AFN for a specific database, type the command (including quotation marks)

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

    • To display the current database update level, type the command (including quotation marks)

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

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

    The WFL displays the information (AFN or update level). 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. You can have DBInfo return values to a WFL.

  2. (Optional) If you want to run DBInfo using your own WFL so that it returns certain values to your WFL, use the following table:

    Include this TASKVALUE

    To return this


    Current AFN


    Number of sections in the audit file


    Database update level