Copying to a target file, Copying to a target file -13, Input from ascii merge file – Gasboy CFN III Manager Manual V3.6 User Manual
Page 151
MDE-4871 CFN III Manager’s Manual for Windows® XP Embedded - Version 3.6 · August 2010
Page 14-13
Merge Updates to/from File
Lookup Program
Copying to a Target File
Use the Input and Merge items to read data into a target LOOKUP.DTA file through an ASCII
merge file created from a source LOOKUP.DTA file.
• The Input item lets you select which fields in the target file will be replaced (overwritten)
by the data for those fields in the ASCII merge file.
• The Merge item automatically overwrites all fields in the target file that were tagged with
replace when the Output or Append item was used to make the ASCII merge file.
Input from ASCII Merge File
The version of the long Input menu that you see the very first time you use it shows each field
with (replace). However, if you have used the menu previously, the changes you made from
replace to leave will still be shown-the assumption being that what you have done before, you
may well want to do again in the same way.
Merge selected fields from ASCII merge file, select fields to merge
Press ESCAPE to exit
Lookup number
* (replace)
Lookup type
* (replace)
Tender type
: (replace)
Tender subtype
: (replace)
Account field 1
: (leave)
Account field 2
: (leave)
Account field 3
: (leave)
Exp date
: (replace)
Limitation code
: (leave)
Auth code
: (replace)
Price level
: (leave)
Require odometer
:
(replace)
Message
: (replace)
Require manual #
:
(replace)
Rejection code
: (replace)
Require PIN
:
(replace)
PIN
: (replace)
Ask for $ amount
:
(replace)
Is all the above correct? [y]
A sample version of the Input menu looks like this:
Replace means that the current data for that field in the target LOOKUP.DTA file will be
overwritten by the data in the ASCII merge file.
Leave means that the data for that field in the target LOOKUP.DTA file will not be changed
by the data in the ASCII merge file.
To change fields, answer the Is all the above correct? [y] prompt by entering N. Use the up
and down arrow keys to position the cursor by each field you want to change, then respond to
the Merge this field? (y/n) prompt. At the end of the menu or when you press
, you will
again be asked if all the above is correct.
When you press Enter at the Is all the above correct? [y] prompt, you are prompted:
Enter filename of ASCII merge file without the extension (.ASC assumed)
When you enter a filename, the Lookup program processes the ASCII data and copies the
fields you indicated to the target LOOKUP.DTA file. When finished, it displays the number of
records processed, which is also the number of records in the ASCII merge file.
→