Previous Topic: Report Control Statements

Next Topic: CONFIG Statement


BUDGET Statement

Position

Field Length

Field Name

Notes

1

1

Set Code

Optional

2-9

8

Statement Type

BUDGET

10

1

CPU Identification

 

11-18

8

VM Account number

 

19-34

16

VM Account number or User Accounting Table information

 

35-40

6

Date

YYMMDD

41-48

8

VM Userid

 

49-54

6

Time

HHMMSS

55-74

20

Blanks

 

75-80

6

Budget Amount

999999V; dollars

This statement, identified by the statement type BUDGET, is optional. The BUDGET statement provides a mechanism by which you can manually introduce budget figures to the Report Writer and compare them to actual costs for a given period of time. Budget figures may be associated with a specific job or with any summarization level (account, department, project, and so forth).

Each BUDGET statement introduced to the Report Writer is formatted into an accounting record to be sorted and reported on as any other input. All BUDGET statement fields are moved into the corresponding fields in the accounting record. For processing purposes, the record is treated as a one-step job similar to those generated by CREDIT and DEBIT statements.

The Budget Amount, in dollars, is carried by the Report Writer and made available for display as DE ID 81 in the VM Output Data Elements Table.

The difference between the Budget Amount and the Total Charge (DE ID 46) can be displayed at any level as the Over-Under Budget figure, DE ID 82. The Percent Budget Spent, DE ID 83 can reflect what percent of the Budget Amount has been spent at any display level.

The following example illustrates a typical BUDGET statement setup:

                                              position 75 x
ABUDGET 6        AAA             8409                     125000

This BUDGET statement for Report A is to be applied against CPU Identification 6. The account number AAA, is assumed to be in the first three characters of the Accounting Fields information. The current September budget control report is to reflect a $125,000 budget for account AAA. Note that the Budget Amount field on the BUDGET statement is in dollars format with no cents.