SAP ABAP Class CL_DB2_FAILOVER_PARSER_XML (This is a parser for an failover config xml file)
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

⤷

⤷

Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_DB2_FAILOVER_PARSEABLE | Implementations are able to parse failover config file | 20111107 |
Properties
Class | CL_DB2_FAILOVER_PARSER_XML | |
Short Description | This is a parser for an failover config xml file | |
Super Class | ||
Instantiability of a Class | 0 | Private |
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
Class CL_DB2_FAILOVER_PARSER_XML has no forward declaration.
Interfaces
# | Interface | Abstract | Final | Description | Created on |
---|---|---|---|---|---|
1 | IF_DB2_FAILOVER_PARSEABLE | Implementations are able to parse failover config file | 20111107 |
Friends
Class CL_DB2_FAILOVER_PARSER_XML has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | DB2_FAILOVER_T_DB | holds database sections in failover configuration | 20111117 | ||
2 | ![]() |
Instance attribute | Private | Type reference (TYPE) | I | format of this parser | 20120123 | ||
3 | ![]() |
Instance attribute | Private | See coding | DB2: Failover Configuration: contains list of affinity lists | 20111121 | |||
4 | ![]() |
Instance attribute | Private | Type reference (TYPE) | I | 0 | ONLY FOR PARSING AND REDERING | 20111117 | |
5 | ![]() |
Instance attribute | Private | See coding | ONLY FOR PARSING AND REDERING | 20111118 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Public | Method | this method cleans up temp variables | 20111118 |
2 | ![]() |
Static method | Public | Method | 20130905 | |
3 | ![]() |
Instance method | Public | Constructor | Constructor accepting a filename | 20111109 |
4 | ![]() |
Static method | Public | Method | converts a given String to upper case | 20130122 |
5 | ![]() |
Instance method | Public | Method | 20111116 | |
6 | ![]() |
Instance method | Public | Method | this method deserializes an affinity list | 20111118 |
7 | ![]() |
Instance method | Public | Method | this method puts an affinity list in the approbiate client | 20111118 |
8 | ![]() |
Instance method | Private | Method | excepts a XML Input string and formats it nicely | 20130905 |
9 | ![]() |
Instance method | Public | Method | gets current list_name | 20111118 |
10 | ![]() |
Instance method | Public | Method | this method prepares an affinity list for serialization | 20111117 |
Events
Class CL_DB2_FAILOVER_PARSER_XML has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | DB_CLIENT_LINE | Private | See coding | 20111121 | BEGIN OF db_client_line,
db_alias TYPE string,
client_name TYPE string,
list_name TYPE string,
END OF db_client_line
|
||
2 | XML_LIST_STORAGE_LINE | Private | See coding | 20111118 | BEGIN OF xml_list_storage_line,
db_alias TYPE string,
list_name TYPE string,
list TYPE string,
server_order TYPE db2_failover_t_server_order,
END OF xml_list_storage_line
|
Method Signatures
Method CLEAR_DB_RUN Signature
Method CLEAR_DB_RUN on class CL_DB2_FAILOVER_PARSER_XML has no parameter.
Method CLEAR_DB_RUN on class CL_DB2_FAILOVER_PARSER_XML has no exception.
Method CONDENSE_NO_GAPS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
INPUT_STRING | Value transfer | Type reference (TYPE) | DB2STRING | String | 20130905 | ||
2 | ![]() |
OUTPUT_STRING | Value transfer | Type reference (TYPE) | DB2STRING | String | 20130905 |
Method CONDENSE_NO_GAPS on class CL_DB2_FAILOVER_PARSER_XML has no exception.
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
FORMAT | Call by reference | Type reference (TYPE) | I | 20120420 |
Method CONSTRUCTOR on class CL_DB2_FAILOVER_PARSER_XML has no exception.
Method CONVERT_UPPER_CASE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
UPPERCASE_INPUT | Value transfer | Type reference (TYPE) | STRING | input value | 20130122 | ||
2 | ![]() |
UPPERCASE_OUTPUT | Value transfer | Type reference (TYPE) | STRING | converted to uppercase | 20130122 |
Method CONVERT_UPPER_CASE on class CL_DB2_FAILOVER_PARSER_XML has no exception.
Method CREATE Signature
Method CREATE on class CL_DB2_FAILOVER_PARSER_XML has no parameter.
Method CREATE on class CL_DB2_FAILOVER_PARSER_XML has no exception.
Method DESERIALIZE_AFFINITY_LIST Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CLIENT_NAME | Call by reference | Type reference (TYPE) | STRING | name of the client if list_name is initial | 20111213 | ||
2 | ![]() |
DB_ALIAS_IN | Call by reference | Type reference (TYPE) | STRING | current db | 20111118 | ||
3 | ![]() |
LIST_NAME | Call by reference | Type reference (TYPE) | STRING | the name of the list important for temporary storage | 20111118 | ||
4 | ![]() |
XML_LIST | Call by reference | Type reference (TYPE) | STRING | the list to be integrated in data structrue | 20111118 |
Method DESERIALIZE_AFFINITY_LIST on class CL_DB2_FAILOVER_PARSER_XML has no exception.
Method DESERIALIZE_CLIENT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CLIENT_NAME | Call by reference | Type reference (TYPE) | STRING | the name of the client | 20111118 | ||
2 | ![]() |
DB_ALIAS_IN | Call by reference | Type reference (TYPE) | STRING | current db | 20111118 | ||
3 | ![]() |
LIST_NAME | Call by reference | Type reference (TYPE) | STRING | the name of the list | 20111118 |
Method DESERIALIZE_CLIENT on class CL_DB2_FAILOVER_PARSER_XML has no exception.
Method FORMAT_OUTPUT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
FORMATTED_DATA | Value transfer | Type reference (TYPE) | STRING | rendered data, formatted | 20130905 | ||
2 | ![]() |
RENDERED_DATA | Call by reference | Type reference (TYPE) | STRING | rendered data but unformated | 20130905 |
Method FORMAT_OUTPUT on class CL_DB2_FAILOVER_PARSER_XML has no exception.
Method GET_LIST_NAME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CLIENT_HOSTNAME | Call by reference | Type reference (TYPE) | STRING | hostname relevant for list access | 20111118 | ||
2 | ![]() |
CLIENT_NAME | Call by reference | Type reference (TYPE) | STRING | Name of the client | 20111118 | ||
3 | ![]() |
DB_ALIAS_IN | Call by reference | Type reference (TYPE) | STRING | Name of relevant db | 20111118 | ||
4 | ![]() |
LIST_NAME | Value transfer | Type reference (TYPE) | STRING | name of the list | 20111118 |
Method GET_LIST_NAME on class CL_DB2_FAILOVER_PARSER_XML has no exception.
Method SERIALIZE_AFFINITY_LIST Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
DB_ALIAS_IN | Call by reference | Type reference (TYPE) | STRING | name of database to look at | 20111117 | ||
2 | ![]() |
SERVER_LIST | Value transfer | Type reference (TYPE) | STRING | List of servers | 20111117 |
Method SERIALIZE_AFFINITY_LIST on class CL_DB2_FAILOVER_PARSER_XML has no exception.
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in | 740 |