CHARGE-TO Command

The CHARGE-TO command lets the user specify a charge-account to which system use is charged. CHARGE-TO allows users who work in several system accounts to be grouped together for billing purposes. Users can then keep track of computer usage for different tasks during the same work session.

Format

CHARGE-TO charge-acct

Parameter(s)

charge-acct

Name of the charge-account you want system use to be charged to. charge-acct can be either a system account which is set up for charge purposes, or it can be any character string.

Description

After the CHARGE-TO command is entered, system use is charged to account *charge-acct.

account

Name of the account the user is logged on to.

charge-acct

Name of the charge-account that records subsequent system usage.

The system displays these statistics for the current session:

Connect Time

Number of minutes the session has lasted.

CPU

Amount of CPU time in tenths of a CPU second during the session.

LPTR pages

Number of line printer pages generated during the session.

Charge statistics are recorded in the system-level Accounting History file (ACC). For each currently active process the Accounting History file contains a separate entry that records the logon date, logon time, user’s name, charge units, and number of printer pages generated by that process.

You can verify the new charge-account by entering the WHO command.

For example, Joan is a user whose account gives her access to ACCOUNTING and PERSONNEL files. The company wants her computer time billed to each specific department for which she works. The following example first displays the name of her account, then uses the CHARGE-TO command to begin charging her system usage to the charge-account JOAN*PERSONNEL. The second WHO command confirms that system usage is now being charged to JOAN*PERSONNEL:

>WHO

>CHARGE-TO PERSONNEL

 

[] Connect time=10 mins.; CPU=25 units; LPTR pages= 3     []

 

>WHO

4 JOAN*PERSONNEL

 

>

If the CHARGE-TO command is subsequently entered without an argument, computer usage is again charged to the original account. For example:

[] Connect time= 1 mins.; CPU= 0 units; LPTR pages= 0      []

 

>WHO

4 JOAN

 

>

When the CHARGE-TO command is entered without an account name, usage statistics are displayed for the current account, then system use is charged back to the original account. The accounting statistics are updated in the ACC file.