This structure is used to pass information to sqleaddn - Add Node.
Table 29. Fields in the SQLE-NODE-APPN Structure
Field Name | Data Type | Description |
---|---|---|
SQLADDID | CHAR | An "eyecatcher" value which must be set to SQLE_ADDOPTID_V51. |
TBLSPACE_TYPE | sqluint32 | Specifies the type of system temporary table space definitions to be used for the node being added. See below for values. |
TBLSPACE_NODE | SQL_PDB_NODE_TYPE | Specifies the node number from which the system temporary table space definitions should be obtained. The node number must exist in the db2nodes.cfg file, and is only used if the tblspace_type field is set to SQLE_TABLESPACES_LIKE_NODE. |
Valid values for TBLSPACE_TYPE (defined in sqlenv) are:
Language Syntax
C Structure
/* File: sqlenv.h */ /* Structure: SQLE-ADDN-OPTIONS */ /* ... */ SQL_STRUCTURE sqle_addn_options { char sqladdid[8]; sqluint32 tblspace_type; SQL_PDB_NODE_TYPE tblspace_node; }; /* ... */ |
COBOL Structure
* File: sqlenv.cbl 01 SQLE-ADDN-OPTIONS. 05 SQLADDID PIC X(8). 05 SQL-TBLSPACE-TYPE PIC 9(9) COMP-5. 05 SQL-TBLSPACE-NODE PIC S9(4) COMP-5. 05 FILLER PIC X(2). * |