uetdba
6th June 2006, 11:27
In tbase6.1 menu, under menu "2. TRITON Base Maintenance", "3. Repair TRITON Base Table", How do I run this from command line?

I need to rebuild all tt tables.

I tried as below but it didnt rebuild the table.
tbase6.1 R r /software/baan4b/dict/tttaad/taad231000

Thank you.
Nas


+------------------------------------------------------------------------------+
| |
| |
| |
| ** TRITON Base/TP Maintenance ** |
| |
| |
| |
| 1. Maintain Registration File |
| |
| 2. Check TRITON Base Table |
| |
| 3. Repair TRITON Base Table |
| |
| 4. Check & Repair TRITON Base Table |
| |
| 5. Transaction flag operations |
| |
| |
| |
| TRITON Base: active Your choice : . |
| |
+------------------------------------------------------------------------------+

+------------------------------------------------------------------------------+
| |
| |
| |
| ** Repair TRITON Base Table ** |
| |
| |
| |
| |
| |
| |
| File: /software/baan4b/dict/tttaad/taad231000..................... |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
+------------------------------------------------------------------------------+


File: /software/baan4b/dict/tttaad/taad231000
build indexes
build records 40224


tbase6.1: Rebuild /software/baan4b/dict/tttaad/taad231000: OK


Give RETURN to continue

Hitesh Shah
7th June 2006, 08:16
Think following B-tree command should be ok .

tbase6.1 B fvr 'tbase6.1 D tccom100 100'

uetdba
8th June 2006, 03:30
OK, now, I'm getting somewhere. :)

% tbase6.1 B fvr 'tbase6.1 D ttadv997 000'

File: tbase6
File: tbase6 error iserrno 2

% tbase6.1 D ttadv997 000
/software/baan4b/dict/tttadv/tadv997000

% tbase6.1 B fvr /software/baan4b/dict/tttadv/tadv997000

File: /software/baan4b/dict/tttadv/tadv997000
Checking free lists : Id 0 Dat 4702
Checking BTrees : IdxTree 1 Row 386
Final result: OK