Hi,
If you would like to scan a single table for possible page corruption execute statement:
oncheck -cDI testdb:table1
Obviously, to scan all tables:
oncheck -cDI testdb
But it is not suggested, to improve the performance of the checking process, instead unload table names from the systables and generate script, like:
unload to 'check.sql'
select 'oncheck -cDI testdb:'||tabname||';' from systables where tabid>99
Regards,
Shriyan