Previous Topic: Using Other CurrenciesNext Topic: Assigning User Codes


User Code/Account Codes

When a scan and accumulate run encounters a data set for the first time (no prior billing entry), a user/account code is assigned that becomes a part of its billing record in the DASDSPCB subfile. The user code assigned is significant in that billing reports are grouped and subtotaled for each unique user code. The default user code is the first 12 bytes of the data set name, but it can alternately be specified in any of the following ways:

Since the user code is assigned and placed in the billing subfile record the first time the data set is processed, the manner used to assign user codes should be implemented prior to running DASD billing; that is, user code assignments cannot be dynamically updated by changing the method by which they are assigned. To change an assigned user code, either user exit DSBUSREX must be used, or the billing subfile entries to be reassigned must be erased during the EXTEND processing by the use of the REMOVE parameter and DASD billing rerun. (Erasing destroys the affected records, which necessitates the rerun.)

A 40-character description can optionally be associated with each user code. It will be printed next to the user code when the billing totals are produced.