SAP ABAP Class CL_DB2_TABLESPACE_INFO (class with table information)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DB-DB2 (Application Component) DB2 for z/OS
⤷
STU3 (Package) Development Class for Database Monitor
⤷
⤷
Properties
| Class | CL_DB2_TABLESPACE_INFO | |
| Short Description | class with table information | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | STU3 | Development Class for Database Monitor |
| Created | 20090615 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_DB2_TABLESPACE_INFO has no interface implemented.
Friends
Class CL_DB2_TABLESPACE_INFO has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Type reference (TYPE) | DB2DATASETS | datasets | 20091021 | |||
| 2 | Static Attribute | Private | Type reference (TYPE) | DB2RELEASE | DB2 Version / Release | 20091021 | |||
| 3 | Instance attribute | Public | Type reference (TYPE) | DB2_DB02_TS_DETAILS | ts details | 20091021 | |||
| 4 | Instance attribute | Public | Type reference (TYPE) | DB2_DB02_TS_GEN | general TS Data | 20091021 | |||
| 5 | Instance attribute | Public | Type reference (TYPE) | DB_T_TABHIST | history | 20091021 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | DB2DATE | last collection run (date) | 20120711 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | DB2TIME | last collection run (time) | 20120711 | |||
| 8 | Instance attribute | Public | Type reference (TYPE) | DB2TBPARTLIST | partitions | 20091021 | |||
| 9 | Instance attribute | Public | Type reference (TYPE) | DB2_DB02_TAB_PART_DETAILS | partition details | 20091021 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | DBCON-CON_NAME | remote dbcon | 20091021 | |||
| 11 | Instance attribute | Public | Type reference (TYPE) | DB2_T_TABLES | tables | 20091021 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | DB2DBNAML | TS Creator | 20091021 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | DB2TSNAML | Name of the tablespace | 20091021 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | constructor | 20091021 | |
| 2 | Instance method | Public | Method | get datasets Information | 20091021 | |
| 3 | Instance method | Private | Method | get DB Version / Release | 20091021 | |
| 4 | Instance method | Public | Method | get detail information | 20091021 | |
| 5 | Instance method | Public | Method | get general data | 20091021 | |
| 6 | Instance method | Public | Method | get history information | 20091021 | |
| 7 | Instance method | Public | Method | get date / time of last collection run | 20120711 | |
| 8 | Instance method | Public | Method | get partitions information | 20091021 | |
| 9 | Instance method | Public | Method | get partition detail information | 20091021 | |
| 10 | Instance method | Public | Method | get tables information | 20091021 |
Events
Class CL_DB2_TABLESPACE_INFO has no event.
Types
Class CL_DB2_TABLESPACE_INFO has no local type.
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | REMOTE_DBCON | Call by reference | Type reference (TYPE) | DBCON-CON_NAME | Logical name for a database connection | 20091021 | |||
| 2 | TS_DBNAME | Call by reference | Type reference (TYPE) | DB2DBNAML | DB2 creator name | 20091021 | |||
| 3 | TS_NAME | Call by reference | Type reference (TYPE) | DB2TSNAML | Name of the tablespace | 20091021 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20091021 | |||
| 2 | 20091021 |
Method GET_DATASETS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MSG | Call by reference | Type reference (TYPE) | STRING | 20091104 | ||||
| 2 | SQLERR_REF | Call by reference | Object reference (TYPE REF TO) | CX_SQL_EXCEPTION | Exception Class for SQL Error | 20091021 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20091021 | |||
| 2 | 20091021 |
Method GET_DB_VERSION Signature
Method GET_DB_VERSION on class CL_DB2_TABLESPACE_INFO has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20091021 | |||
| 2 | 20091021 |
Method GET_DETAILS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SQLERR_REF | Call by reference | Object reference (TYPE REF TO) | CX_SQL_EXCEPTION | Exception Class for SQL Error | 20091021 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20091021 | |||
| 2 | 20091021 |
Method GET_GENERAL_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SQLERR_REF | Call by reference | Object reference (TYPE REF TO) | CX_SQL_EXCEPTION | Exception Class for SQL Error | 20091021 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20091021 | |||
| 2 | 20091021 |
Method GET_HISTORY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EXPANDED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20091103 | |||
| 2 | FROM_DATE | Call by reference | Type reference (TYPE) | DB2DATE | Field type date, YYYYMMDD | 20091021 | |||
| 3 | RANGE | Call by reference | Type reference (TYPE) | DB2HIST_RANGE | Range for History ( daily, weekly, monthly ) | 20091021 | |||
| 4 | SQLERR_REF | Call by reference | Object reference (TYPE REF TO) | CX_SQL_EXCEPTION | Exception Class for SQL Error | 20091021 | |||
| 5 | TO_DATE | Call by reference | Type reference (TYPE) | DB2DATE | Field type date, YYYYMMDD | 20091021 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20091021 | |||
| 2 | 20091021 |
Method GET_LAST_RUN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LAST_DATE | Call by reference | Type reference (TYPE) | DB2DATE | Field type date, YYYYMMDD | 20120711 | |||
| 2 | LAST_TIME | Call by reference | Type reference (TYPE) | DB2TIME | Field type time, HHMMSS | 20120711 |
Method GET_LAST_RUN on class CL_DB2_TABLESPACE_INFO has no exception.
Method GET_PARTITIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SQLERR_REF | Call by reference | Object reference (TYPE REF TO) | CX_SQL_EXCEPTION | Exception Class for SQL Error | 20091021 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20091021 | |||
| 2 | 20091021 |
Method GET_PARTITION_DETAILS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PARTNO | Call by reference | Type reference (TYPE) | INT2 | 2 byte integer (signed) | 20091021 | |||
| 2 | SQLERR_REF | Call by reference | Object reference (TYPE REF TO) | CX_SQL_EXCEPTION | Exception Class for SQL Error | 20091021 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20091021 | |||
| 2 | 20091021 |
Method GET_TABLES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SQLERR_REF | Call by reference | Object reference (TYPE REF TO) | CX_SQL_EXCEPTION | Exception Class for SQL Error | 20091021 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20091021 | |||
| 2 | 20091021 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 740 |