This structure is used to provide a list of table space names.
Table 72. Fields in the SQLU-TABLESPACE-BKRST-LIST Structure
Field Name | Data Type | Description |
---|---|---|
NUM_ENTRY | INTEGER | Number of entries in the list pointed to by the tablespace field. |
TABLESPACE | Pointer | A pointer to an sqlu_tablespace_entry structure. |
Table 73. Fields in the SQLU-TABLESPACE-ENTRY Structure
Field Name | Data Type | Description |
---|---|---|
RESERVE_LEN | INTEGER | Length of the character string provided in the tablespace_entry field. For languages other than C. |
TABLESPACE_ENTRY | CHAR(19) | Table space name. |
Language Syntax
C Structure
/* File: sqlutil.h */ /* Structure: SQLU-TABLESPACE-BKRST-LIST */ /* ... */ typedef SQL_STRUCTURE sqlu_tablespace_bkrst_list { long num_entry; struct sqlu_tablespace_entry *tablespace; } sqlu_tablespace_bkrst_list; /* ... */ |
/* File: sqlutil.h */ /* Structure: SQLU-TABLESPACE-ENTRY */ /* ... */ typedef SQL_STRUCTURE sqlu_tablespace_entry { sqluint32 reserve_len; char tablespace_entry[SQLU_MAX_TBS_NAME_LEN+1]; char filler[1]; } sqlu_tablespace_entry; /* ... */ |
COBOL Structure
* File: sqlutil.cbl 01 SQLU-TABLESPACE-BKRST-LIST. 05 SQL-NUM-ENTRY PIC S9(9) COMP-5. 05 SQL-TABLESPACE USAGE IS POINTER. * |
* File: sqlutil.cbl 01 SQLU-TABLESPACE-ENTRY. 05 SQL-TBSP-LEN PIC 9(9) COMP-5. 05 SQL-TABLESPACE-ENTRY PIC X(18). 05 FILLER PIC X. 05 SQL-FILLER PIC X(1). * |