home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / database / s3dsiz20.zip / S3DSIZ20.DOC < prev   
Text File  |  1993-08-14  |  4KB  |  105 lines

  1. Program:        S3 Delimitted Field Size Utility (DSIZE)
  2. Version:        2.0
  3. Author:         George Spafford
  4. Date:           08/14/93
  5.  
  6. Purpose:
  7.  
  8. To identify the number of records in a file, the maximum and minimum number
  9. of fields in the records encountered as well as the maximum and minimum size
  10. of each field that is encountered.
  11.  
  12. Procedure:
  13.  
  14. There are two .EXE files, DSIZE2.EXE and DSIZE386.EXE.  The first one is aimed
  15. at users with 8088 and 80286 systems.  DSIZE386 is optimized for use with 80386
  16. and above systems.
  17.  
  18. Usage:  DSIZE file.nam delim
  19.  
  20.                 File.nam        This is the file you want to check.
  21.                 Delim           This is the field delimitter that you want to
  22.                                 use.
  23.  
  24.         Example:        DSIZE TEST.FIL ,
  25.  
  26.                         TEST.FIL will be processed using the comma as a field
  27.                         separator.
  28.  
  29. DSIZE expects records to be terminated with the standard DOS carriage return
  30. (Decimal 10) and line feed (Decimal 13) characters.  You will get an overflow
  31. error message if the records are not thusly delimitted.
  32.  
  33. The program can identify on the screen up to 36 fields per record.  This is a
  34. limitation of the screen size.  The program can handle many, many more easily.
  35. If there are enough interested parties, in other words, if people register this
  36. program, I will release a version that can log the entire data structure to
  37. either a DOS file or a device such as a printer.
  38.  
  39.  
  40. For each record that is processed, the program will display the field specs.
  41. At the bottom of the screen, you will see a maximum and minimum field count
  42. spec.  This will tell you if the data file has a variable number of fields.
  43. When customers send me these, it is a hanging offense.  If the MAX and MIN
  44. counts are equal, then you know there is always an equal number of fields.
  45.  
  46. For each field, a minimum and maximum size in bytes is given.  The format:
  47.  
  48.         Field Number:  Min: nnnn  Max: nnnn
  49.  
  50. For some reason, people always change field sizes without telling anybody.
  51. If nothing else, you can use this program to determine the maximum number
  52. of fields and the maximum size for each field rather than importing blindly.
  53.  
  54. History:
  55.  
  56.         v2.0    08/14/93
  57.  
  58.                 I have completely rewritten the program.
  59.  
  60.         v1.0    Written sometime in the deep, dark past.
  61.  
  62. ============================
  63. Please Register This Program
  64. ============================
  65.  
  66.  
  67. The S3 DSIZE program is distributed as SHAREWARE. It is not Public Domain.
  68. If you find that this program aids you in your work, it must be registered
  69. within 30 days of your first usage of it. Continued use of the program without
  70. paying for it is a violation of the site license and constitutes software
  71. piracy. This product is priced at $10 US per concurrently used copy.
  72.  
  73. Registration of this product will allow me to continue developing
  74. specialized software for you, the consumer, at shareware prices.
  75. Payments (please do not send cash) can be sent to:
  76.  
  77.           George Spafford
  78.           3003 Lakeshore Drive, #216
  79.           St. Joseph, MI 49085
  80.           USA
  81.     
  82.  
  83. I can also be reached on the EXEC-PC BBS and the Channel One BBS.
  84.  
  85. SHAREWARE DISTRIBUTORS:
  86.  
  87. You may distribute this program as long as it is made clear that you are
  88. only a distributor and that the program is not registered until they make
  89. payment to me.  Please do not charge more than $5 per disk to distribute 
  90. SFP to your customers.
  91.  
  92. ::::: Legal :::::
  93.      
  94. DSIZE IS DISTRIBUTED AS IS.  THE AUTHOR (GEORGE SPAFFORD) MAKES
  95. NO WARRANTIES OF APPROPRIATENESS, MERCHANTABILITY OR FITNESS FOR A
  96. PARTICULAR PURPOSE.  THE AUTHOR ASSUMES NO LIABILITY FOR ANY DAMAGES
  97. (INCLUDING LOST PROFITS, WAGES OR ANY OTHER CONSEQUENTIAL OR INCIDENTAL
  98. DAMAGES) ARISING OUT OF THE MISUSE OR INABILITY TO USE THIS PRODUCT.
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.