The information in this article applies to:
When data corruption exists in a data file, typically the best option is to restore from a backup. Unfortunately, restoring from a backup may not always be an acceptable option. Perhaps a current backup is not available or restoring from the last known good backup may result in the loss of a great deal of work. This article contains workarounds that may eliminate the need to restore from a backup.
Before attempting to resolve any problems, run the Data File Integrity Check program. Use the Help provided with PracticeMaster or Knowledge Base articles to assist you with procedures for resolving various errors.
Note: Be aware that these procedures are not guaranteed and may not produce acceptable results. These methods should not be considered as a substitute for good backup policies.
PracticeMaster maintains two types of files: data files and index files. Data files (*.DAT) contain the information that has been entered in the file (i.e., individual records) and the file layout. Index files (*.IDX) are "pointer" files used by PracticeMaster to locate the position of specific records within the data file. The following procedures are dependent on the type of data file that needs to be rebuilt.
Note: If these procedures do not work, you will have to restore from a backup.
With some data corruption problems, particularly in an *.IDX file, it is possible that the Reindex Files program can be used to correct the problem. The Reindex Files program in PracticeMaster is a utility program that can be used to rebuild PracticeMaster's index files. The Reindex Files program deletes the existing index files for the selected data files and recreates them. The ability to recreate index files allows for the possibility of salvaging data if the index files become corrupted due to hardware failure. This program is typically used only after certain errors have been encountered by the Data File Integrity Check program. KB Article R10102, "How Reindex Data Files Affects Your Data", contains additional information regarding the Reindex Data Files program.
With other types of data corruption problems, usually in a *.DAT file, the Reindex Files program will not fix the problem. In this case, it is a possibility that data can be salvaged by using the Export Data and Import Data programs. This method consists of exporting the data to an ASCII text file and then importing the data back into PracticeMaster. There are two variations on this method:
Option 1: If the problem is with a .DAT file and restoring from a backup is not an option, you may be able to salvage the data by exporting the data, erasing the data and then reimporting it using the File Utilities options in File Maintenance.
Option 2: If Option 1 does not work, as a last resort, it may be possible to salvage some data by exporting the data, deleting the associated .DAT and .IDX files and then re-importing the export file. Restoring from a backup may be a better option.
It is important to note that upon importing the data in either scenario, the corrupted data records may be rejected. If data is successfully exported, it is possible to open the file with a text editor and possibly edit the file.
Detailed steps for each of these options are included in this article.
The following items are referred to as file layouts and are stored in the .DAT file. When a .DAT file is deleted (Option 2), this information will be lost and will have to be manually rebuilt.
When a system (.DAT) file that comes standard with PracticeMaster is not present, PracticeMaster will recreate the .DAT file using the standard (OEM) file layout. When a custom system file or any area of practice (.DAT) file is deleted, the field definition will be blank if the file is recreated. System files that come standard with PracticeMaster are:
|
System Files |
System Lookup Files |
Billing System Files |
System Common Case Related Files |
|
Case File |
Related Party File |
Timekeeper File |
Journal File |
If you delete or erase the Fee File (CMFEE.DAT) and any fee work-in-process transactions were created by the Process Timer Records program, the Timer Fee Report will no longer include the associated journal record. Furthermore, the Load Fee Record feature in the Journal file will no longer load the associated fee record. The journal records will point to incorrect fee records because corresponding sequence numbers in the Journal File are not changed and still point to the old sequence numbers in the deleted CMFEE.DAT file.
If you delete or erase the Calendar File (CMCAL.DAT) after exporting the data, you will have to run the Rebuild Calendar Plan Templates and Rebuild Calendar Plan List options after re-importing. When the Calendar Plan Templates are exported and the CMCAL.DAT file is deleted, some information will be lost such as the calendar plan template name, description, the calendar plan repetitive switch, and who processed it. In addition, all of the Calendar Plan Templates will be listed under the System Files folder even if they previously were under an AOP specific folder.
If you delete the Transaction Code File (CMTCODE.DAT), make sure that no one attempts to reinstall the PracticeMaster program files before you import the transaction code file. If the program files are reinstalled when this file does not exist, you will be given an option to install PracticeMaster Starter Data. If this is done, the existing PracticeMaster data will be overwritten and you will have to restore from a backup.
To export data, erase it and then reimport it, follow these procedures:
If the file layout, which is stored in the header record of the *.DAT file, is corrupted, you may need to export data, delete the *.DAT and *.IDX files for the problem file and then reimport the data.
Use the following procedures for this option:
THE INFORMATION PROVIDED IN THE SOFTWARE TECHNOLOGY, INC. KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. SOFTWARE TECHNOLOGY, INC. DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SOFTWARE TECHNOLOGY, INC. OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF SOFTWARE TECHNOLOGY, INC. OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.
© 1999-2012 Software Technology, Inc. All rights
reserved. Terms of Use
The maker of Tabs3 and PracticeMaster
Tabs3, PracticeMaster, and the “pinwheel” symbol (
) are registered trademarks of Software Technology, Inc.
e-Mail Suggestions for the Knowledge Base to: kb@Tabs3.com
Technical Support via e-mail is not available.
Knowledge Base: http://support.Tabs3.com
Web Site: http://www.Tabs3.com