home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR4 / THDUTL36.ZIP / PROCESS.DAT < prev    next >
Text File  |  1993-11-17  |  5KB  |  163 lines

  1.  
  2.     THDUTL V3.00 B03 and later, will provide an error message with the
  3.     process and situation indicated. The program will also list one or
  4.     two files which were currently or recently used. Find the specific
  5.     situation below and refer to the process to determine the problem.
  6.  
  7.     Process = What the program was doing at the time of the error.
  8.               The files used in the process are indicated.
  9.  
  10.     Sutuation = The specific error encountered during the process.
  11.                 If others are noted, advise HD.
  12.  
  13.     Files = The two most recent files used by the program. These
  14.             variables are NOT cleared when a file is closed and
  15.             may point to a file not currently open.
  16.  
  17.                               Processes
  18.  
  19. 1.  Initialization: Read the configuration and check command line
  20.     switches.
  21.     THDUTL.CFG
  22.     COMMAND LINE
  23.  
  24. 2.  If /U is indicated, check default archive and excluded files.
  25.     SYSDAT1.DAT
  26.     THDUTL.ACX
  27.  
  28. 3.  Get the doors list, open the work file and recover the data from
  29.     previous runs. Set colors.
  30.     DOORS.MNU
  31.     THDUTL.WRK
  32.     THDUTL.TIM
  33.     THDUTL.CLR
  34.  
  35. 4.  Open the CALLERS.LOG and if indicated with /T, trim it to length.
  36.     If /ST is indicated, put excess in CALLERS.TRM.
  37.     CALLERS.LOG
  38.     CALLERS.TRM
  39.     TMP
  40.  
  41. 5.  Retrieve the Door tally data and check for callers to be excluded
  42.     for last 15.
  43.     THDUTL.DOR
  44.     THDUTL.XCL
  45.  
  46. 6.  Retrieve the file area paths and upload/download .LST paths. Input
  47.     the files-check list and the previous Download/Upload and File counts
  48.     for the Top 10.
  49.     FAREA.DAT
  50.     THDUTL.CHK
  51.     THDUTL.DLD
  52.     THDUTL.UPL
  53.     THDUTL.FIL
  54.  
  55. 7.  Main process (loop). Start reading the CALLERS.LOG at marked location.
  56.     Process downloads as occurring and save the upload information.
  57.     UPCHK.DAT
  58.     UPLOAD.DAT
  59.  
  60. 8.  Build the Last 15 Callers screen and save the data in THDUTL.WRK.
  61.     THDUTL.WRK
  62.     BULLET1
  63.  
  64.  
  65. 9.  Build the Door tally screen and save the data in THDUTL.DOR.
  66.     BULLET2
  67.     THDUTL.DOR
  68.  
  69. 10. Build the New users screen and save the data in THDUTL.GUY.
  70.     THDUTL.GUY
  71.     BULLET3
  72.  
  73. 11. Build the Top 10 screen and save the data in .DLT, .UPL and .FIL.
  74.     THDUTL.DLD
  75.     THDUTL.UPL
  76.     THDUTL.FIL
  77.     THDUTL.TTX
  78.     BULLET4
  79.  
  80. 12. Build the BBS hourly usage screen and save the data in THDUTL.TIM.
  81.     THDUTL.TIM
  82.     BULLET5
  83.  
  84. 13. Do Download tracking. Find the file in the .IDX file if available,
  85.     else look for it in the .LST file. Increment the # download counter
  86.     and rewrite the .LST file with the new data. If this is a special
  87.     download listed in FILES.LST, track it in FILECHK.DAT.
  88.     THDUTL.LOG
  89.     INDEX FILES
  90.     FILES.LST
  91.     TMP
  92.     FILECHK.DAT
  93.  
  94. 14. Screen building subroutine. Print data to one of the BULLET files.
  95.  
  96. 15. Getting new callers City. Open USERS.DAT and find the user name,
  97.     extract the City and State.
  98.     USERS.DAT
  99.  
  100. 16. Identifying New caller. Add new data to stored variables.
  101.  
  102. 17. Checking Uploads. Add the file to UPLOAD.DAT, if the /U switch is
  103.     used, extract the archive to \$TMP, do virus check on all files in
  104.     the archive, repack the files in the default archive, add the ZIP
  105.     comment file if available. Build DESC.SDI file and add to archive.
  106.     Archive programs must be in path.
  107.     UPCHK.DAT
  108.     THDUTL.ACX
  109.     \$TMP\$TMP.TMP
  110.     UPLOAD .LST
  111.     DESC.SDI/FILE_ID.DIZ
  112.     THDUTL.MSG
  113.     $T
  114.  
  115. 18. Tallying usage time. Increment a counter for the hour.
  116.  
  117. 19. Get real user's name if /R switch is set.
  118.     USERS.DAT
  119.  
  120. 20. Update the FILES.LST for Uploaded files.
  121.     FILES.LST
  122.  
  123.  
  124.                                Sutuations
  125.  
  126. 1-6    Data manipulation error. The data was not in the range expected.
  127.        Check the data files in the process indicated.
  128.  
  129. 7      Out of memory, oops!
  130.  
  131. 9      Subscript out of range. Volume of data was larger (or less then 0),
  132.        than expected. Check the CALLERS.LOG for garbled data.
  133.  
  134. 11     Division by Zero. Data out of range. Not serious. ignore.
  135.  
  136. 14     String memory space problems. Call HD, the program failed.
  137.  
  138. 24-25  Device timeout. Unable to access Disk. Check hardware.
  139.  
  140. 52-55  File access problem. File does not exist or file already being
  141.        used. Check required THDUTL files indicated for the process.
  142.        Check FILES.LST files.
  143.  
  144. 58     File already exist. Attempt to create an existant file.
  145.  
  146. 61     Disk full.
  147.  
  148. 62-63  Input past end. A file contain less than expected amount of data.
  149.        Check indicated THDUTL files for the process.
  150.  
  151. 64     Bad filename. An expected file was not found. Ensure required
  152.        files for the process are present.
  153.  
  154. 68     Device unavailable. Attempted to access a nonexistant drive.
  155.        Check path indications in your File Area section.
  156.  
  157. 71-72  Disk not ready/failure error.
  158.  
  159. 75-76  Path/file access error. Attempt to access a nonexistant path.
  160.        Check paths in File Area section.
  161.  
  162.  
  163.