Historical technical procedure — Support verification required. This is not a validated self-service repair for every current installation. Have Support confirm the affected records, installed utility/platform, scope and recovery plan before using these commands. Old dates, process IDs, file sizes, account names and editor keys are examples. Documentation review does not certify that this repair was run or that it is appropriate for your system.
Historical source material — verify before use
Resizing Files
- First, make sure you have enough disk space for resizing. The resize process will back up the data first, then delete and resize the file. To do this, from TCL type:
FREE <enter> Write down the number under the column "Frames" in the row "Available Disk Space".
- Check to see how big to make the new file size. To do this, type:
ISTAT filename (RS <enter>
Compare the number next to "Modulo" to the number under "Suggested Modulo". If the number for Frames is much larger (10% or more) than the Modulo, the file needs to be resized. If you are doing this to clean up the file either for corruption or file-save problems, you need to resize the file in any case. Write down the number under "Frames". If there is not at least 1000 frames more from step #1 than from step #2, you will need to take further action prior to resizing the file. See :F ILES document for more information.
- Use the following table to approximate the new file size:
Step 2 Suggested
Modulo between Add this number to Suggested Modulo
0-50 10
50-100 25
101-300 50
301-500 75
501-1000 100
1001-3000 150
3001-6000 300
6001-10000 500
Over 10000 1000
- Resize the file. This process may take several minutes, and possibly hours, depending on the size of the file. After pressing Y <enter> to the "Backup Data" question, you may press enter 3 times in succession to avoid having to wait for the process to complete. Type:
PM.RESIZE <Enter>
filename <Enter>
Enter New Modulo: New file size from step 3
Backup Data: Y <enter> <= (If you fail to enter 'Y' at this prompt, You will LOSE ALL DATA in the file!)
<Enter>
<Enter>
<Enter>
Once back to the TCL prompt (:), you are finished. Type M <Enter> to get back to the Main Menu.