beautypg.com

Format files, Log files – Gasboy SCII POS User Manual

Page 34

background image

Point of Sale and Shift Change

Report file formats

27

03/07/03

Gasboy CFN Series

LISTDAY.CMD

Executed in background, waits for day to close.

LISTNEXT.CMD

Executed in background to generate shift reports.

LISTONE.CMD

Executed in background to generate end-of-day reports.

MEMORYF.CMD

Backs up trans - usually a memory full cron.

NEWCLERK.CMD

(no longer used)

NEXTDAY.CMD

End the Day command file.

NEXTSHFT.CMD

End the Shift command file.

PRHOUR.CMD

Print hour report generator.

PRITEM.CMD

Print item report generator.

PRNTDROP.CMD

Executed in background to print safedrop slip.

PRNTRPT.CMD

Executed in background to print reports wen completed.

REPORT.CMD

Regenerate report command file.

REPRINT.CMD

Reprint report command file.

SAFEDROP.CMD

Record safe drop command file.

SETUP.CMD

Setup configuration utility.

VARIABLE.CMD

Display shift by console system variables.

DAY.CON

End-of-day report configuration file.

SHIFT.CON

Shift report configuration file.

CLERK.CON

Clerk report configuration file.

VERSION.VAR

Version of the standard reporting package.

Format files

Format files are text files produced by the Alter utility and stored on the Site Controller in the
P:BIN directory. The file extension for format files is .FMT.


Format files are read by the reporting package when generating reports. There is a format file for
each of the reports:
• DAY.FMT is used to format the end-of-day report, and

• SHIFT.FMT is used to format the shift report.

• CLERK.FMT is used to format the clerk report.

Log files

Log files are both read and created by the reporting package.
• JOURNAL.LOG is read by the reporting package to produce shift reports for the current day.

• Each time a report is generated, processing information is recorded in ERROR.LOG.


JOURNAL.LOG and ERROR.LOG are stored in the root directory.


When the day on the Site Controller is ended:
• The JOURNAL.LOG file is renamed PREVIOUS.LOG and an end-of-day report is produced.

• The PREVIOUS.LOG file is moved to the P:REPORTS directory.

• Prior to moving PREVIOUS.LOG to the REPORTS directory, the existing PREVIOUS.LOG

file in the REPORTS directory is renamed PREVIOUS.#, where # is a number ranging from 1
to %n, where %n is set using SETUP. The default value of %n is 10. Hence, in addition to the
current day’s transactions, up to n+1 days of transactions are maintained on the Site Controller
in the P:REPORTS directory.


Each time a final safe drop is made to the previous day (after the day close has occurred and prior
to the end-of-day report being processed), a CLOSECON.%C file is created in the root directory,
where %C is the POS number. The data in CLOSECON.%C is appended to PREVIOUS.LOG in
the P:REPORTS directory and the CLOSECON.%C file is deleted from the root directory.

This manual is related to the following products: