beautypg.com

Variables for use in command files, System variables – Gasboy CFN III Mgnr's Mnl V3.4 User Manual

Page 202

background image

Making Your Own Commands

Variables for Use in Command Files

Page 186

MDE-4315 CFN Series CFN III Manager’s Manual for Windows NT · August 2004

Variables for Use in Command Files

System Variables

The following system variables can be used in command files. (These variables
are also called “percent variables.”) Note that these are case sensitive. That
means they must be uppercase or lowercase, as shown here:

Name

Definition

%D

Date (MM/DD/YY format)

%T

Time (HH:MM AM/PM format)

%W

Day of week (Sun, Mon, Tue, Wed, Thu, Fri, Sat)

%Y

Date and time in YYMMDDHHMM format

%U

User number of user currently signed on

%P

Permission level of user currently signed on

%S

Current shift number (1, 2, or 3)

%Q

Shift sequence number: each shift change increments this number; wraps at 9999

%B#

Current drawer balance for drawer #

%I

Site ID of the site

%A

Number of input lines from command terminal waiting to be read (to test if user
pressed ENTER)

%V

Site version number

%J

Journal state:

0 = normal
1 = tmp.log on RAM drive has not been flushed to journal.log on the PC drive.

%L

Locale name:

0 = locale code
1 = quantity power
2 = money power
3 = fuel price power
4 = date format
5 = money character
6 = decimal character
7 = separation character

%K

Position of console keyswitch:

0 = off
1 = on
4 = supervisor
8 = manager

This manual is related to the following products: