This page can be ignored as of release 4.622
To sort the database file in one portion, do the following:
As described in Creating a Database, use the database creation utility to create a new database with the appropriate database numbering system. You may also need to use the COLLATE program to set the collate sequence for the database.
As described in Transferring the Database Structure, use the data structure and data transfer utility to transfer the structure and then the data. This creates a sorted data file, but related tables are not grouped together.
To reduce the size of the index file, reorganise the database using option 1 - Compress data file and rebuild index or option 3 - Rebuild data and index files. (The index built by RECASTDB will probably be very far from optimal because of the way data is transferred.)