Enable Accounting
To enable accounting, insert the following statement into the server configuration file (edaserve.cfg):
smf_recno=smfnumber
where:
Is an integer in a range from 128 to 255, inclusive. This number represents the SMF number used by the accounting facility when it sends records to the SMF system.
By default, both RECTYPE pairs will be created when accounting is enabled. You can override the default by coding the following parameter on edaserve.cfg:
smf_subtype = {all|logon|query}
where:
Cuts all records. This is the default.
Cuts logon records only (RECTYPE pair 1 and 2).
Cuts query records only (RECTYPE pair 4 and 5).
Set the Accounting Field
Up to 40 characters can be supplied that appear in the SMF records field SMFOFA40. The SET BILLCODE command can be used in any support server profile to provide the account field information. The syntax is
SET BILLCODE=value
where:
Is the 1–40 characters to be used on each SMF record produced.
This information can also be set dynamically from a client application by coding an RPC with the SET command and executing it with the value as a parameter. WebFOCUS users can send the SET command to the server.