home *** CD-ROM | disk | FTP | other *** search
/ ftp.robelle3000.ai 2014 / 2014.06.ftp.robelle3000.ai.tar / ftp.robelle3000.ai / faq / s4.txt < prev    next >
Text File  |  1995-10-11  |  988b  |  31 lines

  1. Suprtool as a Database Integrity Tool.
  2.  
  3. Financial transactions are often processed in batches. Between jobs aborting,
  4. program bugs, and less-than-careful data fixes by MIS staff, these batches can
  5. get out-of-balance. Using the Total command can quickly verify that all
  6. transactions net to zero.
  7.  
  8. Do the debits equal the credits?
  9.  
  10.     :run suprtool.pub.robelle
  11.     >base     fms.gl,5,reader
  12.     >get      d-transactions
  13.     >output   $null
  14.     >total    trans-amt
  15.     >xeq
  16.  
  17.     Totals (SUN, JAN 29, 1995,  2:56 PM):
  18.     TRANS-AMT                           81451+
  19.     IN=6, OUT=6. CPU-Sec=1. Wall-Sec=1.
  20.  
  21. By default the results of the Total command are displayed on the screen
  22. ($STDLIST), but can be appended to the output file. To do, this you need to
  23. turn Set Squeeze Off and add a new Total command as follows:
  24.  
  25.    total $file filename,append
  26.  
  27. Up to 15 fields can be totalled in each pass.
  28.  
  29. [Taken from the "Ensuring Data Integrity Using Suprtool" tutorial
  30. given at Interex in Toronto.]
  31.