Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Accounting phase

In the accounting phase, openUTM determines the resources utilized per program unit run, calculates a weighted total from this figure and from the generated weights and fixed prices. openUTM then adds this result to the accounting unit counter of the UTM user. The value of this counter is contained in the accounting record which openUTM writes in the accounting file.

openUTM always writes an accounting record when a certain number of accounting units have been accumulated for the user, or when the user signs off and is not signed on to the UTM application via any other connection. The number of accounting units for which openUTM writes an accounting record is specified in the KDCDEF generation in ACCOUNT MAXUNIT=. You must note the following:

  • You should not select a value for MAXUNIT that is too small because writing accounting records too often could affect the performance of the application negatively.

  • You should not select a value for MAXUNIT that is too large because the accounting units that have not yet been written to the accounting file could be lost when the application crashes (accounting is not subject to transaction management).

After the accounting record has been written to the accounting file, the accounting unit counter and the counter for the number of TACs called are reset to zero.

Activating the accounting phase

With the KDCDEF control statement ACCOUNT ACC=ON, accounting is also activated for the UTM application in the UTM generation.

The accounting phase can also be activated and deactivated during live operation by the UTM administration:

  • Using the KDCAPPL ACCOUNT=ON command

  • Using WinAdmin/WebAdmin

  • Using the KDCADMI program call KC_MODIFY_OBJECT with
    obj_type=KC_DIAG_AND_ACCOUNT_PAR

In BS2000 accounting, the system administrator must activate the record type UTMA.

Deactivating the accounting phase

The accounting phase can only be deactivated by administration:

  • Using the KDCAPPL ACCOUNT=OFF command

  • Using WinAdmin/WebAdmin

  • Using the KDCADMI program call KC_MODIFY_OBJECT with
    obj_type=KC_DIAG_AND_ACCOUNT_PAR

     

Data of the accounting record

The accounting record is of record type UTMA. The accounting record contains the following data:

  • Time stamp of BS2000 accounting

  • Name of the UTM application

  • UTM user ID

  • Time the user signs on via the current connection

  • Value of the accounting unit counter

  • Number of TACs called with TACUNIT > 0 since the sign-on or since the last record was written

You can also collect calculation data while the accounting phase is running. This allows you to check the weights at any time.