phoenix
17th August 2001, 12:54
Keyword: Reorganize tables were killed while busy
Class: Error Session: ttaad4225m000 Object: various
Country: F
Description:
Situation Description:
The session 'Reorganize Tables' [ttaad4225m000] were killed or stopped while the job were busy.
The system is not able to be started any more.
Solution Description:
While running, the session first creates a file called R.<tablename>. Then the table will be rebuilt using
this R.<tablename> file. When everything runs well, when the table is reorganized, the R.<tablename>
is removed from the system. After the session is killed (while running), the original table will not be
complete - it is not suitable for use anymore.
In this case you will have to rebuild the table using the R.<tablename> file manually. Shell down to
Unix or DOS level and go to the directory where the reorganize session started from, search for the
R.<tablename> file(s) and run the command given below:
Unix: bdbreconfig6.1 -N <tablename><company no>+
NT: bdbreconfig -N <tablename><company no>+
Example: In most cases the file(s) can be found in the TMP-directory of the root-path. The name of
such a file could be 'R.tibom000822'. If you have a NT-System the command you will have to run will
be:
bdbreconfig -N tibom000822+
This command reads the tablename and company number given as arguments and converts them
into a new table definition matching the new data dictionary definition. It requires a new data dictionary
with a '.new' extension, the current data dictionary and tables matching those in the current data dic-
tionary. After successful completion, old tables are deleted and new are generated.
The command finds the optimum way to reconfigure and if there is no real change in two data
dictionaries it prints the massage 'No conversion required'. Furthermore it sees to it that a database
remains consistent. When more than one table is given to be reconfigured and if an error occurs in the
middle of the operation, it reverts to the orriginal state.
Warning: make copy of the dump/file(s) before doing this!!
Class: Error Session: ttaad4225m000 Object: various
Country: F
Description:
Situation Description:
The session 'Reorganize Tables' [ttaad4225m000] were killed or stopped while the job were busy.
The system is not able to be started any more.
Solution Description:
While running, the session first creates a file called R.<tablename>. Then the table will be rebuilt using
this R.<tablename> file. When everything runs well, when the table is reorganized, the R.<tablename>
is removed from the system. After the session is killed (while running), the original table will not be
complete - it is not suitable for use anymore.
In this case you will have to rebuild the table using the R.<tablename> file manually. Shell down to
Unix or DOS level and go to the directory where the reorganize session started from, search for the
R.<tablename> file(s) and run the command given below:
Unix: bdbreconfig6.1 -N <tablename><company no>+
NT: bdbreconfig -N <tablename><company no>+
Example: In most cases the file(s) can be found in the TMP-directory of the root-path. The name of
such a file could be 'R.tibom000822'. If you have a NT-System the command you will have to run will
be:
bdbreconfig -N tibom000822+
This command reads the tablename and company number given as arguments and converts them
into a new table definition matching the new data dictionary definition. It requires a new data dictionary
with a '.new' extension, the current data dictionary and tables matching those in the current data dic-
tionary. After successful completion, old tables are deleted and new are generated.
The command finds the optimum way to reconfigure and if there is no real change in two data
dictionaries it prints the massage 'No conversion required'. Furthermore it sees to it that a database
remains consistent. When more than one table is given to be reconfigured and if an error occurs in the
middle of the operation, it reverts to the orriginal state.
Warning: make copy of the dump/file(s) before doing this!!