home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / datamage.zip / DOCS.ZIP / CONVERTR.DOC < prev    next >
Text File  |  1991-02-09  |  3KB  |  60 lines

  1.                     DATAMAGE dBass files conversion utility
  2.  
  3.  
  4.  
  5. Conversion of a dBase file to the DATAMAGE format (standard, headerless random-
  6. access  files) should be accomplished in two steps.  The CONVERTER.EXE  program
  7. will  do  the "raw" conversion, and make a new datafile in  the  DBSEFILE  sub-
  8. directory off \MAGE.
  9.  
  10.  
  11. STEP 1:
  12.  
  13.  
  14. The  \MAGE\DBSEFILE dir was made by the automatic HD installation  batch  file.
  15. Perhaps  you  have  removed it since then.  It MUST BE present  to  accept  the
  16. converted file as the CONVERTER program offers no choice of where to place it's
  17. output.  Nor does it support the re-organization of the file.
  18.  
  19. Before  you start CONVERTR, be certain that there is no datafile  currently  in
  20. the  DBSEFILE dir.  If a file is present it will be over-written and  DESTROYED
  21. by  the next dBase file to be converted.  Convertr will not inform you of  it's
  22. presence, nor will it offer you a chance to abort.
  23.  
  24. After starting convertr you simply enter the pathname for the dBase file to  be
  25. converted and an increment value for numbering the new records in the  DATAMAGE
  26. file, and the file is converted.
  27.  
  28. After  the conversoin is complete start SCRNBASE and check the first, last  and
  29. some  intermediate  records  in  the new file.  Your "raw"  file  will  not  be
  30. indexed, and will contain exactly what the dBase file does with one  exception:
  31. at the time of this writing the character and note fields will be truncated  at
  32. the  35th character.
  33.  
  34. Future  modifications  to  CONVERTR will include the  option  to  expand  these
  35. fields.  A char/note field of 105 bytes would produce three DATAMAGE fields  of
  36. 35  bytes each, and the data would be moved in.  This version of CONVERTR  will
  37. be  distributed  with  the  registered versions as  soon  as  it's  done.   (My
  38. customers  don't  think I should be spending time on  DATAMAGE  programs,  they
  39. think I should be writing THEIRS!   and it DOES pay better....)
  40.  
  41.  
  42. STEP 2:
  43.  
  44.  
  45. After  your  file has been checked you may wish to modify it in order  to  take
  46. advantage  of more DATAMAGE features (indexing) and to expand the  (cheezy)  10
  47. character field names allowed by dBase.  The only bad thing about re-naming the
  48. fields is that POWER COPY will be un-able to automatically identify the fields.
  49. Of course you can enter the data, you'll only do this once (per file).
  50.  
  51. The new file is re-organized like any other DATAMAGE file.  Start the  DBSEMAKR
  52. program and edit the format to your liking.  Then start POWER COPY and move the
  53. data  into the new format.  This creates a permanent "home" for the  new  file,
  54. and frees the DBSEFILE dir for the next dBase file, if any.
  55.  
  56. Before  converting the next dBase file you should empty the DBSEFILE  directory
  57. by  entering  DEL C:\MAGE\DBSEFILE\*.*.  Also note that the  sahreware  version
  58. will  fail  to  access files comprising over 300 records.  Unless  you  have  a
  59. registered  version there's not much point in converting files larger than  300
  60. reacords, as you can't access them.