SET TABLEVALIDATE does not have repair functionality; it performs only integrity checks as specified by nLevel.
SET TABLEVALIDATE does not perform table validation on temporary files or cursors.
You can set SET TABLEVALIDATE in Config.fpw as follows:
If a table opens exclusively, and SET TABLEVALIDATE is set to 8 or greater, the setting is disregarded.