SAP ABAP Class CL_UPG_SHDCLONE_DB2 (DB2-z/OS: shadow clone)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-UPG-TLS-TLA (Application Component) Upgrade Tools for ABAP
     SAUS (Package) Transport Control (Repository Switch)
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_UPG_SHDCLONE Main class for cloning of shd system 20071109
Properties
Class CL_UPG_SHDCLONE_DB2  
Short Description DB2-z/OS: shadow clone    
Super Class CL_UPG_SHDCLONE Main class for cloning of shd system 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SAUS   Transport Control (Repository Switch) 
Created 20071109   SAP 
Last change 20140120   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_UPG_SHDCLONE_DB2 has no forward declaration.
Interfaces
Class CL_UPG_SHDCLONE_DB2 has no interface implemented.
Friends
Class CL_UPG_SHDCLONE_DB2 has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 DB2PKGSIZE Instance attribute Protected Type reference (TYPE) I 314572800 Size of the package generated by DB2_SPLIT_DATA 20121121
2 DB2_C_BIGINT Constant Public Type reference (TYPE) CHAR10 'BIGINT' Character Field Length = 10 20130305
3 DB2_C_CHAR Constant Public Type reference (TYPE) CHAR10 'CHAR' Character Field Length = 10 20130305
4 DB2_C_DATE Constant Public Type reference (TYPE) CHAR10 'DATE' Character Field Length = 10 20130305
5 DB2_C_DECIMAL Constant Public Type reference (TYPE) CHAR10 'DECIMAL' Character Field Length = 10 20130305
6 DB2_C_FLOAT Constant Public Type reference (TYPE) CHAR10 'FLOAT' Character Field Length = 10 20130305
7 DB2_C_GRAPHIC Constant Public Type reference (TYPE) CHAR10 'GRAPHIC' Character Field Length = 10 20130305
8 DB2_C_INTEGER Constant Public Type reference (TYPE) CHAR10 'INTEGER' Character Field Length = 10 20130305
9 DB2_C_LONGVAR Constant Public Type reference (TYPE) CHAR10 'LONGVAR' Character Field Length = 10 20130305
10 DB2_C_LONGVARG Constant Public Type reference (TYPE) CHAR10 'LONGVARG' Character Field Length = 10 20130305
11 DB2_C_SMALLINT Constant Public Type reference (TYPE) CHAR10 'SMALLINT' Character Field Length = 10 20130305
12 DB2_C_TIME Constant Public Type reference (TYPE) CHAR10 'TIME' Character Field Length = 10 20130305
13 DB2_C_TIMESTMP Constant Public Type reference (TYPE) CHAR10 'TIMESTMP' Character Field Length = 10 20130305
14 DB2_C_TIMESTMPZ Constant Public Type reference (TYPE) CHAR10 'TIMESTMPZ' Character Field Length = 10 20130305
15 DB2_C_VARCHAR Constant Public Type reference (TYPE) CHAR10 'VARCHAR' Character Field Length = 10 20130305
16 DB2_C_VARG Constant Public Type reference (TYPE) CHAR10 'VARG' Character Field Length = 10 20130305
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor DB2-z/OS: constructor 20071116
2 DB2_COLUMN_NAMES_TO_STRING Instance method Private Method 20121025
3 DB2_CONCATENATE_VALUE Instance method Private Method 20121025
4 DB2_DOUBLE_CHAR Instance method Private Method 20121025
5 DB2_GET_IND_COL_ORDER Instance method Private Method 20121025
6 DB2_GET_PACKAGE_SIZE Instance method Private Method 20121121
7 DB2_GET_PRIMKEY_LIMITS Instance method Private Method 20121025
8 DB2_SPLIT_DATA Instance method Private Method 20121025
9 GET_FIRST_COLUMN Instance method Private Method First columns for INSERT DFLT/ROLLBACK for copy data 20110527
10 GET_LOB_TABLES Instance method Private Method 20100824
11 GET_TABLESPACE_NAME Instance method Private Method Get the FQN of the tablespace conainting this table 20121025
Events
Class CL_UPG_SHDCLONE_DB2 has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 DB2TAB_TAB Protected See coding 20121025 DB2TAB_TAB TYPE STANDARD TABLE OF DB2TAB_TYPE
2 DB2TAB_TYPE Protected See coding 20121025 BEGIN OF DB2TAB_TYPE, line(3072) type c, END OF DB2TAB_TYPE
3 INDCOL_TAB Protected See coding 20121025 INDCOL_TAB TYPE STANDARD TABLE OF INDCOL_TYPE
4 INDCOL_TYPE Protected See coding 20121025 BEGIN OF INDCOL_TYPE, colname(128) type c, colseq type i, colorder(1) type c, length(10) type c, offset(10) type c, typename(18) type c, hexflag(1) type c, END OF INDCOL_TYPE
5 PRIMKEY_LINE Protected See coding 20121025 BEGIN OF PRIMKEY_LINE, TEXT(3072) TYPE C, END OF PRIMKEY_LINE
6 PRIMKEY_TABLE Protected See coding 20121025 PRIMKEY_TABLE TYPE STANDARD TABLE OF PRIMKEY_LINE WITH DEFAULT KEY
7 T_TABNAME Protected See coding 20121025 t_tabname type standard table of tabname with default key
8 X031L_DST_TAB Protected See coding 20121025 X031L_DST_TAB type STANDARD table of X031L_DST_TYPE
9 X031L_DST_TYPE Protected Type reference (TYPE) X031L 20121025
Method Signatures

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_UPG_SHDCLONE_DB2 has no parameter.
# Exception Resumable Description Created on
1 CX_SQL_EXCEPTION Ausnahmeklasse für SQL Fehler 20080515

Method DB2_COLUMN_NAMES_TO_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting COLUMNS Call by reference Type reference (TYPE) STRING 20121025
2 Exporting NCOLS Call by reference Type reference (TYPE) I 20130305
3 Importing TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20121025
# Exception Resumable Description Created on
1 CX_SQL_EXCEPTION Exception Class for SQL Error 20121025

Method DB2_CONCATENATE_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CONCATSTR Call by reference Type reference (TYPE) C 20121025
2 Importing HEXFLAG Call by reference Type reference (TYPE) C 20121025
3 Importing LENGTH Call by reference Type reference (TYPE) C 20121025
4 Importing OFFSET Call by reference Type reference (TYPE) C 20121025
5 Importing TYPENAME Call by reference Type reference (TYPE) C 20121025
6 Importing VALUE Call by reference Type reference (TYPE) C 20121025
# Exception Resumable Description Created on
1 CX_SQL_EXCEPTION Exception Class for SQL Error 20121025

Method DB2_DOUBLE_CHAR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing VALUE Call by reference Type reference (TYPE) C 20121025
# Exception Resumable Description Created on
1 CX_SQL_EXCEPTION 20121025

Method DB2_GET_IND_COL_ORDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing INDEX_COLUSE_TAB Call by reference Type reference (TYPE) INDCOL_TAB 20121025
2 Importing INDNAME Call by reference Type reference (TYPE) TABNAME 20121025
3 Importing SCHEMA Call by reference Type reference (TYPE) TABNAME 20121025
# Exception Resumable Description Created on
1 CX_SQL_EXCEPTION Exception Class for SQL Error 20121025

Method DB2_GET_PACKAGE_SIZE Signature

Method DB2_GET_PACKAGE_SIZE on class CL_UPG_SHDCLONE_DB2 has no parameter.
Method DB2_GET_PACKAGE_SIZE on class CL_UPG_SHDCLONE_DB2 has no exception.

Method DB2_GET_PRIMKEY_LIMITS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting INDEX_COLUSE_TAB Call by reference Type reference (TYPE) INDCOL_TAB 20121025
2 Importing NUM_ROW Call by reference Type reference (TYPE) I 20121025
3 Exporting PRIMKEYS Call by reference Type reference (TYPE) PRIMKEY_TABLE 20121025
4 Importing TABNAME Call by reference Type reference (TYPE) TABNAME 20121025
# Exception Resumable Description Created on
1 CX_SQL_EXCEPTION Exception Class for SQL Error 20121025

Method DB2_SPLIT_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NUM_OF_COL Call by reference Type reference (TYPE) I 20121025
2 Importing TABNAME Call by reference Type reference (TYPE) TABNAME 20121025
3 Changing WHERETAB Call by reference Type reference (TYPE) DB2TAB_TAB 20121025
# Exception Resumable Description Created on
1 CX_SHDCLONE_ERROR shd clone exception 20121025
2 CX_SQL_EXCEPTION Exception Class for SQL Error 20121025

Method GET_FIRST_COLUMN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning COLUMN_NAME Value transfer Type reference (TYPE) FIELDNAME Field Name 20110527
2 Importing SHDNAME Value transfer Type reference (TYPE) TABNAME Table Name 20110527
# Exception Resumable Description Created on
1 CX_SQL_EXCEPTION Exception Class for SQL Error 20110527

Method GET_LOB_TABLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BASE_TABLE Call by reference Type reference (TYPE) TABNAME Table Name 20100824
2 Returning LOB_TABLES Value transfer Type reference (TYPE) T_TABNAME 20100824
# Exception Resumable Description Created on
1 CX_SQL_EXCEPTION Exception Class for SQL Error 20100824

Method GET_TABLESPACE_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting DATABASE_NAME Call by reference Type reference (TYPE) DB2DBNAME Database name 20121025
2 Importing SCHEMA_NAME Call by reference Type reference (TYPE) C 20121025
3 Exporting TABLESPACE_NAME Call by reference Type reference (TYPE) DB2TSNAME Name of the tablespace 20121025
4 Importing TABLE_NAME Call by reference Type reference (TYPE) TABNAME DB2 table name 20121025

Method GET_TABLESPACE_NAME on class CL_UPG_SHDCLONE_DB2 has no exception.
History
Last changed by/on SAP  20140120 
SAP Release Created in 711