Gasboy CFN Series CFN II Quick Reference User Manual
Page 18

CFN II Quick Reference
14
C09159 Rev. 2238
the second number, length, if present,
specifies how many characters after the
offset will be included in variable
-or-
variable ? filename sets variable to exact length
in bytes of disk file named by filename
-or-
variable # string sets variable to length in
characters of string
-or-
variable := number_value [{+ | - | * | / | % | ^}
number_value] . . . sets variable to result of
numeric expression
-or-
set variable < format data allows a number to
be formatted into a user variable using the
same format options available for the P1
option in ECHO. Useful for converting the
internal format of numbers in command files
to a form that can be used a input for
commands that require decimal points in a
correct place.
Four of the operators (=, @, $, and ~) can be
followed by one of these three modifiers:
B stands for Boolean. If a 1, y, or Y is entered,
a y is stored. If any other character is
entered, an n is stored.
M stands for configured monetary units. In the
United States, the default configuration is
for two decimal places (xx.xx) for cents as
hundredths of a dollar
Q stands for configured quantity units. The
default configuration is for three decimal
places (xx.xxx) for thousandths of a unit.
STATUS disk-based command to print selected site
status information.
Options: [B][C][D][H][N][S][T][U][V][!]
With no arguments, defaults to VTS
B backup; backs up user data in a file of your
choosing (enter the command as
STATUS;>>filename B).
C CPU; calculates percentage of CPU being
used at site
D prints daily settlement control information
H host; reports last transaction number sent to
CFN host
N no-sale; reports all non-zero no-sale
counters
O oldest; returns oldest transaction number as
its error code %E
R reports; prints reports on users (sign-ons),
including no-sales, item voids, and length
user was signed on. Default report is for
previous shift. A character following the R
indicates the period requested:
C = current shift
D = current day
Y = yesterday
T - cumulative totals
1 = previous shift
2 = one before previous shift
3 = two before previous shift
P = cumulative totals at last day-change
S
switches; reports current DIP switch settings
T transaction table; reports how many more
transactions will fit in the transaction table
U unpaid; reports all non-zero unpaid counters
V version; reports operating system version
number and release level
!
repeat; causes specified report to repeat
every 1 second; for use with CRT
STOP (70) shuts down a site.
Options: AI
A option halts pumping transactions
I
option does not wait for site to stop
SUbtract ALlocation (81) subtracts from an
allocation totalizer.
Option: C
SUbtract DRawer (71) subtracts from cash in
drawer.
Option: C
SUbtract INventory (141) subtracts from inventory
for a product.
Option: C
SUbtract TAnk (72) subtracts from tank inventory
counter.
Option: C
SWAPCOPY disk-based command to copy file1
from one floppy disk to another.
Options: [file1 [file2]] | + | -
-or-
+
copy the entire contents on one floppy disk
to another if you have a two-floppy-drive
system
-or-
-
copy the entire contents on one floppy disk
to another if you have a one-floppy-drive
system (this shuts down the site)
SYSBACK disk-based command to back up all
system tables in RAM, except transactions, to the
SYSBACK.DTA file.