IBM Books

XML Extender Administration and Programming

enable_collection

Purpose

Connects to a database and enables an XML collection according to the specified DAD. When enabling a collection, the XML Extender does the following tasks:

Format
enable_collection
>>-dxxadm--enable_collection---db_name---collection_name-------->
 
>----DAD_file----+-----------------+---+------------+----------->
                 '--t--tablespace--'   '--l--login--'
 
>-----+---------------+----------------------------------------><
      '--p--password--'
 

Parameters

Table 18. enable_collection parameters
Parameter Description
db_name The name of the database in which the data resides.
collection_name The name of the XML collection.
DAD_file The name of the DAD file that maps the XML document to the relational tables in the collection.
-t tablespace The name of the table space, which is optional and associated with the collection. If not specified, the default table space is used.
-l login The user ID, which is optional, used to connect to the database, when specified. If not specified, the current user ID is used.
-p password The password, which is optional, used to connect to the database, when specified. If not specified, the current password is used.

Examples

The following example enables an XML collection.

dxxadm enable_collection SALES_DB sales_ord getstart_xcollection.dad -t orderspace


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]