Professional Documents
Culture Documents
Terminal Offline Feature
Terminal Offline Feature
This edition applies to Release 1 of the IBM 4680 Supermarket Application Terminal Offline Feature Licensed Program (program
number 5669-032, order number 4095).
Changes are made occasionally to the information herein. Therefore, before using this publication in connection with the operation of
IBM systems, consult the latest IBM System/370 Bibliography of Industry Systems and Application Programs, GC20-0370, for the
editions that are applicable and current.
Any reference to an IBM program product in this publication is not intended to state or imply that only IBM’s program product may be
used. Any functionally equivalent program may be used instead.
It is possible that this publication may contain references to, or information about, IBM products (machines and programs) or services
that are not announced in your country. Such references or information must not be construed to mean that IBM intends to
announce such IBM products or services in your country.
Publications are not stocked at the address given below. Requests for IBM publications should be made to your IBM representative
or to the IBM branch office serving your locality.
A form for reader’s comments is provided at the back of this publication. If the form has been removed, comments may be
addressed to: IBM Corporation, Information Development, Department CJMA, P. O. Box 12195, Research Triangle Park, North
Carolina, U. S. A. 27709. IBM may use or distribute any of the information you supply in any way it believes appropriate without
incurring any obligation whatever. You may, of course, continue to use the information you supply.
This book is intended for planners, store managers, programmers, and all users of
the IBM 4680 Supermarket Application Terminal Offline Feature.
This book is divided into three parts to address the different audiences.
Part 1: Planning
Part 1 provides a general overview of the Terminal Offline Feature and a more
detailed discussion of planning for the Terminal Offline Feature files.
Installation and the personalization process are also covered in this part.
Chapter 1, “Introduction to the IBM 4680 Terminal Offline Feature”
Chapter 2, “Planning for Standalone Operations”
Chapter 3, “Estimating Storage Requirements for the Terminal Offline Files”
Chapter 4, “Planning and Installing the Terminal Offline Feature”
Chapter 5, “Personalization.”
Part 2: Programming
Chapter 6, “Programming Considerations” on page 6-1 is written for
programming personnel. It provides a discussion of the aspects of Terminal
Offline Feature operation that a store programmer must consider.
Chapter 6, “Programming Considerations”
Part 3: Guide to Operations
Part 3 is written for the personnel who will be using the Terminal Offline
Feature. It describes how the store controller operator and the terminal
operator use the Terminal Offline Feature.
Chapter 7, “Controller Operator Actions”
Chapter 8, “Terminal Operations.”
Appendix A, “Error and Warning Messages” provides a list of store controller and
terminal messages used by the Terminal Offline Feature
iii
Store System Library
The following chart relates each publication in the library to the task or tasks for
which it provides data. Choose the task you want to complete and find the
appropriate publication in the corresponding column.
See the “Related Publications” page for the application manuals that support these tasks.
v
In-Store Processing
In-Store Processing: Application Development Guide - SC30-3534
In-Store Processing: IBM AIX – Application Development Guide - SC30-3537
In-Store Processing: IBM OS/2 Extended Edition – Application Development Guide
- SC30-3538
In-Store Processing: IBM OS/400 – Application Development Guide - SC30-3535
In-Store Processing: IBM 4680 OS – Application Development Guide - SC30-3536
Networks
IBM Local Area Network Support Program - IBM P/N 83X7873
IBM PC Network Baseband Planning Guide - S68X-2269
IBM PC Network Broadband Guide - S68X-2269
IBM Token-Ring Network Introduction and Planning Guide - GA27-3677-2
Cabling
A Building Planning Guide for Communication Wiring - G320-8059
IBM Cabling System Planning and Installation Guide - GA27-3361
IBM Cabling System Catalog - G570-2040
IBM PC Network Broadband Guide - S68X-2269
IBM Token-Ring Network Introduction and Planning Guide - GA27-3677
Using the IBM Cabling System with Communication Products - GA27-3620
General Publications
Advanced Data Communications for Stores – General Information - GH20-2188
Distributed Systems Executive – General Information - GH19-6394
IBM Disk Operating System 4.0 - IBM P/N 6280256
IBM Proprinters - SC31-3793
IBM 3270 Emulation Feature for the IBM 4680 Store System - (Online with the
product)
IBM 4680 Support for COBOL Version 2 - (Online with the product)
IBM 4680 Store System Regression Tester - (Online with the product)
NetView Distribution Manager: General Information - GH19-6587
Systems Network Architecture: General Overview - GC30-3073
vii
viii Terminal Offline Feature
Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii
How to Use This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii
Store System Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iv
Related Publications — Software . . . . . . . . . . . . . . . . . . . . . . . . . . . v
Related Publications — Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . vi
General Publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Part 1: Planning
Part 2: Programming
Appendixes
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . X-1
Contents xi
xii Terminal Offline Feature
Figures
2-1. Updating the Terminal Item Record File . . . . . . . . . . . . . . . . . 2-4
4-1. Terminal Offline Feature Installation Main Menu . . . . . . . . . . . . . 4-2
Tables
0-1. Store System Library - Publication Grouping by Task . . . . . . . . . . iv
2-1. Record Reduction Example . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
6-1. Summary of Terminal Offline Feature Files . . . . . . . . . . . . . . . 6-2
Each standalone transaction is logged in the terminal transaction log, which is also
kept in terminal storage. When the controller becomes available again, the terminal
sends the terminal transaction log to the controller. The terminal also stops logging
transactions and using the terminal item record file for price lookup. Store
operation continues normally with the terminal looking up prices at the controller
and sending transactions to the controller for logging.
Hardware
The Terminal Offline Feature supports the use of either of the following types of
terminals:
¹ IBM 4683 Model A01
The Model A01 is equipped with 2 megabytes (Mb) of storage, which permits
the terminal item record file and the terminal translation log to be maintained in
storage.
¹ IBM 4683 Model 002
The Model 002 attaches to a Model A01 terminal. The Model 002 relies on the
attached Model A01 terminal for price lookup and transaction logging.
The Terminal Offline Feature requires the use of a fully configured IBM store
controller.
Software
The Terminal Offline Feature requires the use of the IBM 4680 Operating System,
Release 3, and the IBM 4680 Supermarket Application, Release 1. Refer to the
operating system installation instructions to determine the corrective diskette
number. The Terminal Offline Feature uses the in-memory-files capability of the
4680 Operating System, Release 3, to provide a terminal RAM disk for price lookup
and terminal transaction logging.
The terminal item record file is built at the controller. It contains price information
and descriptions of the items selected from the controller item record file. The
terminal item record file is only updated automatically when you use one of the
following methods of updating the controller item record file:
¹ Price Verification Procedure
¹ Controller Data Maintenance
¹ Delayed Data Maintenance.
Other methods of updating the controller item record file (such as using host keyed
file maintenance or replacing the controller item record file) do not automatically
update the terminal item record file.
Note: To use offline (standalone) price lookup, you must have sufficient disk
space in the controller to store two copies of the terminal item record file (the
controller copy and a work copy).
If you use the shortest item record possible (no optional item record fields and an
item code or department descriptor) the record length is reduced to:
46 bytes - (18 bytes + 4 bytes + 2 bytes + 3 bytes) = 19 bytes
For examples of how the size of the item record affects Terminal Offline Feature
operation, see Chapter 3, “Estimating Storage Requirements for the Terminal
Offline Files.”
Note: The 18 bytes saved by using either the department descriptor or the item
code is a result of eliminating the item descriptor. Using either the department
descriptor or the item code saves 18 bytes, but you cannot select both options to
save 36 bytes.
Department Descriptors
Department descriptors are special item records used to describe department
numbers. You define the department descriptors while personalizing the store
options during the Supermarket Application personalization process. If you specify
that department descriptors are to be used, looking up an item in standalone mode
causes the Terminal Offline Feature to use the department number to read the
appropriate department descriptor for an item. If an item has a department number
that does not have an associated department descriptor, the default department
descriptor (GENERAL MDSE) is used.
For more information on omitting items from the terminal item record file, see
“Omitting Items from the Terminal Item Record File” on page 7-2.
When a terminal loads its operating system and application, the terminal loads a
copy of the terminal item record file into its RAM disk. Immediately after the
terminal item record file is loaded into terminal storage, the controller copy and the
terminal copy of the terminal item record file are the same.
To reset the terminal maintenance control file, either reload or rebuild and reload
the terminal item record file. Follow the procedure given in “Rebuilding and
Reloading the Terminal Item Record File” on page 2-5 to reset the terminal
maintenance control file.
Using any one of these procedures updates the controller item record file, updates
the controller copy of the terminal item record file, and adds the changes to the
terminal maintenance control file. These procedures are the same with or without
the Terminal Offline Feature installed. For details on the procedures, refer to IBM
4680 Supermarket Application: Guide to Operations.
Figure 2-1 on page 2-4 provides an overview of the different methods of applying
item record changes to terminal storage.
For information on rebuilding and reloading with ADCS, see “Rebuild/Reload with
ADCS” on page 6-17.
If the number of changes to the controller item record file is small, the chances of
going into standalone mode before all updates are applied is also small. If potential
price differences are a concern, you should schedule your price changes after
business hours to eliminate the possibility of price differences.
When you apply a large number of price changes, you should devise a procedure
that conforms to your operation and eliminates the period of time in which terminals
do not have the latest prices. For example:
1. Schedule the maintenance for overnight.
2. Reload the terminals before the start of business or reload the terminals at
night (AC power must be left on).
3. Check the reload status.
If a Model A01 terminal has a Model 002 terminal attached, the Model A01 terminal
keeps separate transaction logs for itself and the Model 002 terminal.
Warning: If the store controller is still offline at closing time, you can turn off the
power switch at each terminal, but if AC power to the terminals is lost, you will lose
all logged transactions.
When the controller again becomes available, the information in the terminal
transaction log is sent to the controller one transaction at a time. During the
recovery process, new transactions take priority over recovered transactions.
Note: Controller reports will be incomplete until all standalone transactions are
recovered at the controller.
If the sales volume is not evenly distributed throughout the store, you can maximize
the amount of time terminals can log standalone transactions by planning how you
pair Model A01 terminals and Model 002 terminals. Pairing low-volume terminals
with high-volume terminals evenly distributes the standalone logging time and
prevents some pairs from having long logging times while other pairs have short
logging times.
Perform the following steps to determine if your terminal item record file will fit in
the RAM disk and the length of time a terminal can log transactions in standalone
mode:
1. Estimate available RAM disk space:
a. Estimate amount of terminal storage available for terminal RAM disk.
Available RAM disk space = storage available for RAM disk−1024 bytes
(1024 is the space required by the RAM
disk directory and terminal synchronization
file)
Optional item record field savings = 0 bytes (use all optional fields)
= 2 bytes (no linked item records)
= 3 bytes (no coupon families)
= 4 bytes (no user data fields used)
Note: All items in the controller item record file can be included, but if the
resulting terminal item record file is too large, you can omit items.
e. Determine the size of the terminal item record file (in bytes).
Note: 0.85 is the packing factor for the keyed file. Increasing the packing
factor beyond 0.85 is not recommended as it leads to excessively long
build times for the terminal item record file.
f. Determine the space required by the terminal item record file.
Required space = item record file size rounded up to the nearest multiple
of 512
Check that the space required by the terminal item record file (step 2f) is
smaller than the available RAM disk space (step 1b on page 3-1). If it is not
smaller, you must reduce the size of your terminal item record file.
3. Estimate the number of bytes logged per hour:
a. Estimate the number of transactions performed by each terminal per hour.
b. Estimate the number of items purchased per transaction.
c. Estimate the number of bytes per transaction.
This formula gives a rough estimate of the average number of bytes logged
per transaction. For a closer estimate, examine your transaction set and
the resulting transaction summary log records. For a definition of the
transaction summary log records, refer to the IBM 4680 Supermarket
Application: Programming Guide.
d. Estimate the number of bytes logged per hour.
Chapter 3. Estimating Storage Requirements for the Terminal Offline Files 3-3
Examples
The following examples shows how to use the formulas described in the preceding
section.
Available RAM disk space = storage available for RAM disk−1024 bytes
(1024 is the space required by the RAM
disk directory and terminal synchronization
file)
= 1,048,576 bytes−1024 bytes
= 1,047,552 bytes
Optional item record field savings = 7 bytes (no coupon families or user
data fields used)
Required space (402,432 bytes) is less than the available RAM disk space
(1 Mb). The terminal item record file will fit in the available space.
3. Estimate the number of bytes logged per hour:
a. Estimate the number of transactions per hour.
Storage for logging = storage available for RAM disk−space required for
terminal item record file
= 1,047,552−402,432 bytes
= 645,120 bytes
Chapter 3. Estimating Storage Requirements for the Terminal Offline Files 3-5
Example of Transaction Logging without Price Lookup
In this example, the user is not using terminal lookup and is using an IBM 4683
Model A01 without an attached IBM 4683 Model 002.
1. Estimate available RAM disk space:
a. Estimate amount of terminal storage available for terminal RAM disk.
Available RAM disk space = storage available for RAM disk−1024 bytes
(1024 is the space required by the RAM
disk directory and terminal synchronization
file)
= 1,048,576 bytes−1024 bytes
= 1,047,552 bytes
Storage for logging = storage available for RAM disk−space required for
terminal item record file
= 1,047,552−0 bytes
= 1,047,552 bytes
Chapter 3. Estimating Storage Requirements for the Terminal Offline Files 3-7
Example of Full Length Records and Attached Model 002
In this example, the user has selected a full descriptor for the item, has not omitted
any of the optional item record fields, is using an IBM 4683 Model A01 with an
attached IBM 4683 Model 002, and has a 25,000-item terminal item record file.
1. Estimate available RAM disk space:
a. Estimate amount of terminal storage available for terminal RAM disk.
Available RAM disk space = storage available for RAM disk−1024 bytes
(1024 is the space required by the RAM
disk directory and terminal synchronization
file)
= 1,048,576 bytes−1024 bytes
= 1,047,552 bytes
The item record file size (1,369,600 bytes) is larger than the available RAM
disk space (1,047,552 bytes), so the terminal item record file will not fit into
the RAM disk. You must reduce the number of items in the terminal item
record file, reduce the size of the records in the terminal item record file, or
specify not to use terminal lookup.
Chapter 3. Estimating Storage Requirements for the Terminal Offline Files 3-9
3-10 Terminal Offline Feature
Chapter 4. Planning and Installing the Terminal Offline
Feature
This chapter describes how to install the Terminal Offline Feature.
@
============================================================
| IBM 4680 Terminal Offline Feature Ver 1.0 |
| |
| 5669-032 (C) Copyright IBM Corp. 1988 |
| Licensed Material - Program Property of IBM |
------------------------------------------------------------
| Select one of the installation options below: |
| |
| 0- Print Installation Documentation (README.DOC) |
| 1- Install Terminal Offline Feature |
| Program and Default data files |
| 2- Install Programs only |
| 3- Install Default Data Files only |
| 4- Link feature programs |
| 5- View results of link step |
| 6- Copy linked feature programs to ADX_IPGM |
| |
| 9- Exit Installation Process |
| |
| TYPE YOUR SELECTION (0-6,9), THEN PRESS ENTER. |
| |
============================================================
Figure 4-1. Terminal Offline Feature Installation Main Menu
Feature Personalization
Before re-IPL of the terminals, choose the personalization options for your store.
Refer to Chapter 5, “Personalization.”
If terminal item record lookup is used (TERMINAL LOOKUP USED=YES), build the
Terminal Item Record file with the DDM option “Rebuild/Reload Terminal Item File.”
Refer to Chapter 7, “Controller Operator Actions.”
Personalization Process
Follow the steps below to display the personalization screens.
1. From the Supermarket Application Main menu, select option 6 - Application
Personalization.
2. From Application Personalization, select 6 - Terminal Logging/Item Lookup.
From Terminal Offline Feature Terminal Logging/Lookup, select 1 - Change
Store Options to view the Terminal Offline Feature personalization options,
which are contained on two screens. The Terminal Offline Feature
personalization consists of the following options:
¹ Log-warning messages
¹ Log-Full override required
¹ Terminal lookup used
¹ Offline price changes
¹ Number of records
¹ Description type
¹ Optional item record fields.
This option determines whether or not the terminal operator will be warned as the
terminal transaction log fills up the available memory. Warning messages begin
when the terminal is 75% full and continue with increasing frequency until the log is
full. If you specify YES, warning messages are displayed, including the log full
message. If you specify NO, warning messages are not displayed.
This option determines whether or not terminals will use the terminal item record
file for standalone price lookup. If you specify YES, standalone price lookup is
available. If you specify NO, standalone price lookup is not available, and the
terminal operator must enter prices during transactions.
This option determines whether or not you can enter price changes at a terminal
while it is operating in standalone mode. If you specify YES, you can enter price
changes at the terminal in standalone mode. The terminal operator can enter the
price changes, however, the manager key is required. An entry is written to the
exception log file. If you specify NO, you cannot enter price changes at a
standalone terminal.
Number of Records
Choose: 1 through 999999
Default: 10000
This option determines the maximum number of records for the terminal item
lookup file. The number you specify determines the space required by the terminal
item record file, which affects the time required to load the terminal item record file
into the terminal and the length of time the terminal can log transactions in
standalone mode. Enter the number of records that you will use for your terminal
item lookup file. If you choose to print a department descriptor instead of the item
code (refer to descriptor type 3 in “Descriptor Type” on page 5-3), each descriptor
is stored in the terminal item record file. Include the number of item records in this
option.
This option determines the type of descriptor that you will use in your terminal item
record file. Using a short descriptor (2), a department descriptor (3), or only an
item code (4) requires less storage, reducing the size of the terminal item record
file and increasing the length of time a terminal can log transactions in standalone
mode.
Enter one of the following four options to determine the type of descriptor:
Option Description
1 Full item descriptor
2 First 12 characters of descriptor only (short descriptor)
3 Department descriptor
4 Item code (no descriptor)
If you select option 1, the terminal item lookup file uses the full item descriptor, just
as if item lookup were being performed by the controller.
If you select option 2, the terminal item lookup file uses a short item descriptor,
which consists of the first 12 characters of the full item descriptor. This option
reduces the size of each item record by 6 bytes.
If you select option 3, the terminal item lookup file uses a department descriptor.
This option reduces the size of each item record by 18 bytes.
If you select option 4, the terminal item lookup file uses an item code instead of a
descriptor. This option also reduces the size of each item record by 18 bytes.
This option determines whether or not to include any of the optional item record
fields in the terminal item record file. Eliminating one or more of the fields reduces
the amount of storage required by the terminal item record file, reducing the size of
the terminal item record file and increasing the length of time a terminal can log
transactions in standalone mode.
If you specify YES for the user data fields, the user data fields will be included in
the terminal item record file. If you specify NO, the user data field will not be
included, which reduces the size of each item record by 4 bytes.
If you specify YES for the coupon family groups, the coupon family group fields will
be included in the terminal item record file. If you specify NO, the coupon family
groups will not be included, which reduces the size of each item record by 3 bytes.
If you specify YES for the linked item records, the linked item record fields will be
included in the terminal item record file. If you specify NO, the linked item record
codes will not be included, which reduces the size of each item record by 2 bytes.
Table 6-1 on page 6-2 gives a summary of the feature’s files. Its purpose is to
provide a handy reference for logical filenames. In the chart, each file is identified
by logical filename and description. The abbreviations used in the summary have
the following meanings:
Logical Filename: The logical name of the file.
File type: The type of file, which can be one of the following:
Dir = direct file
Keyed = keyed file
Ran = random file
Seq = sequential file
Var = work file, any type.
Maximum Length: The maximum record length in bytes.
Key Length: The length of the record key for keyed files.
Description: A description of the file.
File/Record Descriptions
In the descriptions, field lengths are given in bytes. Unless stated otherwise, totals,
counts, quantities, and amounts are kept as positive numbers.
Where a Y/N field is used, the value for that field is determined as follows:
0 No
-1 Yes
Certain files contain variable length records. The variable length fields in those
records are identified in the following ways:
vXX Gives the maximum size of the field. A length value is substituted for the
“XX”.
v Field length is indicated by comments in the file or record description.
Note: Offsets, in decimal, are provided for keyed files only.
Header Record
The layout of the Terminal Offline Operator Options Authorization File is as follows:
Filename: Terminal Offline Operator Options Authorization File
Logical filename: EAMGAOPA
Record Length: 2
Organization: Keyed
This file uses the same format as the Supermarket Application Report Descriptors
File (EAMRDESC). Refer to the IBM 4680 Supermarket Application: Programming
Guide for more information.
The file, which is created by the DDM timer task if not already present at system
IPL, contains one store record and one record for each terminal in the system.
The store record is used to prevent more than one terminal from loading the
Terminal Item Record file at one time. A terminal can only initiate the loading
process if the Load ID is 0000. A load ID of “9999” indicates EAMIMAGE is
currently being rebuilt and no terminal can load the file. The store record also
includes a flag controlled by the Close Reporting Totals application to inhibit
terminals exiting standalone while a store close is being initiated.
A terminal record is updated by the terminal to contain the build level of the
EAMIMAGE file when the loading of this file is completed successfully. The record
contains a flag set by the terminal while it is in the process of uploading saved
transaction data to the controller. During this time, a request to close reporting
totals does not take place unless forced by the operator.
Filename: Terminal Offline Load Level File
Logical filename: EAMGATLF
Record Length: 20
Organization: Keyed
Store Record
The layout of the Terminal Item Record File, Controller Copy, is as follows:
Filename: Terminal Item Record File, Controller Copy
Logical filename: EAMIMAGE
Record Length: Variable, 50 maximum
Organization: Keyed
The layout of this file will vary according to the record compression options you
specify in personalization.
The layout of this file will vary according to the record compression options you
specify in personalization.
The layout of this file is identical to the Controller Transaction Summary Log
(EAMTRANS). Refer to the IBM 4680 Supermarket Application: Programming
Guide for more information on the file layout.
The change to the layout of the controller item record file is as follows:
Filename: Item Record
Logical filename: EAMITEMR
The change to the layout of the Controller Transaction Summary Log header string
is as follows:
Filename: Controller Transaction Summary Log
Logical filename: EAMTRANx
A rebuild/reload request should be the last operation in any DDM batch that
changes the Terminal Item Record File. The request must have a separate
sequence number within the batch (normally the highest sequence number, which
is 99).
For the complete layout of the DDM Control File, refer to the IBM 4680
Supermarket Application: Programming Guide.
For the complete layout of the Exception Log File, refer to the IBM 4680
Supermarket Application: Programming Guide.
Both field values are set to -1 when there are no more transactions to be recovered
from terminal storage.
Hidden Options
Hidden options are options that are defined in the store options file but cannot be
altered through personalization. The terminal offline store options file,
\ADX_IPGM\EAMGAOPT.DAT is a random file. Because the hidden options are
included in this file, they can be modified.
To change these options, change the fields in the Terminal Offline Store Options
file (EAMGAOPT).
These commands make entries in the DDM Control File specifying the operation to
be performed. The terminal item record file is not changed until DDM executes the
commands.
I/O
Device/File Session Use
Name Description Number (See note)
EAMGAMSG Controller Message File 5 C
EAMGAOPT Feature Store Options File 8 C&T
EAMGATLF Terminal Load Level File 10 C&T
EAMIMAGE Terminal Item Record File (on 47 C
controller)
EAMTSYNC Terminal Synchronization File 48 T
EAMTMCFR Terminal Maintenance Control File 48 C&T
EAMGARLP Resource Locking Pipe 49 C&T
EAMITEMT Terminal Item Record File 50 T
WRKIMAGE Work Terminal Item Record File 51 C
EAMTLxxx Terminal Transaction Summary Log 51 T
(Writing)
EAMGAUTH Operator Authorization File 51 C
WRKTMCFR Work Maintenance Control File 52 C
EAMTLxxx Terminal Transaction Summary Log 52 T
(Reading)
EAMGAOPA Options Authorization File 52 C
EAMGARDS Report Descriptors 53 C
EAMGASDS Sales Descriptors 53 T
Note:
C Controller
T Terminal
You must install the Terminal Offline Feature and complete the personalization
process before you can perform these operations.
Note: No operator action is required to start terminal lookup, logging, or recovery
of transactions.
From the DDM Terminal Offline Feature menu, select option 1, Rebuild Terminal
Item Record File. DDM asks for confirmation, then includes the request in the
DDM queue to rebuild and reload the terminal item record file. When a terminal
loads its operating system and application, the terminal loads a copy of the terminal
item record file into its RAM disk.
Note: Option 8 on the DDM Main Menu and the DDM Terminal Offline Feature
menu only appear if you have installed the Terminal Offline Feature.
From the DDM Terminal Offline Feature menu, select option 2, Reload Terminal
Item Record File. DDM asks for confirmation, then includes the request in the
DDM queue to reload the terminal item record file.
Note: Option 9 on the DDM Main Menu and the DDM Terminal Offline Feature
menu only appear if you have installed the Terminal Offline Feature.
From the DDM Terminal Offline Feature menu, select option 3, Report Terminal
Reload Status. DDM displays a list of all terminals that have not loaded the
current terminal item record file.
Note: Option 9 on the DDM Main Menu and the DDM Terminal Offline Feature
menu only appear if you have installed the Terminal Offline Feature.
If your changes cause the terminal maintenance control file to exceed the threshold
size, a warning message is displayed indicating that the file has reached its
threshold size and should be reset. You can still add changes to the terminal
maintenance control file after the warning message is displayed, but you then run
the risk of using up your remaining disk space.
If you receive the warning message, you can use DDM to request a rebuild/reload
of the terminal item record file. Rebuilding or reloading the file resets the terminal
maintenance control file.
Authorization
The Supermarket Application Data Maintenance facility allows you to authorize
operators to perform functions and change files. Installation of the Terminal Offline
Feature adds screens to Data Maintenance that allow you to authorize controller
operators to rebuild and reload the Terminal Item Record file and to change
Terminal Offline Feature options. You can authorize, rebuild, and reload
separately. Refer to the IBM 4680 Supermarket Application: Guide to Operations
for more information on operator authorization. The access rules for the Terminal
Offline Feature are the same as those for the Supermarket Application.
The time taken for the controller to be brought fully up-to-date depends on factors
such as the number of terminals in the system, the transaction rate during offline
operation, and the duration of offline operation.
For accounting purposes, all transactions from the start of recovery until it
completes are deemed to belong to the same accounting period. This includes any
transactions entered during a closely followed period of offline operation while
recovery is in progress.
If a request is made to close reporting totals while one or more terminals are in
recovery, a screen will be displayed showing the terminal numbers. The operator
then has the option of leaving the close, by either pressing F3 and retrying later, or
forcing the close to continue by pressing Enter. Pressing Enter causes the
terminal to discard any transactions which have not been uploaded to the store
controller. These unrecovered transactions appear on the store reports as
“STANDALONE SALES”; however, detailed transaction information is lost.
The loss of data is equivalent to that resulting from an extended power failure
which causes the terminal to lose memory contents while in recovery.
While basic totals integrity is maintained through the use of standalone totals,
forcing the close to continue this way is only recommended when a close has to be
performed immediately or when a terminal fails while uploading transactions. For
maintaining data integrity, it is better to allow the recovery process to complete.
Close requests which do not perform an accounting or department totals close are
not affected in this way. An example is a close request for only the Item Movement
file or Exception Log. In effect, these file closes take a “snapshop” of the file at the
For the most part, the differences between online and standalone operation are not
noticeable at the terminal; however, the following items are different in standalone
mode:
¹ Receipts and displays
¹ Price verification procedure.
Note: No terminal operator action is required to start terminal lookup, logging, or
transaction recovery.
These changes will appear on the display as you are operating the terminal and will
also appear on the receipts.
The price verification procedure and price change procedure keying sequences are
outlined in the following sections. For more information on the price verification
procedure, refer to the IBM 4680 Supermarket Application: Guide to Operations.
Keying Sequence Discussion: Enter price verification number (6) first to request
price verification procedure. Press SIGN-ON key to start the procedure. Price
verification, date, time, and store-specified data are printed on the transaction
summary journal and on the customer receipt. The item code is required to verify
price. Item code is entered and the ENTER key is pressed. The item description
and unit price are printed for non-weight items. Press the TOTAL key, and the item
description and price are displayed. The display is followed by a completion
message with date and time which is printed on the transaction summary journal
and on the customer receipt.
Keying Sequence Discussion: After verifying a price, the price for the item
keyed is displayed. Enter the new price and press the PRICE key. The procedure
descriptor, item description, and new price print on the customer receipt and are
displayed.
If standalone price changes are not permitted, the message PRICE CHANGE NOT
ALLOWED is displayed.
RELOAD PENDING
PLEASE WAIT
Explanation: This terminal is waiting to reload the Terminal Item Record File. The reload
may be delayed by other terminals which must reload the file. Power to the terminal should
be left on until the reload completes.
User Response: Leave power to the terminal on until the reload completes.
**************************************
TRANSACTIONS nnnn - mmmm RECOVERED
RECOVERY ENDED DUE TO STORE CLOSE
TRANSACTIONS xxxx - yyyy NOT RECOVERED
**************************************
Explanation: Transaction numbers nnnn through mmmm were loggged in the terminal and
have been successfully sent to the controller. A store close was performed even though this
terminal still had transactions to send to the controller. Transaction numbers xxxx through
yyyy have been discarded and will appear in store reports as Standalone sales.
Note: If only one transaction is recovered or not recovered, the following messages will
replace appropriate lines:
TRANSACTION nnnn RECOVERED
TRANSACTION xxxx NOT RECOVERED
User Response: None
**************************************
POWER FAILURE OCCURRED
TRANSACTION xxxx NOT RECOVERED
**************************************
Explanation: Power was removed from the terminal long enough to cause memory
contents to be lost. Transaction number xxxx was logged in terminal memory but was not
sent to the controller.
User Response: None
*************************************************
TERMINAL ITEM BUILD COMPLETE AND RELOAD SCHEDULED
*************************************************
Explanation: The build of the terminal item record file is complete and the terminals have
been requested to reload their terminal item record file.
User Response: None. This message is issued for information only.
*************************************************
TERMINAL ITEM FILE RELOAD SCHEDULED
*************************************************
Explanation: The terminals have been requested to reload their terminal item record file.
User Response: None. This message is issued for information only.
Numerics E
4683 Model 002 1-2 EAMDMCTL 6-14
4683 Model A01 1-2 EAMEXCPT 6-15
EAMGAMSF 6-6
EAMGAOPA 6-7
A EAMGAOPT 6-4
AC power, removing 2-6 EAMGARDS 6-8
activating terminal configuration 4-5 EAMGASDS 6-8
ADCS 6-17 EAMGATLF 6-9
Advanced Data Communication for Stores 6-17 EAMGAUTH 6-7
EAMIMAGE 6-10
EAMITEMR 6-12
B EAMITEMT 6-10
build process 2-3
EAMTLxxx 6-12
EAMTMCFR 6-5
C EAMTSYNC 6-11
example of full records and attached model 002 3-8
Change Store Options menu 5-1
changes in receipts and displays 8-1 example of short records 3-4
changing item records 2-3, 7-2 example of transaction logging without price
controller lookup 3-6
operations 7-1—7-4 examples of estimating standalone logging time 3-4
reports 2-6 examples of estimating standalone time 3-9
required type 4-1 exception log file 6-15
standalone 1-1
controller data maintenance 2-3, 7-2
controller item record file
F
file maintenance 1-1
changes to file 6-12
file types 6-1
updating 2-3, 7-2
files
coupon family groups 2-2, 5-4
controller item record 6-12
DDM control 6-14
D exception log file 6-15
file/record descriptions 6-3
data field types 6-3
Data Maintenance 7-2 I/O session numbers 6-18
DDM layout 6-3—6-15
See Delayed Data Maintenance (DDM) list 6-2
DDM control file 6-14 terminal item record 6-10
Delayed Data Maintenance (DDM) terminal item record, controller copy 6-10
build process 2-3 terminal maintenance control 6-5
changing item records 2-3, 7-2 terminal offline controller message 6-6
control file 6-14 terminal offline load level 6-9
rebuild option 7-1 terminal offline operator authorization 6-7
rebuild/reload option 2-5 terminal offline operator options authorization 6-7
reload option 2-5, 7-1 terminal offline report descriptors 6-8
report terminal reload status option 2-5, 7-2 terminal offline sales descriptors 6-8
Descriptor Type personalization option 5-3 terminal offline store options 6-4, 6-16
descriptor types 2-2 terminal synchronization 3-1, 6-11
on receipts and displays 8-1 terminal transaction summary log 6-12
personalization option 5-3 types 6-1
displays 8-1 updating 2-5
I M
I/O session numbers 6-18 messages
installation menu 4-2 controller 6-6, A-3
installing the Terminal Offline Feature journal roll 8-1
prerequisites 4-1 log full warning 2-7, 8-1
procedures for numbered A-1—A-5
activating terminal configuration 4-5 reset terminal maintenance control file 2-3
installing the Terminal Offline Feature 4-2 terminal display A-1, A-5
installing User/Feature exits 4-1 terminal printer A-6
printing README.DOC 4-3 unnumbered A-5—A-7
re-IPLing the terminals 4-5 warning 5-1, 7-2
item record file modifying the item record file 2-3
controller
layout 6-12
methods of updating 2-3
N
Number of Records personalization option 5-2
updating 2-1, 2-3
use in build process 2-3
offline (standalone) changes 2-5
terminal
O
offline (standalone) price changes 2-5, 5-2
applying changes 2-3 Offline Price Changes personalization option 5-2
building 7-1 Optional Item Record Fields personalization option 5-4
description 1-1, 2-1 Override Required personalization option 5-1
estimating size 3-1
file maintenance 1-1
initial loading 2-3 P
methods of updating 2-3 packing factor 3-2, 6-16
modifying 7-2 personalization
omitting items 2-2 options
planning 2-1 Descriptor Types 5-3
rebuild and reload 2-5 Log Warning Messages 5-1
rebuilding 2-3 Number of Records 5-2
reloading 2-3, 7-1 Offline Price Changes 5-2, 8-2
space required 3-2 Optional Item Record Fields 5-4
terminal lookup used 5-2 Override Required 5-1
updating 2-3 Terminal Lookup Used 5-2
item records procedure 5-1—5-4
changing 7-2 use in build process 2-3
methods 2-3, 7-2
Index X-3
User/Feature exits 4-1
W
warning messages 5-1
We hope you find this publication useful, readable, and technically accurate, but only you can tell us!
Your comments and suggestions will help us improve our technical publications. Please take a few
minutes to let us know what you think by completing this form. If you are in the U.S.A., you can mail this
form postage free or fax it to us at 1-800-253-3520. Elsewhere, your local IBM branch office or
representative will forward your comments or you may mail them directly to us.
Overall, how satisfied are you with the information in this book? Satisfied Dissatisfied
Ø Ø
How satisfied are you that the information in this book is: Satisfied Dissatisfied
Accurate Ø Ø
Complete Ø Ø
Easy to find Ø Ø
Easy to understand Ø Ø
Well organized Ø Ø
Applicable to your task Ø Ø
Thank you for your comments. If you would like a reply, provide the necessary information below.
Name Address
Company or Organization
Phone No.
Cut or Fold
Tell Us What You Think!
SC30-3512-00 ÉÂÔÙ Along Line
NO POSTAGE
NECESSARY
IF MAILED IN THE
UNITED STATES
Cut or Fold
SC30-3512-00 Along Line
ÉÂÔÙ
Printed in U.S.A.
SC30-3512-00