REBUILDING A VALDOCS 1.1X INDEX CP/M INDEXER Method The message "Error on reading disk: = 1" (Error 1) actually means that the Indexer's data files are corrupted. Because of the way the Indexer data files are corrupted, you must NOT delete them, since it could potentially erase all of your data. Therefore, to correct the problem this section will show you how to copy only the good document files from the bad data diskette to a new/good data diskette using the CP/M INDEXER program. A second section, "Indexing non-Inedexed files", will help you rebuild the Index on the new/good data diskette. Since this section only outlines the steps necessary to rebuild an Index for a computer system that has floppy drives only, hard disk users will have to modify the procedure according to their computer system configuration. ASSUMPTIONS: We will assume that the error message is still displayed and that the bad data diskette is in the right floppy drive. We also assume that you already have a blank formatted diskette for the right drive and a copy of CP/M B2.20 or later. Getting into CP/M's INDEXER program 1. Remove the Valdocs System diskette from the left drive and put the CP/M B2.2x diskette in its place. 2. Press the reset button. It is located on the front of the computer below the right drive. 3. After the A> (A prompt) appears, press the INDEX key. Get data from the bad Valdocs data diskette 4. When the file pointer (>> <<) is around the first file, replace the CP/M diskette in left drive (drive A) with the bad Valdocs data diskette from the right drive (drive B). 5. To inform Indexer that you have changed diskettes, type the following (do not type in the parenthetical comments): s (The command to set drive.) a (The drive to set to.) 0 (The user area to set to.) and press RETURN. Then press RETURN again to tell Indexer to find all files. 6. The only files that need to be copied are the document files. The document file names are composed of 8 digits, a period, and end in VAL (eg., 84B03011.VAL). Move the file pointer to the first numbered.VAL file. Type: t (The command to tag a file.) A "#" will appear next to each file that is tagged. 7. Repeat step 6 for all numbered.VAL files. Copy the data to the good diskette 8. Place the blank formatted diskette in the right drive. 9. Now that all the numbered.VAL files are tagged, you can mass copy all tagged files to the good data diskette. Type the following without the parenthetical comments: m (The command to mass copy.) b (The drive to mass copy to.) 0 (The user area to mass copy to.) and press RETURN. Then type: n and Indexer will not automatically replace duplicate files. Therefore, if a file being copied has the same name as another file on the second disk, INDEXER will ask for a confirmation to replace it. Avoiding duplicate file names 10. To avoid creating files with the same name later on, you need to look at the files on the diskette in drive B:. Type: s (The command to set drive.) b (The drive to set to.) 0 (The user area to set to.) and press RETURN. Then press RETURN again to tell Indexer to find all files. 11. NOTE: The numbers in the file name show the date that the file was created or last used. In the example file name, the first 2 characters (84) are the year and the third character (B) is the month. (The letters A, B, and C are the months Oct., Nov., and Dec., respectively.) Digits 5 and 6 (03) are the date of the month and the last 3 digits (011) are a unique file number for that day. Therefore, 84B03011.VAL was created or last used in 1984, during November, on the third day and was the eleventh file for that day. For further information on the TPM file names of indexed files, read the section "Determining the TPM File Name of a Valdocs Indexed File." Move the file pointer to the first file name that is made from today's date. If there are no file names with today's date skip to step 14. 12. Type: r (The command to rename a file) and enter the first 8 digits of the current file name, a period (.), add the letters DOC, and press RETURN. This changes the file name enough to avoid any complications later on. 13. Repeat steps 11 and 12 for every file that must be renamed. Exiting INDEXER 14. Type: x to leave Indexer. Reloading a new copy of the Valdocs Indexer 15. Replace the bad Valdocs diskette currently in left drive with the Valdocs System diskette. 16. Reboot by pressing the reset button. 17. After Valdocs has reloaded, press any key to get into the Editor. You are now finished with this part of the routine and can go on to the next section "Indexing non-Indexed files" to recover your documents.