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 CURRENT_DB_TABLE Instance attribute Private Object reference (TYPE REF TO) DB2_FAILOVER_T_DB holds database sections in failover configuration 20111117
2 FORMAT Instance attribute Private Type reference (TYPE) I format of this parser 20120123
3 TMP_CLIENT_LISTS Instance attribute Private See coding DB2: Failover Configuration: contains list of affinity lists 20111121
4 TMP_CURRENT_LIST_COUNT Instance attribute Private Type reference (TYPE) I 0 ONLY FOR PARSING AND REDERING 20111117
5 TMP_LIST_TABLE Instance attribute Private See coding ONLY FOR PARSING AND REDERING 20111118
Methods
# Method Level Visibility Method type Description Created on
1 CLEAR_DB_RUN Instance method Public Method this method cleans up temp variables 20111118
2 CONDENSE_NO_GAPS Static method Public Method 20130905
3 CONSTRUCTOR Instance method Public Constructor Constructor accepting a filename 20111109
4 CONVERT_UPPER_CASE Static method Public Method converts a given String to upper case 20130122
5 CREATE Instance method Public Method 20111116
6 DESERIALIZE_AFFINITY_LIST Instance method Public Method this method deserializes an affinity list 20111118
7 DESERIALIZE_CLIENT Instance method Public Method this method puts an affinity list in the approbiate client 20111118
8 FORMAT_OUTPUT Instance method Private Method excepts a XML Input string and formats it nicely 20130905
9 GET_LIST_NAME Instance method Public Method gets current list_name 20111118
10 SERIALIZE_AFFINITY_LIST 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 Importing INPUT_STRING Value transfer Type reference (TYPE) DB2STRING String 20130905
2 Exporting 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 Importing 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 Importing UPPERCASE_INPUT Value transfer Type reference (TYPE) STRING input value 20130122
2 Exporting 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 Importing CLIENT_NAME Call by reference Type reference (TYPE) STRING name of the client if list_name is initial 20111213
2 Importing DB_ALIAS_IN Call by reference Type reference (TYPE) STRING current db 20111118
3 Importing LIST_NAME Call by reference Type reference (TYPE) STRING the name of the list important for temporary storage 20111118
4 Importing 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 Importing CLIENT_NAME Call by reference Type reference (TYPE) STRING the name of the client 20111118
2 Importing DB_ALIAS_IN Call by reference Type reference (TYPE) STRING current db 20111118
3 Importing 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 Returning FORMATTED_DATA Value transfer Type reference (TYPE) STRING rendered data, formatted 20130905
2 Importing 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 Importing CLIENT_HOSTNAME Call by reference Type reference (TYPE) STRING hostname relevant for list access 20111118
2 Importing CLIENT_NAME Call by reference Type reference (TYPE) STRING Name of the client 20111118
3 Importing DB_ALIAS_IN Call by reference Type reference (TYPE) STRING Name of relevant db 20111118
4 Returning 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 Importing DB_ALIAS_IN Call by reference Type reference (TYPE) STRING name of database to look at 20111117
2 Returning 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