SAP ABAP Class CL_DB2_NETSTATS (backend for network statistics)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DB-DB2 (Application Component) DB2 for z/OS
⤷
STU2 (Package) CCMS for DB2 for OS/390
⤷
⤷
Properties
| Class | CL_DB2_NETSTATS | |
| Short Description | backend for network statistics | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | STU2 | CCMS for DB2 for OS/390 |
| Created | 20110819 | SAP |
| Last change | 20140121 | 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_NETSTATS has no interface implemented.
Friends
Class CL_DB2_NETSTATS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Public | Object reference (TYPE REF TO) | CL_DB2_MESSAGE_QUEUE | handles messages | 20130402 | |||
| 2 | Constant | Public | Type reference (TYPE) | DB2TABNAML | 'DB2CLINETSTATS' | DB2 long table name | 20130402 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | change profile parameter | 20110819 | |
| 2 | Static method | Public | Method | check / create table db2clinetstats | 20130402 | |
| 3 | Static method | Public | Constructor | 20130420 | ||
| 4 | Static method | Public | Method | disable collection of network statistics | 20130307 | |
| 5 | Static method | Public | Method | enable collection of network statistics | 20130307 | |
| 6 | Static method | Public | Method | get appservers | 20121129 | |
| 7 | Static method | Public | Method | get minimum and maximum values | 20121025 | |
| 8 | Static method | Public | Method | get network statistics | 20110819 | |
| 9 | Static method | Public | Method | check status pf parameter dbs/db2/net_stats | 20110819 | |
| 10 | Static method | Private | Method | get table definitions | 20110819 | |
| 11 | Static method | Public | Method | get workprocess numbers | 20121129 | |
| 12 | Static method | Public | Method | get workprocess types | 20121129 |
Events
Class CL_DB2_NETSTATS has no event.
Types
Class CL_DB2_NETSTATS has no local type.
Method Signatures
Method CHANGE_PARAMETER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ON_ALL_SERVERS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20130402 | |||
| 2 | PARAM_VALUE | Call by reference | Type reference (TYPE) | PFEPVALUE | Value of the profile parameter | 20110819 | |||
| 3 | PROF_PARAM | Call by reference | Type reference (TYPE) | PFEPARNAME | Profile parameter name | 20110819 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DB2: root class regarding exceptions | 20110819 |
Method CHECK_DB2CLINETSTATS 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_NAME | Logical name for a database connection | 20130402 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DB2: root class regarding exceptions | 20130402 | ||
| 2 | Exception Class for SQL Error | 20130402 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_DB2_NETSTATS has no parameter.
Method CLASS_CONSTRUCTOR on class CL_DB2_NETSTATS has no exception.
Method DISABLE_COLLECTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ON_ALL_SERVERS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20130402 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DB2: root class regarding exceptions | 20130307 |
Method ENABLE_COLLECTION Signature
Method ENABLE_COLLECTION on class CL_DB2_NETSTATS has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DB2: root class regarding exceptions | 20130307 |
Method GET_APPSERVERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | APPSERVERS | Value transfer | Type reference (TYPE) | DBA_LISTBOX_LIST | DBA Cockpit: Listbox Values | 20121129 | |||
| 2 | REMOTE_DBCON | Call by reference | Type reference (TYPE) | DBCON_NAME | Logical name for a database connection | 20121129 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for SQL Error | 20121129 |
Method GET_MINMAX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | APPSERVER | Call by reference | Type reference (TYPE) | DB2APPSERVER | appserver name | 20121114 | |||
| 2 | DATE_FROM | Call by reference | Type reference (TYPE) | DATS | 20121114 | ||||
| 3 | DATE_TO | Call by reference | Type reference (TYPE) | DATS | 20121114 | ||||
| 4 | INTERVALEND | Call by reference | Type reference (TYPE) | DB2TIMESTRING | structure for db2 network statistics - backend class | 20121025 | |||
| 5 | NETSTATS | Value transfer | Type reference (TYPE) | DB2NETSTATS_MINMAX | structure for db2 network statistics | 20121025 | |||
| 6 | REMOTE_DBCON | Call by reference | Type reference (TYPE) | DBCON_NAME | Name of a Custom Control Container | 20121025 | |||
| 7 | TIME_FROM | Call by reference | Type reference (TYPE) | TIMS | 20121114 | ||||
| 8 | TIME_TO | Call by reference | Type reference (TYPE) | TIMS | 20121114 | ||||
| 9 | WP | Call by reference | Type reference (TYPE) | DB2WP | work process | 20121114 | |||
| 10 | WPTYPE | Call by reference | Type reference (TYPE) | DB2WPTYPE | work process type | 20121114 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for SQL Error | 20121119 |
Method GET_NETSTATS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FILTER | Call by reference | Type reference (TYPE) | DB2NETSTATS_FILTER | view structure for network statistics | 20110819 | |||
| 2 | NETSTATS | Value transfer | Type reference (TYPE) | DB2NETWSTATS_TAB | table type for db2 network statistics | 20110819 | |||
| 3 | REMOTE_DBCON | Call by reference | Type reference (TYPE) | DBCON_NAME | Logical name for a database connection | 20110819 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for SQL Error | 20121022 |
Method GET_PARAM_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | COLL_STATUS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20110819 |
Method GET_PARAM_STATUS on class CL_DB2_NETSTATS has no exception.
Method GET_TABLE_DEF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INDEXDESCR | Call by reference | Type reference (TYPE) | DB2_IDX_COLUMN_DESCRIPTION_TAB | Internal table for column description of a DB Index | 20130402 | |||
| 2 | TABDEF | Call by reference | Type reference (TYPE) | DB2_COLUMN_DESCRIPTION_TAB | internal table for column descriptions | 20110819 |
Method GET_TABLE_DEF on class CL_DB2_NETSTATS has no exception.
Method GET_WP_NUMBERS 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_NAME | Logical name for a database connection | 20121129 | |||
| 2 | WP_NUMBERS | Value transfer | Type reference (TYPE) | DBA_LISTBOX_LIST | DBA Cockpit: Listbox Values | 20121129 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for SQL Error | 20121129 |
Method GET_WP_TYPES 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_NAME | Logical name for a database connection | 20121129 | |||
| 2 | WP_TYPES | Value transfer | Type reference (TYPE) | DBA_LISTBOX_LIST | DBA Cockpit: Listbox Values | 20121129 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for SQL Error | 20121129 |
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |