home *** CD-ROM | disk | FTP | other *** search
/ Datatid 1999 #6 / Datatid_1999-06.iso / internet / Tango352Promo / P.SQL / PTKPKG.1 / OS2RBLD.HLP (.txt) < prev    next >
Encoding:
OS/2 Help File  |  1998-09-30  |  8.8 KB  |  242 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Help Contents ΓòÉΓòÉΓòÉ
  3.  
  4. The following Help Topics are available: 
  5.  
  6. Main Window 
  7. Provides general information about the Rebuild utility. 
  8.  
  9. Select Files Dialog 
  10. Lets you specify the files you want to rebuild. 
  11.  
  12. Settings Dialog 
  13. Lets you  view and change the current settings for the Rebuild utility. 
  14.  
  15. Start Rebuild Dialog 
  16. Displays a list of files to rebuild. Press the Start button to invoke the 
  17. rebuild process. 
  18.  
  19. View Status File Dialog 
  20. Lets you view the status file created during the rebuild process. 
  21.  
  22. About Dialog 
  23. Provides product information about the Rebuild utility. 
  24.  
  25.  For Help on Help, press F1 
  26.  
  27.  
  28. ΓòÉΓòÉΓòÉ 2. Main Window ΓòÉΓòÉΓòÉ
  29.  
  30. The Rebuild utility can convert MicroKernel data files as shown in the table 
  31. below. 
  32.  
  33. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  34. ΓöéOriginal  ΓöéConverted ΓöéReason for Conversion              Γöé
  35. ΓöéFile      ΓöéFile      Γöé                                   Γöé
  36. ΓöéFormat    ΓöéFormat    Γöé                                   Γöé
  37. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  38. Γöépre-v6.0  Γöév7.x      ΓöéTake advantage of v7.x features andΓöé
  39. Γöé          Γöé          Γöéimprove general performance.       Γöé
  40. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  41. Γöév6.x      Γöév7.x      ΓöéTake advantage of v7.x features andΓöé
  42. Γöé          Γöé          Γöéimprove general performance.       Γöé
  43. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  44. Γöév7.x      Γöév7.x      ΓöéOriginal file does not have a      Γöé
  45. Γöé          Γöé          Γöésystem key.                        Γöé
  46. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  47. Γöépre-v6.0  Γöév6.x      ΓöéTake advantage of v6.x features andΓöé
  48. Γöé          Γöé          Γöéimprove general performance. Use   Γöé
  49. Γöé          Γöé          Γöéthis option only if you are still  Γöé
  50. Γöé          Γöé          Γöérunning the v7.x engine with other Γöé
  51. Γöé          Γöé          Γöév6.x engines.                      Γöé
  52. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  53.  
  54. The file format that results from the conversion depends on the value you set 
  55. for the MicroKernel's Create File Version configuration option, which you 
  56. specify using the Setup utility. For example, if you set the Create File 
  57. Version to 7.x and you run the Rebuild utility on v6.x files, the utility 
  58. converts the files to v7.x format. 
  59.  
  60. Before you run the Rebuild utility, back up all the data files you plan to 
  61. convert. Having backup copies ensures against data loss if a power interruption 
  62. occurs while you are running the utility. 
  63.  
  64. To ensure that your backup is successful, perform any one of the following 
  65. operations: 
  66.  
  67.  - Close all data files before running the backup utility. 
  68.  
  69.  - Use continuous operations. 
  70.  
  71.  - Use a backup utility that opens the files in exclusive write mode so that 
  72. other processes cannot write to the files. Ensure that the backup utility has 
  73. exclusive rights to the files. 
  74.  
  75. Once you have backed up your files, from the Options menu select the  Settings 
  76. Dialog to configure the settings that determine how the file will be rebuilt. 
  77. Then choose the  Select Files Dialog to add all the files you would like to 
  78. rebuild.  After you have made these selections, you are ready to begin the 
  79. rebuild process.  From the Run menu choose the  Start Rebuild Dialog and select 
  80. the Start button.  When the process completes, select the  View Status File 
  81. Dialog from the Run menu. 
  82.  
  83.  
  84. ΓòÉΓòÉΓòÉ 3. Select Files Dialog ΓòÉΓòÉΓòÉ
  85.  
  86. To select files to rebuild, click the Add... button. Use the Browse dialog to 
  87. locate the files you want to rebuild. To delete a file from the list of 
  88. selected files, highlight the file and click Delete. 
  89.  
  90. You will have a chance to view this list of files again on the  Start Rebuild 
  91. Dialog prior to starting the rebuild process. 
  92.  
  93. Add Button 
  94. Displays a Browse dialog that lets you select the files you want to rebuild. 
  95.  
  96. Delete Button 
  97. Deletes the currently selected file from the Selected Files list. 
  98.  
  99. OK Button 
  100. Saves the set of files in the Selected Files list. 
  101.  
  102. Cancel Button 
  103. Closes without saving any changes. 
  104.  
  105. Help Button 
  106. Displays help for this dialog. 
  107.  
  108.  
  109. ΓòÉΓòÉΓòÉ 4. Settings Dialog ΓòÉΓòÉΓòÉ
  110.  
  111. The Settings Dialog contains configuration parameters for the utility. The 
  112. items are explained in more detail below. 
  113.  
  114. Output Directory 
  115. Specifies an alternate location for the rebuilt files. (The default location is 
  116. the current directory of the original file being rebuilt.) This option lets you 
  117. rebuild large files on a different volume or on a different server. The 
  118. MicroKernel and its communications components must be loaded on the server that 
  119. contains the rebuilt files. Do not use wildcard characters in the path. 
  120.  
  121. If the Output Directory location is different than the original files location, 
  122. the original file is not deleted during the rebuild.  If the output directory 
  123. is the same as the original file, the original file will be deleted upon 
  124. completion of the rebuild. 
  125.  
  126. Click the Browse... button to locate the output directory using the Directory 
  127. Browse dialog. 
  128.  
  129. Status File Path 
  130. Specifies a location for the rebuild log file. (The default location is the 
  131. current working directory.) 
  132.  
  133. Click the Browse... button to specify the log directory using the Browse 
  134. dialog. 
  135.  
  136. System Data 
  137. Specifies whether the file is rebuilt with system data.  The MicroKernel cannot 
  138. perform logging for a file without system data when no user-defined unique key 
  139. exists. 
  140.  
  141. Page Size 
  142. Specifies the page size (in bytes) of the new files. Choose either EXISTING, 
  143. 512, 1024, 2048, 3072, or 4096. If you select EXISTING, the utility uses the 
  144. existing page size. The utility changes the page size if the original size does 
  145. not work. 
  146.  
  147. For example, assume you have a v5.x file with a page size of 1024 and 24 keys. 
  148. Since Btrieve v6.0 and later supports only 23 keys for a page size of 1024, the 
  149. utility automatically selects a new page size for the file and writes an 
  150. informative message to the status file. 
  151.  
  152. Key Number 
  153. Specifies the key by which the utility reads when rebuilding a file. If you 
  154. specify NONE for this option, the utility clones the files, drops the indexes, 
  155. copies the records into the new files, and rebuilds the indexes. Because this 
  156. method is faster and creates smaller files than specifying a key number, use it 
  157. whenever possible. 
  158.  
  159. This method may create a new file in which the records are in a different 
  160. physical order than in the original file. 
  161.  
  162. If you specify a key number, the utility clones and copies the files without 
  163. dropping and replacing indexes. While this method is slower than specifying 
  164. NONE, it is available in case you do not want to rebuild your indexes. 
  165.  
  166. Continue On Error 
  167. Determines whether the Rebuild utility continues if it encounters an error 
  168. during the rebuild process. If you select the Yes radio button, the utility 
  169. continues with the next file even if an error occurs. The utility notifies you 
  170. of non-MicroKernel data files or other errors but continues rebuilding data 
  171. files. If you select the No radio button, the utility halts the rebuild if it 
  172. encounters an error. 
  173.  
  174. Save Settings On Exit 
  175. Saves the configuration settings on the Settings Dialog when you close the 
  176. Rebuild utility. 
  177.  
  178. OK Button 
  179. Saves the selected settings. 
  180.  
  181. Cancel Button 
  182. Closes without saving any changed settings. 
  183.  
  184. Help Button 
  185. Shows help for this dialog. 
  186.  
  187.  
  188. ΓòÉΓòÉΓòÉ 5. Start Rebuild Dialog ΓòÉΓòÉΓòÉ
  189.  
  190. This dialog lists the files to be rebuilt which were selected in the  Select 
  191. Files Dialog.  Ensure that you have made all the selections in the  Settings 
  192. Dialog prior to invoking the rebuild process. 
  193.  
  194. By default, the Rebuild utility creates temporary files in the same directory 
  195. in which the conversion takes place. You therefore need enough disk space in 
  196. that directory (while the Rebuild utility is running) to accommodate both the 
  197. original file and the new file. You can specify a different directory for 
  198. storing these files using the Output Directory option in the  Settings Dialog. 
  199.  
  200. The Rebuild utility deletes the original file after rebuilding it if the file 
  201. is being rebuilt in the same directory. If the new file is in a different 
  202. directory the original file is not deleted. Normally, the Rebuild utility 
  203. automatically deletes temporary files when the conversion is complete. However, 
  204. if a power failure or other serious interruption occurs, the Rebuild utility 
  205. may not delete the temporary files. If this occurs, look for filenames such as 
  206. _T-xxxxx.TMP and delete them. 
  207.  
  208. You should view the status file after the rebuild completes. 
  209.  
  210. Start Button 
  211. Selecting this button will begin the rebuilding of the files in the Files to 
  212. Rebuild list.  If there are no files to rebuild, this button will be disabled. 
  213. To select files to rebuild, go to the  Select Files Dialog. 
  214.  
  215. Close Button 
  216. This button closes the dialog. 
  217.  
  218. Help Button 
  219. Shows help for this dialog. 
  220.  
  221.  
  222. ΓòÉΓòÉΓòÉ 6. View Status File Dialog ΓòÉΓòÉΓòÉ
  223.  
  224. The Rebuild utility writes to the status file for every file it attempts to 
  225. rebuild.  The rebuild settings are listed for every file.  If  you disabled the 
  226. Continue on Error setting the status file contains the information up to the 
  227. point of the error.  The status file can be used as a reference in the future. 
  228. The status file informs you if the rebuild was successful. If the rebuild was 
  229. not successful, the status file contains error messages explaining why the 
  230. rebuild failed.  The path for the status file is specified in the Settings 
  231. Dialog. 
  232.  
  233.  
  234. ΓòÉΓòÉΓòÉ 7. About Dialog ΓòÉΓòÉΓòÉ
  235.  
  236. The About dialog displays various product information, including the name, 
  237. version and copyright of the Rebuild utility. 
  238.  
  239. OK Button 
  240. Closes the dialog. 
  241.  
  242.