Example, Accounting files description of fields – HP QMS 4060 User Manual

Page 68

Advertising
background image

Operator Control

Menu

QMS 4060 Print System Reference

4-34

n

Tag Identifiers

These three-digit numbers are used to identify fields. The three-
digit number is used instead of a name to minimize use of disk
space. The Dictionary file (ACC.DIC) provides the field names
associated with each tag identifier.

n

String Information

String information for record field values is stored inside braces
(for example, {this is a string}). This allows spaces within strings
and stores only the necessary characters of a string value. String
fields for which no value is specified are stored as {}, instead of
using blanks or the maximum field size.

n

New Records

New records are separated by a <CR> character to increase
readability.

n

Separators

A typical record in any of the accounting files is a sequence of
pairs of tag identifiers and field values separated by commas. The
tag identifier and field value are separated by a colon.

Example

The following is an example of the format of an accounting file record:

1: 3, 2:{this is a string}, <CR>

In this example, the record has fields identified by tags 1 and 2. Since
these values don't use 3 digits for the tag identifier, spaces are stored
instead, to provide consistency and simplicity while using only a small
amount of extra space. In this example, the value for the field tagged
1 is the integer 3 and the value for the field tagged 2 is a string. The
<CR> represents the carriage return character.

Accounting Files Description of Fields

This section includes examples of a job accounting file, a paper
accounting file, and a status accounting file. Each example is followed

Advertising