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
- Check for a good Backup in Saves Folder then rename the last good Backup File so that it will not be deleted. Call D3 if a good backup does not exist.
- Then have everyone log off the system and End the Background processes.
- Create a Backup File for ORDER. Get number for File Size from existing Order file in attribute #3 (CT DICT ORDER ORDER in TCL).
Ex. CF ORDER.BACK05 1 1009 (X
^ ^
Backup File Name File Size
- COPY ORDER (I
To: (Backup File Name
- QSELECT ORDER,INV.DATE
- COPY ORDER (IS
To: (Backup File Name
- QSELECT TABLE ORDERLIST
- COPY ORDER (IS
To: (Backup File Name
- QSELECT TABLE BOLIST
- COPY ORDER (IS
To: (Backup File Name
- QSELECT ORDER,BILLTO (2
- COPY ORDER (IS
To: (Backup File Name
- Do a FSFIX on just the order in TCL or DM. At the colon type DB, <enter> MD <enter> Password is support and at will bring you a >
Ex. > OD PM <enter>
> O ORDER <enter>
> FSFIX
*to verify, rerun the FSFIX or do a COUNT ORDER
12. Go into PM.INDEXES and delete them.
13. If the FSFIX does not work then do a PM.RESIZE on ORDER file and do not back
it up. Only do this if the FSFIX did not eliminate all the errors and you have a
complete backup of the file.
14. COPY Backup File (IS
To: (ORDER
15. Connect to a good FS file in Save folder (create dev-make if you need to) by doing
T-SELECT and T-REW in the T-STAT list.
16. SEL-RESTORE ORDER (IS
Account: PM
File: ORDER
17. Do a PM.INDEXES and A for all.
18. At this point, most if not all orders should be restored and file fixed. Customer will
have to check when they get back in the system.