You can use this Loader command to control the loading of the entire database catalog or parts of it.
A data stream was created with the CATALOGEXTRACT command.
THE CATALOGLOAD ALL command can only be executed by the database system administrator (SYSDBA user).
<catalogload_command> ::= CATALOGLOAD <part_spec> <instream_spec>
You can also use the keywords LOAD CATALOG instead of the keyword CATALOGLOAD.
·
CATALOGLOAD ALL
The entire database catalog is restored from the instream_spec data stream using
the commands for creating a database session and the SQL statements for data
definition.
You can use external backup tools
to load data.
·
CATALOGLOAD
USER
The user who executes the CATALOGLOAD USER command must have the same user
name as the owner of the database catalog objects in the instream_spec
data stream. The database
catalog objects in the data stream are restored using the commands for
creating a database session and the SQL statements for data
definition.
·
CATALOGLOAD
TABLE
The user that executes the CATALOGLOAD TABLE command must have the same user
name as the owner of the database catalog objects in the instream_spec
data stream. The database
catalog objects in the data stream are restored using the commands for
creating a database session and the SQL statements for data
definition.
The instream_spec data stream is required when loading.
If you want to use the data stream generated with the CATALOGEXTRACT command, specify this name.
The system table TRANSFORMATIONMODEL and other system tables are filled.
Result
The desired parts of the database catalog are loaded from the instream_spec data stream to the database catalog.
Errors
The load process cannot be successfully completed. In this case, the Loader logs the cause of the error in the log file.
The values PACKAGEGUID and CLIENTNODE are also written to the log file.