Run Info Utility in Normal Mode

Use this procedure to run the DATABridge Info utility in normal mode. You can run the Info utility 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, Enruntime parameters that the Engine 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 guardfiles 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 DATABridge Info in interactive mode. See Run Info Utility in Interactive Mode.

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

To run Info Utility in normal mode

  1. Start the Info utility 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 DATABridge Info TASKVALUE attribute, you can alter the WFL to use that value in any way you see fit. You can have DATABridge Info return values to a WFL

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

    Include this TASKVALUE

    To return this

    2

    Current AFN

    3

    Number of sections in the audit file

    4

    Database update level