Entering content frame

 CATALOGLOAD Command 

You can use this Loader command to control the loading of the entire database catalog or parts of it.

Syntax

<catalogload_statement> ::= CATALOGLOAD <part_spec > <instream_spec >

You can also use the keywords LOAD CATALOG instead of the keyword CATALOGLOAD.

Prerequisite

A data stream was created with the CATALOGEXTRACT command.

THE command CATALOGLOAD ALL can only be executed by the database system administrator (SYSDBA user) .

Use

<part_spec>

·        CATALOGLOAD ALL
The entire database catalog is restored from the data stream
<instream_spec> 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 that executes the CATALOGLOAD USER command must have the same user name as the owner of the database catalog objects in the data stream
<instream_spec>. 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 who executes the CATALOGLOAD TABLE command must have the same user name as the owner of the database catalog objects in the data stream
<instream_spec>. 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.

Data Stream: <instream_spec>

The data stream <instream_spec> 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 data stream <instream_spec> 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 both written to the log file.

 

Leaving content frame