SAP ABAP Class CL_DB2_CONNECT_INI (CL_DB2_CONNECT_INI)
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_CONNECT_INI  
Short Description    
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 20050707   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 DB2CC Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_DB2_CONNECT_INI has no interface implemented.
Friends
Class CL_DB2_CONNECT_INI has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 APPSERV_TABLE Instance attribute Private Type reference (TYPE) DB2CC_APP_SERVERS_ALV_TAB 20050908
2 COMMON Constant Private Type reference (TYPE) STRING 'COMMON' 20050711
3 COMMON_TABLE Instance attribute Private Type reference (TYPE) DB2CC_CONS_DETAIL_TAB 20050713
4 CONNECT_INI_TABLE Instance attribute Private Type reference (TYPE) DB2CC_FILE_TABLE 20050708
5 CONS_DETAIL_TABLE Instance attribute Private Type reference (TYPE) DB2CC_CONS_DETAIL_TAB 20051011
6 CONS_TABLE Instance attribute Private Type reference (TYPE) DB2CC_CONS_TABLE 20050713
7 DEFAULT_GROUP Constant Private Type reference (TYPE) STRING 'DEFAULT_GROUP' 20050711
8 GROUPS Constant Private Type reference (TYPE) STRING 'GROUPS' 20050711
9 GROUPS_TABLE Instance attribute Private Type reference (TYPE) DB2CC_GROUPS_TABLE 20050713
10 LOGICAL_HOSTNAME_KEY Constant Private Type reference (TYPE) STRING '[SUPPORT_LOGICAL_HOSTNAME]' 20090721
11 NAV_REF Instance attribute Private Object reference (TYPE REF TO) CL_DB6_TREE_NAVIGATOR CL_DB6_TREE_NAVIGATOR 20051006
12 RETRY_CNT Constant Private Type reference (TYPE) STRING 'RETRY_CNT' 20050927
13 RFC_DEST Instance attribute Private Type reference (TYPE) RFC_DEST SAPOSCOL-Destination 20051005
14 SECTION_TABLE Instance attribute Private Type reference (TYPE) DB2CC_SECTION_TABLE 20051110
15 SLEEP_TIME Constant Private Type reference (TYPE) STRING 'SLEEP_TIME' 20050927
16 USE_LOGICAL_HOSTNAME Instance attribute Private Type reference (TYPE) ABAP_BOOL 20090721
Methods
# Method Level Visibility Method type Description Created on
1 ADD_CONNECTIONS Instance method Private Method add a connection to the group 20050713
2 ADD_GRP_FOR_APPSRV_WITHOUT_GRP Instance method Private Method Add a group for application servers which have no group 20101011
3 ADD_NOT_ASSIGNED_CONNECTIONS Instance method Private Method add connections that don't belong to any group to cons tab 20051110
4 CONSTRUCTOR Instance method Public Constructor 20050708
5 CREATE_CONNECTION Instance method Private Method create a connection 20050713
6 GENERATE_APP_SERVER_TABLE Instance method Private Method 20050908
7 GENERATE_CONS_DETAIL_TABLE Instance method Private Method 20050909
8 GET_APPSERV_TAB_REF Instance method Public Method returns reference to application server table 20050908
9 GET_APP_SERVERS_TABLE Instance method Public Method get the table of all application servers in the ini file 20050905
10 GET_APP_SERVER_CONS Instance method Public Method 20060704
11 GET_COMMON_TAB_REF Instance method Public Method return reference to common connection attributes 20050927
12 GET_CONNECTION Instance method Private Method returns reference to a connection identified by name 20050915
13 GET_CONSDETAIL_TAB_REF Instance method Public Method get reference to global connections detail table 20050909
14 GET_CONS_DETAIL_TABLE Instance method Public Method gets the details of all connections 20050901
15 GET_GROUP Instance method Private Method get reference to the group 20050914
16 GET_GROUP_CONNECTIONS_TABLE Instance method Public Method returns all connection of the group 20050831
17 GET_GROUP_NAMES_TABLE Instance method Public Method get all group names 20050714
18 GET_KEY_AND_VALUES Instance method Private Method get KEY and VALUE. Format 'key'='val1,val2,.. 20050712
19 GET_RFC_DEST Instance method Public Method get rfc destination 20051115
20 GET_SECTION Instance method Private Method get section '[
]'
20050711
21 GET_SECTIONS Instance method Private Method get all sections from the connect.ini table 20051109
22 GET_SECTION_PROPERTIES Instance method Private Method get attributes of section [COMMON] 20050712
23 IS_CONNECTION_CREATED Instance method Private Method check, if the connection has been created already 20050713
24 IS_CONNECTION_NAME Instance method Private Method check if name is a connection name 20051111
25 IS_GROUP_NAME Instance method Private Method check if name is a group name 20051111
26 MAP_INI_TO_TABLE Instance method Private Method map connect.ini file to internal presentation 20050711
27 MAP_TABLE_TO_INI Instance method Private Method map internal presentation to connect.ini file 20050711
28 READ Instance method Public Method read the CONNECT.INI file 20050707
29 REFRESH_GROUP_APP_SERVERS Instance method Public Method removes application servers that no longer exist from groups 20051012
30 REFRESH_GROUP_CONNECTIONS Instance method Public Method removes connections from the groups that no longer exist 20051011
31 SET_CONNECTION_ATTRIBUTES Instance method Private Method set connections attributes 20050713
32 SET_RFCDEST Instance method Public Method set RFC destination 20051201
33 UPDATE_CONSDETAILS_FROM_TAB Instance method Public Method update classes from table 20050913
34 UPDATE_GROUPS_FROM_TAB Instance method Public Method 20050915
35 UPDATE_GROUP_CONS_FROM_TAB Instance method Public Method update the connections of the group 20050913
36 WRITE Instance method Public Method write the CONNECT.INI file 20050707
Events
Class CL_DB2_CONNECT_INI has no event.
Types
Class CL_DB2_CONNECT_INI has no local type.
Method Signatures

Method ADD_CONNECTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting CONNECTIONS_TABLE Call by reference Type reference (TYPE) DB2CC_CONS_TABLE 20050713
2 Importing CON_NAMES_TABLE Call by reference Type reference (TYPE) DB2CC_KEY_VALUE_TABLE 20050713

Method ADD_CONNECTIONS on class CL_DB2_CONNECT_INI has no exception.

Method ADD_GRP_FOR_APPSRV_WITHOUT_GRP Signature

Method ADD_GRP_FOR_APPSRV_WITHOUT_GRP on class CL_DB2_CONNECT_INI has no parameter.
Method ADD_GRP_FOR_APPSRV_WITHOUT_GRP on class CL_DB2_CONNECT_INI has no exception.

Method ADD_NOT_ASSIGNED_CONNECTIONS Signature

Method ADD_NOT_ASSIGNED_CONNECTIONS on class CL_DB2_CONNECT_INI has no parameter.
Method ADD_NOT_ASSIGNED_CONNECTIONS on class CL_DB2_CONNECT_INI has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NAV_REF Call by reference Object reference (TYPE REF TO) CL_DB6_TREE_NAVIGATOR CL_DB6_TREE_NAVIGATOR 20051006
2 Importing RFC_DEST Call by reference Type reference (TYPE) RFC_DEST SAPOSCOL-Destination 20051005

Method CONSTRUCTOR on class CL_DB2_CONNECT_INI has no exception.

Method CREATE_CONNECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CON_NAME Call by reference Type reference (TYPE) STRING 20050713
2 Exporting CON_REF Call by reference Object reference (TYPE REF TO) CL_DB2_CONNECTION DB2 Connection 20050713

Method CREATE_CONNECTION on class CL_DB2_CONNECT_INI has no exception.

Method GENERATE_APP_SERVER_TABLE Signature

Method GENERATE_APP_SERVER_TABLE on class CL_DB2_CONNECT_INI has no parameter.
Method GENERATE_APP_SERVER_TABLE on class CL_DB2_CONNECT_INI has no exception.

Method GENERATE_CONS_DETAIL_TABLE Signature

Method GENERATE_CONS_DETAIL_TABLE on class CL_DB2_CONNECT_INI has no parameter.
Method GENERATE_CONS_DETAIL_TABLE on class CL_DB2_CONNECT_INI has no exception.

Method GET_APPSERV_TAB_REF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning APP_SERV_TAB Value transfer Object reference (TYPE REF TO) DB2CC_APP_SERVERS_ALV_TAB 20050908

Method GET_APPSERV_TAB_REF on class CL_DB2_CONNECT_INI has no exception.

Method GET_APP_SERVERS_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting APP_SERVERS_TABLE Value transfer Type reference (TYPE) DB2CC_APP_SERVERS_ALV_TAB Name of the application server 20050905

Method GET_APP_SERVERS_TABLE on class CL_DB2_CONNECT_INI has no exception.

Method GET_APP_SERVER_CONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing APP_SERVER_NAME Call by reference Type reference (TYPE) STRING 20060704
2 Exporting CONSDETAIL_TAB Value transfer Type reference (TYPE) DB2CC_CONS_DETAIL_TAB 20060704

Method GET_APP_SERVER_CONS on class CL_DB2_CONNECT_INI has no exception.

Method GET_COMMON_TAB_REF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning COMMON_TABLE_REF Value transfer Object reference (TYPE REF TO) DB2CC_CONS_DETAIL_TAB 20050927

Method GET_COMMON_TAB_REF on class CL_DB2_CONNECT_INI has no exception.

Method GET_CONNECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CON_NAME Call by reference Type reference (TYPE) STRING 20050915
2 Returning CON_REF Value transfer Object reference (TYPE REF TO) CL_DB2_CONNECTION DB2 Connection 20050915
# Exception Resumable Description Created on
1 CX_DB2_CONINI 20050915

Method GET_CONSDETAIL_TAB_REF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning CONSDETAIL_TAB_REF Value transfer Object reference (TYPE REF TO) DB2CC_CONS_DETAIL_TAB 20050909

Method GET_CONSDETAIL_TAB_REF on class CL_DB2_CONNECT_INI has no exception.

Method GET_CONS_DETAIL_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting CONS_DETAIL_TABLE Call by reference Type reference (TYPE) DB2CC_CONS_DETAIL_TAB 20050901

Method GET_CONS_DETAIL_TABLE on class CL_DB2_CONNECT_INI has no exception.

Method GET_GROUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing GROUP_NAME Call by reference Type reference (TYPE) STRING 20050914
2 Returning GROUP_REF Value transfer Object reference (TYPE REF TO) CL_DB2_CONNECTION_GROUP Gruppe von Verbindungen 20050914
# Exception Resumable Description Created on
1 CX_DB2_CONINI 20050914

Method GET_GROUP_CONNECTIONS_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting GROUP_CONNECTIONS_TABLE Value transfer Type reference (TYPE) DB2CC_DB2GRPCONS_TAB 20050831
2 Importing GROUP_NAME Call by reference Type reference (TYPE) STRING 20050831
# Exception Resumable Description Created on
1 CX_DB2_CONINI 20051012

Method GET_GROUP_NAMES_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting GROUP_NAMES_TABLE Call by reference Type reference (TYPE) DB2CC_GROUP_NAMES_ALV_TAB 20050714

Method GET_GROUP_NAMES_TABLE on class CL_DB2_CONNECT_INI has no exception.

Method GET_KEY_AND_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting FOUND Call by reference Type reference (TYPE) ABAP_BOOL 20050712
2 Importing INI_LINE Call by reference Type reference (TYPE) STRING 20050712
3 Exporting KEY Call by reference Type reference (TYPE) STRING 20050712
4 Exporting VALUES Call by reference Type reference (TYPE) DB2CC_VALUES 20050712

Method GET_KEY_AND_VALUES on class CL_DB2_CONNECT_INI has no exception.

Method GET_RFC_DEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RFC_DEST Value transfer Type reference (TYPE) RFC_DEST SAPOSCOL destination 20051115

Method GET_RFC_DEST on class CL_DB2_CONNECT_INI has no exception.

Method GET_SECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting FOUND Call by reference Type reference (TYPE) ABAP_BOOL 20050711
2 Importing INI_LINE Call by reference Type reference (TYPE) STRING 20050711
3 Exporting SECTION Call by reference Type reference (TYPE) STRING 20050711

Method GET_SECTION on class CL_DB2_CONNECT_INI has no exception.

Method GET_SECTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning SECTIONS Value transfer Type reference (TYPE) DB2CC_SECTION_TABLE 20051109

Method GET_SECTIONS on class CL_DB2_CONNECT_INI has no exception.

Method GET_SECTION_PROPERTIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting PROPERTIES_TABLE Call by reference Type reference (TYPE) DB2CC_KEY_VALUE_TABLE 20050712
2 Importing SECTION Call by reference Type reference (TYPE) STRING 20050712
3 Importing SECTIONS Call by reference Type reference (TYPE) DB2CC_SECTION_TABLE 20051110

Method GET_SECTION_PROPERTIES on class CL_DB2_CONNECT_INI has no exception.

Method IS_CONNECTION_CREATED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CON_NAME Call by reference Type reference (TYPE) STRING 20050713
2 Exporting CON_REF Call by reference Object reference (TYPE REF TO) CL_DB2_CONNECTION DB2 Connection 20050713
3 Exporting IS_CREATED Call by reference Type reference (TYPE) ABAP_BOOL 20050713

Method IS_CONNECTION_CREATED on class CL_DB2_CONNECT_INI has no exception.

Method IS_CONNECTION_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning IS_CONNECTION_NAME Value transfer Type reference (TYPE) ABAP_BOOL 20051111
2 Importing NAME Call by reference Type reference (TYPE) STRING 20051111

Method IS_CONNECTION_NAME on class CL_DB2_CONNECT_INI has no exception.

Method IS_GROUP_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning IS_GROUP_NAME Value transfer Type reference (TYPE) ABAP_BOOL 20051111
2 Importing NAME Call by reference Type reference (TYPE) STRING 20051111

Method IS_GROUP_NAME on class CL_DB2_CONNECT_INI has no exception.

Method MAP_INI_TO_TABLE Signature

Method MAP_INI_TO_TABLE on class CL_DB2_CONNECT_INI has no parameter.
Method MAP_INI_TO_TABLE on class CL_DB2_CONNECT_INI has no exception.

Method MAP_TABLE_TO_INI Signature

Method MAP_TABLE_TO_INI on class CL_DB2_CONNECT_INI has no parameter.
Method MAP_TABLE_TO_INI on class CL_DB2_CONNECT_INI has no exception.

Method READ Signature

Method READ on class CL_DB2_CONNECT_INI has no parameter.
# Exception Resumable Description Created on
1 CX_DB2_CONINI 20050928

Method REFRESH_GROUP_APP_SERVERS Signature

Method REFRESH_GROUP_APP_SERVERS on class CL_DB2_CONNECT_INI has no parameter.
Method REFRESH_GROUP_APP_SERVERS on class CL_DB2_CONNECT_INI has no exception.

Method REFRESH_GROUP_CONNECTIONS Signature

Method REFRESH_GROUP_CONNECTIONS on class CL_DB2_CONNECT_INI has no parameter.
Method REFRESH_GROUP_CONNECTIONS on class CL_DB2_CONNECT_INI has no exception.

Method SET_CONNECTION_ATTRIBUTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ATTRIBUTES Call by reference Type reference (TYPE) DB2CC_KEY_VALUE_STRUCT 20050713
2 Importing CON_REF Call by reference Object reference (TYPE REF TO) CL_DB2_CONNECTION DB2 Connection 20050713

Method SET_CONNECTION_ATTRIBUTES on class CL_DB2_CONNECT_INI has no exception.

Method SET_RFCDEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing RFC_DEST Call by reference Type reference (TYPE) RFC_DEST Logical Destination (Specified in Function Call) 20051201

Method SET_RFCDEST on class CL_DB2_CONNECT_INI has no exception.

Method UPDATE_CONSDETAILS_FROM_TAB Signature

Method UPDATE_CONSDETAILS_FROM_TAB on class CL_DB2_CONNECT_INI has no parameter.
Method UPDATE_CONSDETAILS_FROM_TAB on class CL_DB2_CONNECT_INI has no exception.

Method UPDATE_GROUPS_FROM_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing GROUPNAMES_TAB_REF Call by reference Object reference (TYPE REF TO) DB2CC_GROUP_NAMES_ALV_TAB 20050915

Method UPDATE_GROUPS_FROM_TAB on class CL_DB2_CONNECT_INI has no exception.

Method UPDATE_GROUP_CONS_FROM_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CONNAMES_TAB_REF Call by reference Object reference (TYPE REF TO) DB2CC_DB2GRPCONS_TAB 20050915
2 Importing GROUP_NAME Call by reference Type reference (TYPE) STRING 20050913
# Exception Resumable Description Created on
1 CX_DB2_CONINI 20050915

Method WRITE Signature

Method WRITE on class CL_DB2_CONNECT_INI has no parameter.
# Exception Resumable Description Created on
1 CX_DB2_CONINI 20050928
History
Last changed by/on SAP  20110908 
SAP Release Created in 710