SAP ABAP Class CL_DB2_FAILOVER_CONFIG (Master class for the failover configuration)
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_FAILOVER_CONFIG | |
Short Description | Master class for the failover configuration | |
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 | 20111107 | 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_FAILOVER_CONFIG has no interface implemented.
Friends
Class CL_DB2_FAILOVER_CONFIG has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Public | Type reference (TYPE) | I | 1 | 20131023 | ||
2 | ![]() |
Constant | Public | Type reference (TYPE) | I | 0 | 20131023 | ||
3 | ![]() |
Static Attribute | Public | Type reference (TYPE) | I | remembers which file format was loaded | 20120123 | ||
4 | ![]() |
Static Attribute | Public | Type reference (TYPE) | DB6NAVSYST | System data of the current remote sys | 20111215 | ||
5 | ![]() |
Static Attribute | Public | Type reference (TYPE) | ABAP_BOOL | tells me if monitored system is abap stack | 20120322 | ||
6 | ![]() |
Static Attribute | Private | Type reference (TYPE) | DB2_FAILOVER_T_DB | holds database sections in failover configuration | 20111117 | ||
7 | ![]() |
Static Attribute | Public | Type reference (TYPE) | DB2DSMEM_TAB | table of available ds member | 20120323 | ||
8 | ![]() |
Static Attribute | Private | Type reference (TYPE) | DB2_FAILOVER_T_DSN_ELEMENT | Table of DSN_Elements, at the moment only one element in it | 20111116 | ||
9 | ![]() |
Static Attribute | Public | Type reference (TYPE) | I | 100 | Constant for disk read file | 20120131 | |
10 | ![]() |
Static Attribute | Public | Type reference (TYPE) | I | 99 | Constant for uploaded file | 20120131 | |
11 | ![]() |
Static Attribute | Public | Type reference (TYPE) | I | 3 | Constant for current Parsing format abap_ini | 20120119 | |
12 | ![]() |
Static Attribute | Public | Type reference (TYPE) | I | 2 | Constant for current Parsing format abap_xml | 20120119 | |
13 | ![]() |
Static Attribute | Public | Type reference (TYPE) | I | 1 | Constant for current Parsing format java | 20120119 | |
14 | ![]() |
Static Attribute | Public | Type reference (TYPE) | ABAP_BOOL | is monitored system data_sharing | 20120323 | ||
15 | ![]() |
Static Attribute | Public | Type reference (TYPE) | ABAP_BOOL | is current loaded config from a monitored system | 20130905 | ||
16 | ![]() |
Static Attribute | Public | Object reference (TYPE REF TO) | CL_DB2_MESSAGE_QUEUE | holds a reference to the failover message broker | 20120208 | ||
17 | ![]() |
Static Attribute | Private | See coding | Hold references to all registered parsers | 20111109 | |||
18 | ![]() |
Static Attribute | Public | Type reference (TYPE) | RFC_DEST | SAPOSCOL destination | 20120105 | ||
19 | ![]() |
Static Attribute | Public | Type reference (TYPE) | ABAP_BOOL | is rfc of remote connection working | 20120322 | ||
20 | ![]() |
Static Attribute | Private | Type reference (TYPE) | DB2_FAILOVER_T_PARAMETER | DB2: Failover Configuration: table that contains parameter | 20130905 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Method | enable the references in a copied database | 20121026 |
2 | ![]() |
Static method | Public | Constructor | 20120622 | |
3 | ![]() |
Static method | Public | Method | clears the backend at config reload | 20120830 |
4 | ![]() |
Static method | Public | Method | clears the data structure | 20120830 |
5 | ![]() |
Static method | Private | Method | converts a Standard table of db2conini to dba_string_tab | 20120124 |
6 | ![]() |
Static method | Public | Method | Returns DDFLOCATION Details to current monitored system | 20130905 |
7 | ![]() |
Static method | Public | Method | deliver databases of currently selected dsn to the frontend | 20111129 |
8 | ![]() |
Static method | Public | Method | Returns which failover format is active uses constants | 20120314 |
9 | ![]() |
Static method | Public | Method | deliver ready formatted data to the frontend | 20111111 |
10 | ![]() |
Static method | Public | Method | receives changed data | 20111130 |
11 | ![]() |
Static method | Public | Method | This method is going to parse a failover config file | 20111107 |
12 | ![]() |
Static method | Private | Method | prepares the content for writing | 20120207 |
13 | ![]() |
Static method | Private | Method | this method reads a local abap_xml db2dsdriver.cfg file | 20120123 |
14 | ![]() |
Static method | Private | Method | This method reads a connect.ini file | 20120105 |
15 | ![]() |
Static method | Public | Method | register and instantiate parser object for a specific file | 20111109 |
16 | ![]() |
Static method | Public | Method | This method is going to render a failover config file | 20111107 |
17 | ![]() |
Static method | Private | Method | writes an db2dsdriver.cfg | 20120123 |
18 | ![]() |
Static method | Private | Method | 20120123 | |
19 | ![]() |
Static method | Public | Method | writes the given format to disk and renders it before | 20120123 |
Events
Class CL_DB2_FAILOVER_CONFIG has no event.
Types
Class CL_DB2_FAILOVER_CONFIG has no local type.
Method Signatures
Method ADJUST_DB_REFERENCES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
DATABASE_NEW | Call by reference | Object reference (TYPE REF TO) | DB2_FAILOVER_DB | DB2: Failover Configuration: Structure for different DBs | 20121026 |
Method ADJUST_DB_REFERENCES on class CL_DB2_FAILOVER_CONFIG has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_DB2_FAILOVER_CONFIG has no parameter.
Method CLASS_CONSTRUCTOR on class CL_DB2_FAILOVER_CONFIG has no exception.
Method CLEAR_AT_CONFIG_RELOAD Signature
Method CLEAR_AT_CONFIG_RELOAD on class CL_DB2_FAILOVER_CONFIG has no parameter.
Method CLEAR_AT_CONFIG_RELOAD on class CL_DB2_FAILOVER_CONFIG has no exception.
Method CLEAR_AT_SYSTEM_CHANGED Signature
Method CLEAR_AT_SYSTEM_CHANGED on class CL_DB2_FAILOVER_CONFIG has no parameter.
Method CLEAR_AT_SYSTEM_CHANGED on class CL_DB2_FAILOVER_CONFIG has no exception.
Method CONVERT_TAB_DB2CONINI_TO_STR_T Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CONINI_TAB | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20120124 | |||
2 | ![]() |
STRING_TAB | Value transfer | Type reference (TYPE) | DBA_STRING_TAB | DBA Cockpit: Table of DBA_STRING_STRUC | 20120124 |
Method CONVERT_TAB_DB2CONINI_TO_STR_T on class CL_DB2_FAILOVER_CONFIG has no exception.
Method GET_DB2_DS_DETAILS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
LOCATION | Call by reference | Type reference (TYPE) | STRING | DDFLocation of connection String to DB | 20130905 | ||
2 | ![]() |
SYSTEM_NAME | Call by reference | Type reference (TYPE) | STRING | Name of this SAP System | 20130905 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DB2: root class regarding exceptions | 20130905 |
Method GET_DB_OF_DSN Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
DATABASE | Value transfer | Type reference (TYPE) | DB2_FAILOVER_DB | Database of given dsn_alias | 20121025 | ||
2 | ![]() |
DSN_ALIAS | Call by reference | Type reference (TYPE) | STRING | Selected DSN in Frontend | 20111129 | ||
3 | ![]() |
OLD_DB_REF | Call by reference | Type reference (TYPE) | DB2_FAILOVER_DB | DB2: Failover Configuration: Structure for different DBs | 20121102 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DB2: root class regarding exceptions | 20121218 |
Method GET_FAILOVER_MECHANISM Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
FAILOVER_CONFIG_FORMAT | Value transfer | Type reference (TYPE) | I | Contains either format_abap_xml or format_abap_ini | 20120314 |
Method GET_FAILOVER_MECHANISM on class CL_DB2_FAILOVER_CONFIG has no exception.
Method GET_TREE_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
FORMATTED_TREE_DATA | Value transfer | Type reference (TYPE) | DB2_FAILOVER_T_TRANSFER | Table for transfering tree data | 20111111 |
Method GET_TREE_DATA on class CL_DB2_FAILOVER_CONFIG has no exception.
Method GIVE_CHANGED_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
DATABASE | Call by reference | Type reference (TYPE) | DB2_FAILOVER_DB | DB2: Failover Configuration: Structure for different DBs | 20121025 | ||
2 | ![]() |
DSN_ELEMENT | Call by reference | Type reference (TYPE) | STRING | 20111130 | |||
3 | ![]() |
SUCCESSFULL | Value transfer | Type reference (TYPE) | ABAP_BOOL | save successfull | 20120323 |
Method GIVE_CHANGED_DATA on class CL_DB2_FAILOVER_CONFIG has no exception.
Method PARSE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
PARSE_FORMAT | Call by reference | Type reference (TYPE) | INT4 | -1 | triggers parsing of specified format from disk | 20121206 | |
2 | ![]() |
RAW_DATA | Call by reference | Type reference (TYPE) | DB2_FAILOVER_UNPARSED_DATA | DB2: Failover Configuration: Imported, unparsed config file | 20120823 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DB2: root class regarding exceptions | 20120214 |
Method PREPARE_XML_FOR_WRITE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CONTENT | Call by reference | Type reference (TYPE) | STRING | 20120207 | |||
2 | ![]() |
DB2DSDRIVER_TAB | Value transfer | Type reference (TYPE) | DB2_T_CHAR255 | Table Type for CHAR255 | 20120207 |
Method PREPARE_XML_FOR_WRITE on class CL_DB2_FAILOVER_CONFIG has no exception.
Method READ_ABAP_XML Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CONTENT | Value transfer | Type reference (TYPE) | DBA_STRING_TAB | DBA Cockpit: Table of DBA_STRING_STRUC | 20120123 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DB2: root class regarding exceptions | 20120124 |
Method READ_CONNECT_INI Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CONTENT | Value transfer | Type reference (TYPE) | DBA_STRING_TAB | DBA Cockpit: Table of DBA_STRING_STRUC | 20120105 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DB2: root class regarding exceptions | 20120105 |
Method REGISTER_PARSER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
FORMAT | Call by reference | Type reference (TYPE) | I | format to parse, rely on defined constants. | 20120123 |
Method REGISTER_PARSER on class CL_DB2_FAILOVER_CONFIG has no exception.
Method RENDER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RENDERED_DATA | Value transfer | Type reference (TYPE) | STRING | DBA Cockpit: Simple String Structure | 20111124 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DB2: root class regarding exceptions | 20130905 |
Method WRITE_ABAP_XML Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CONTENT | Call by reference | Type reference (TYPE) | STRING | 20120123 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DB2: root class regarding exceptions | 20120131 |
Method WRITE_CONNECT_INI Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CONTENT | Call by reference | Type reference (TYPE) | STRING | 20120123 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DB2: root class regarding exceptions | 20120131 |
Method WRITE_TO_DISK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
FORMAT | Call by reference | Type reference (TYPE) | I | 20120123 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DBA Cockpit: Root exception class | 20120330 |
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in | 740 |