Previous Topic: export (Catalog Management)--Export a CatalogNext Topic: rename (Catalog Management)--Rename a Global Catalog


import (Catalog Management)--Import a Catalog

Import an entire catalog

Syntax
cat import <catalog> <dir> [--force] [ user=<user> [ pwd=- ] ]
[ --preserve_acl | --preserve_local_acl ]  
Options
<catalog>

Name of catalog to be imported. May specify one of the following:

a) <application>/<catalog>

b) /<catalog>

<dir>

Name of exchange directory from which the catalog is to be imported. The directory may be one of the following:

- Directory relative to /vol/_impex

- URL with the following format 'http://<path>'

--force

Option to allow importing of catalog even if it is already present (that is, each class is removed and then imported)

user=<user>

Name of user to use for authentication purposes when importing the catalog from a URL

pwd=-

(Optional) Prompt for password to use for authentication purposes when importing the catalog from a URL. If the standard input is not a terminal device, it will not print a prompt and expect only one copy of the password on 'stdin' (this can be used for batch operations, to set the password from a file).

--preserve_acl

Preserve the global catalog ACL if it is present.

--preserve_local_acl

Preserve local principals in the global catalog ACL.

Examples
cat import my-app/local catalog

Import all classes to local catalog of application 'my-app'

cat import /system catalog

Import all classes to global catalog

Notes: