IBM Books

XML Extender Administration and Programming

dxxEnableColumn()

Purpose

Enables an XML column. When enabling a column, the XML Extender completes the following tasks:

dxxEnableColumn(char(UDB_SIZE) dbName,      /* input */
                char(UDB_SIZE) tbName,      /* input */
                char(UDB_SIZE) colName,     /* input */
                CLOB(100K)     DAD,         /* input */
                char(UDB_SIZE) tablespace,  /* input */
                char(UDB_SIZE) defaultView, /* input */
                char(UDB_SIZE) rootID,      /* input */
                long           returnCode,  /* output */
                varchar(1024)  returnMsg)   /* output */

Parameters

Table 42. dxxEnableColumn() parameters
Parameter Description IN/OUT parameter
dbName The database name. IN
tbName The name of the table containing the XML column. IN
colName The name of the XML column. IN
DAD A CLOB containing the DAD file. IN
tablespace The table space that contains the side tables other than the default table space. If not specified, the default table space is used. IN
defaultView The name of the default view joining the application table and side tables. IN
rootID The name of the single primary key in the application table that is to be used as the root_id for the side table. IN
returnCode The return code from the stored procedure. OUT
returnMsg The message text that is returned in case of error. OUT


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