SAP ABAP Class CL_DB2_DBCON (DB2: Connection Administration)
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 Inheritance (c INHERITING FROM c_ref)  CL_DBA_DBCON DBA Cockpit: DBCON administration 20050610
Properties
Class CL_DB2_DBCON  
Short Description DB2: Connection Administration    
Super Class CL_DBA_DBCON DBA Cockpit: DBCON administration 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package STU2   CCMS for DB2 for OS/390 
Created 20050610   SAP 
Last change 20130531   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 DB6CC Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_DB2_DBCON has no interface implemented.
Friends
Class CL_DB2_DBCON has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CLIENT_TYPE Instance attribute Public Type reference (TYPE) C 20060726
2 CLIENT_TYPE_FAT Constant Public Type reference (TYPE) C 'F' 20060726
3 CLIENT_TYPE_THIN Constant Public Type reference (TYPE) C 'T' 20060726
4 KEYWORD_DB2_ALIAS Constant Private Type reference (TYPE) STRING 'ALIAS' Deprecated Keyword 20051209
5 KEYWORD_DB2_COLLECTION_ID Constant Public Type reference (TYPE) STRING 'PS' 20050610
6 KEYWORD_DB2_DBHOST Constant Public Type reference (TYPE) STRING 'SAPDBHOST' 20060726
7 KEYWORD_DB2_LOCATION Constant Public Type reference (TYPE) STRING 'LOCATION' 20060726
8 KEYWORD_DB2_PORT Constant Public Type reference (TYPE) STRING 'PORT' 20060726
9 KEYWORD_DB2_SCHEMANAME Constant Public Type reference (TYPE) STRING 'SCHEMA' 20050610
10 KEYWORD_DB2_SSID Constant Public Type reference (TYPE) STRING 'SSID' 20050610
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_SSID Instance method Public Method 20050610
2 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20050613
3 GET_PORT Instance method Public Method Returns the port of this db2 Connection 20120125
4 SET_CLIENT_TYPE Instance method Public Method 20060726
Events
Class CL_DB2_DBCON has no event.
Types
Class CL_DB2_DBCON has no local type.
Method Signatures

Method CHECK_SSID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning IS_VALID Value transfer Type reference (TYPE) ABAP_BOOL 20050613
2 Importing VALUE Call by reference Type reference (TYPE) STRING 20050621

Method CHECK_SSID on class CL_DB2_DBCON has no exception.

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_DB2_DBCON has no parameter.
Method CONSTRUCTOR on class CL_DB2_DBCON has no exception.

Method GET_PORT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning PORT Value transfer Type reference (TYPE) INT4 if invalid port, raise excp and return -1 20120125
# Exception Resumable Description Created on
1 CX_DB2_ROOT DB2: root class regarding exceptions 20120125

Method SET_CLIENT_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CLIENT_TYPE Call by reference Type reference (TYPE) C 20060726
# Exception Resumable Description Created on
1 CX_DB6_CON DB6: Ausnahmen der DB-Verbindungsadministration 20060726
History
Last changed by/on SAP  20130531 
SAP Release Created in 710