[zenithpaints]
Sort Program
Last Update: 20 July, 2002 7:56 PM
 
Sort Program
 
 
Section Links
Program Overview

Program Overview

          Before this program is used it is imperative that the validated file used has been produced 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.

          This program is used to sort the already validated transaction file into ascending customer code order. The resulting sorted file is then printed under suitable page headings. There is also an additional requirement to sort the file so that, if there are multiple transactions for the same customer, a creation type transaction should NOT be followed by any other valid transaction for that customer.

          The text file which contains the validated transaction records must be named 494792VF.DAT, and be located in the same directory from where the sort program is located and executed from. This is unless the user changes this default file name by entering additional program parameters at the command line. Below describes how the default file names can be overridden: -

          494792P2.exe <validated file> <sorted file> <printer>

The defaults file names are as follows: -

          Validated file           – 494792VF.DAT
          Sorted file               - 494792SD.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: -

          494792P2.exe 494792TD.DAT 494792VF.DAT test.txt

          However if the user only wishes to change the name of the validated file, they may enter the following command: -

          494792P2.exe VAL.DAT

Back Home

 
 
© Copyright 1999-2008 @incubus. All Rights Reserved. All trademarks acknowledged.