System tables are internal tables for the system that users do not define or change.
You have to reload the system tables when you change the version of the database software. You do not need to reload system tables when recovering a database instance.
To load the system tables, the Database Manager needs to know the name and password of the database system administrator. Otherwise, enter this information along with the DBM commands for loading the system tables.
You have the server authorization ExecLoad or LoadSysTab.
load_systab [-u <sysdba_user>,<sysdba_user_password>]
OK
0,<err_description>
<loader_code>,<dbm_command>
<loader_output_lines>
<loader_log_lines>
Values for the Reply Fields
Field |
Description |
<err_description> |
Message text |
<loader_code> |
Return code from loader |
<dbm_command> |
DBM command executed |
<loader_output_lines> |
Loader message text |
<loader_log_lines> |
Content summary of loader log |
Example
...
1. Logging on to the Database Manager CLI in session mode as operator OLEG with the password MONDAY, connecting to the database instance DEMODB
2. Loading the system tables, authorization for this DBM command as the database system administrator DBADMIN with password SECRET:
>dbmcli –d DEMODB –u OLEG,MONDAY
dbmcli on DEMODB>load_systab –u DBADMIN,SECRET
OK
0,OK: everything works fine
0,""c:\program files\sdb\demodb\bin\x_python" "c:\program files\sdb\demodb\env
\lsystab.py" -R "c:\program files\sdb\demodb" -d DEMODB -u OLEG,*"
Removing obsolete objects
Installing Loader tables
Installing messages and help
Installing SYSDBA tables
Installing comments for SYSDBA tables
Installing precompiler tables
Installing system tables for R3 backup information
Installing ODBC tables
...
...