beautypg.com

Fields, Limits, Record layout – Gasboy SCII POS User Manual

Page 63

background image

56

Disk journal layout

Point of Sale and Shift Change

Gasboy CFN Series

03/07/03

Fields

Fields are fixed length with ASCII characters (with the exception of descriptive text in general
purpose event records).


Text fields are type A0 and are padded on the right with ASCII spaces, with the exception of
variable-length text fields which are contained only in general purpose event records. Variable-
length text fields are type AV.


Numeric fields are always decimal and are padded on the left with zeros. There are several types of
numeric fields:

• unsigned integers are type U0,

• integers are type I0,

• fixed point is type Fn, where n is the default number of digits to the right of the decimal point.

Decimal points are not used with fixed point numbers and negative numbers have a negative
sign (‘-’) in the first position.

In addition to the above fields there are selection, currency, date, and time fields
• Selection fields are Sn, where n is the number of selections.

• Currency fields are Cn, where n is the number of digits to the right of the decimal point for

U.S. currency (dollars).

• Date fields are Dn, where n is 1 for year, 2 for year and month, and 3 for year, month and day.

• Time fields are type Tn, where n is 1 for hour, 2 for hour and minute, and 3 for hour, minute,

and second.

Limits

• The length of any record cannot exceed 255 characters, including the final CR and LF.

• The maximum number of fields in any single record type is 64.

• The maximum number of merchandise items in a transaction is 99.

• There is no theoretical limit on the number of records in one disk journal file.

RECORD LAYOUT

This section itemizes each field in each type of record. The following sections in this chapter
explain the fields.

This manual is related to the following products: