DB2 Server for VM: System Administration


Starting the Accounting Facility

To start the application server in multiple user mode to collect accounting information:

  1. Log on to a database machine. (The database machine must have the ACCT operand specified on its OPTION directory control statement.)
  2. If you are reconnecting, IPL CMS to get a fresh machine.
  3. Start the SQLSTART EXEC with ACCOUNT=D. You can set all other initialization parameters as you would usually set them. For example:



     
    SQLSTART DB(DB010) ID(BOOT1) PARM(PARMID=WARM,NLRBU=1500,ACCOUNT=D)
    

    The file WARM SQLPARM is referenced in the PARMID parameter. The NLRBU and ACCOUNT parameters are specified on the command itself. The ACCOUNT parameter is a normal initialization parameter, so you can specify it in a CMS parameter file.

The database manager then automatically generates accounting records for all activity involving the database machine.

The database manager can also generate accounting records in single user mode for user programs, the DBS utility, and the preprocessors. Accounting records are not generated for:

If you specify ACCOUNT=D in any of those situations, the database manager displays a warning message and ignores the ACCOUNT parameter.

To generate accounting records for single user mode programs, specify ACCOUNT=D as you would for multiple user mode. For the DBS utility and the preprocessors, you must use the PARMID(filename) parameter to point to a CMS file that contains the ACCOUNT=D parameter.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]