SAP ABAP Class CL_DB2_INST_PARAMETERS (Utilities for Parameter Check)
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_INST_PARAMETERS | |
| Short Description | Utilities for Parameter Check | |
| 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 | 20100423 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_DB2_INST_PARAMETERS has no interface implemented.
Friends
Class CL_DB2_INST_PARAMETERS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Type reference (TYPE) | DB6DBREL | DB2 Release | 20100528 | |||
| 2 | Instance attribute | Public | Type reference (TYPE) | DB2TIMESTRING | timestamp of last download | 20100528 | |||
| 3 | Instance attribute | Public | Object reference (TYPE REF TO) | CL_DB2_MESSAGE_QUEUE | This class handles messages for the failover component | 20120614 | |||
| 4 | Instance attribute | Public | Type reference (TYPE) | STRING | Note Version | 20100528 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | DBCON-CON_NAME | remote dbcon | 20100521 | |||
| 6 | Instance attribute | Public | Type reference (TYPE) | DB2_T_ZPARMS | Sysparm Table | 20100521 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | analyzes a line of the note and fills wa | 20100531 | |
| 2 | Instance method | Public | Method | Build Sysparm Table | 20100521 | |
| 3 | Instance method | Public | Method | Check Sysparms | 20100818 | |
| 4 | Instance method | Private | Method | compare values | 20110805 | |
| 5 | Instance method | Public | Constructor | Contructor | 20100521 | |
| 6 | Instance method | Public | Method | Get Recommendations | 20100531 | |
| 7 | Instance method | Public | Method | download parameter note | 20100521 | |
| 8 | Instance method | Private | Method | 20120611 | ||
| 9 | Instance method | Private | Method | Get sysparms | 20100521 | |
| 10 | Instance method | Private | Method | determines if a line is check relevant (no [CUST] or [DEPR]) | 20100531 | |
| 11 | Instance method | Public | Method | map ifi name to zparm name | 20100521 | |
| 12 | Instance method | Private | Method | parse the rules and build result itab without check results | 20100531 | |
| 13 | Instance method | Private | Method | Read Table | 20100521 | |
| 14 | Instance method | Private | Method | search for a relevant >=, <= or = (not in [ ] ) | 20100531 | |
| 15 | Instance method | Private | Method | splits the part of the line beyond the <= = >= to value - [] | 20100531 | |
| 16 | Instance method | Public | Method | update DB Table | 20100521 |
Events
Class CL_DB2_INST_PARAMETERS has no event.
Types
Class CL_DB2_INST_PARAMETERS has no local type.
Method Signatures
Method ANALYZE_LINE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LINE | Call by reference | Type reference (TYPE) | STRING | 20100531 | ||||
| 2 | WA | Call by reference | Type reference (TYPE) | DB2_SYSPARM_CONFIG | zParms | 20100531 |
Method ANALYZE_LINE on class CL_DB2_INST_PARAMETERS has no exception.
Method BUILD_SYSPARM_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DB2MEMBER | Value transfer | Type reference (TYPE) | DB2MEMN | DB2 member name in data sharing environment | 20100601 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DBA Cockpit: Root exception class | 20100708 | ||
| 2 | Exception Class for SQL Error | 20100708 | ||
| 3 | Native SQL Error | 20100708 |
Method CHECK_SYSPARM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PARM | Call by reference | Type reference (TYPE) | DB2ZPARMS | zParms | 20100818 |
Method CHECK_SYSPARM on class CL_DB2_INST_PARAMETERS has no exception.
Method COMPARE_VALUES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NO_SENSE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20110805 | ||||
| 2 | OPERATOR | Call by reference | Type reference (TYPE) | DB2CHAR02 | Field type char, length 2 | 20110805 | |||
| 3 | RC | Call by reference | Type reference (TYPE) | SY-SUBRC | Return Value of ABAP Statements | 20110805 | |||
| 4 | RECOMM | Call by reference | Type reference (TYPE) | DB2ZPARMVAL | ZPARM Value | 20110805 | |||
| 5 | VALUE | Call by reference | Type reference (TYPE) | DB2ZPARMVAL | ZPARM Value | 20110805 |
Method COMPARE_VALUES on class CL_DB2_INST_PARAMETERS has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | REMOTE_DBCON | Call by reference | Type reference (TYPE) | DBCON-CON_NAME | Logical name for a database connection | 20100521 |
Method CONSTRUCTOR on class CL_DB2_INST_PARAMETERS has no exception.
Method DL_NOTE_AND_UPD_CONFIG_TABLE Signature
Method DL_NOTE_AND_UPD_CONFIG_TABLE on class CL_DB2_INST_PARAMETERS has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DBA Cockpit: Root exception class | 20100708 | ||
| 2 | Exception Class for SQL Error | 20100708 |
Method DOWNLOAD_NOTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ITAB_RESULT | Value transfer | Type reference (TYPE) | DB2_SYSPARM_CONFIG_TAB | ZPARM Configuration Table | 20100531 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DBA Cockpit: Root exception class | 20100708 |
Method DOWNLOAD_RAW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DESTINATION | Call by reference | Type reference (TYPE) | RFCDEST | Logical Destination (Specified in Function Call) | 20120611 | |||
| 2 | ITAB_NOTE | Call by reference | Type reference (TYPE) | BCWBN_NOTE | 20120611 | ||||
| 3 | NOTE_KEY | Call by reference | Type reference (TYPE) | CWBNTKEYLG | Key for OSS Notes with language key | 20120611 | |||
| 4 | RC | Call by reference | Type reference (TYPE) | SYSUBRC | Return Value of ABAP Statements | 20120611 | |||
| 5 | SEND_RFC_MSG | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120611 |
Method DOWNLOAD_RAW on class CL_DB2_INST_PARAMETERS has no exception.
Method GET_SYSPARMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DB2MEMBER | Call by reference | Type reference (TYPE) | DB2MEMN | DB2 member name in data sharing environment | 20100601 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Native SQL Error | 20100708 |
Method IS_CHECKRELEVANT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LINE | Call by reference | Type reference (TYPE) | STRING | 20100531 | ||||
| 2 | RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | Boolean Variable (X=True, -=False, Space=Unknown) | 20100531 |
Method IS_CHECKRELEVANT on class CL_DB2_INST_PARAMETERS has no exception.
Method MAP_IFI Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SYSPARM | Call by reference | Type reference (TYPE) | DB2_SYSPARM_ROW | zParms | 20100607 | |||
| 2 | VALUE | Value transfer | Type reference (TYPE) | DB2ZPARMVAL | ZPARM Value | 20100607 |
Method MAP_IFI on class CL_DB2_INST_PARAMETERS has no exception.
Method PARSE_RULES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ITAB_NOTE | Call by reference | Type reference (TYPE) | BCWBN_NOTE | 20100531 | ||||
| 2 | ITAB_RESULT | Value transfer | Type reference (TYPE) | DB2_SYSPARM_CONFIG_TAB | ZPARM Configuration Table | 20100531 |
Method PARSE_RULES on class CL_DB2_INST_PARAMETERS has no exception.
Method READ_CONFIG_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONFIG_TAB | Call by reference | Type reference (TYPE) | DB2_SYSPARM_CONFIG_TAB | ZPARM Configuration Table | 20100521 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for SQL Error | 20100708 |
Method SEARCH_OPERATOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LINE | Call by reference | Type reference (TYPE) | STRING | 20100531 | ||||
| 2 | OPERATOR | Call by reference | Type reference (TYPE) | STRING | 20100531 | ||||
| 3 | RESULT | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20100531 |
Method SEARCH_OPERATOR on class CL_DB2_INST_PARAMETERS has no exception.
Method SPLIT_VALUE_AND_CLASSIFICATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLASSIFICATION | Call by reference | Type reference (TYPE) | STRING | 20100531 | ||||
| 2 | MIXEDVALUE | Call by reference | Type reference (TYPE) | STRING | 20100531 | ||||
| 3 | REALVALUE | Call by reference | Type reference (TYPE) | STRING | 20100531 |
Method SPLIT_VALUE_AND_CLASSIFICATION on class CL_DB2_INST_PARAMETERS has no exception.
Method WRITE_CONFIG_DBTABLE Signature
Method WRITE_CONFIG_DBTABLE on class CL_DB2_INST_PARAMETERS has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for SQL Error | 20100820 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 703 |