| Program
Overview
Before
this program is used it is imperative that the sorted file used
has been produced by the Sort program (494792P2.exe), and prior
to this has been validated by the validation program (494792P1.exe).
If this is not the case then the outcome of this program is not
guaranteed to be in anyway reliable or useable, and the Customer
Master file created can not be trusted in any shape or form.
The
sorted transaction file from the Sort Program (494792P2.exe) is
used to update a Customer Master file, and create a new generation
of that master file. Reference is made to an indexed sequential
Stock master file for pricing information. Transactions that can
not be actioned are reported on the printer under suitable headings
with an appropriate error message.
The
text file which contains the sorted transaction records must be
named 494792SD.DAT, the customer master file must be named CUSTMAST.DAT,
and both must be located in the same directory from where the update
program is located and executed from. The new customer master that
is created will be named 494792VF.DAT, and will be located within
the same directory as where the program was executed from. This
is unless the user changes these default file names by entering
additional program parameters at the command line. Below describes
how the default file names can be overridden: -
494792P3.exe <sorted file>
<customer file> <new customer file> <printer>
The
defaults file names are as follows: -
Sorted
file - 494792SD.DAT
Customer
file - CUSTMAST.DAT
New
Customer file - 494792NF.DAT
Printer
- PRN
If
the user wishes to override one of these files they must also enter
the file names of all the files preceding it. For example to override
the printer to a text file named test.txt, they must enter the following
command: -
494792P3.exe 494792SD.DAT CUSTMAST.DAT
494792NF.DAT test.txt
However
if the user only wishes to change the name of the sorted file, they
may enter the following command: -
494792P2.exe SORTED.DAT
The overriding of the default
file names is mainly for test purposes or where there is a need
to do so. Such a need may arise when there is a need update an old
master file with some old data, which maybe required to reprint
a report. The everyday users of this program need not even have
to be aware of this overriding feature.
Back
Home
|