SAP ABAP Class CL_DB6_TASK_SCHEDULER_NATIVE (DB6: Native Task Scheduler)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DB-DB6 (Application Component) DB2 Universal Database for UNIX / NT
⤷
STU6 (Package) DB6: Performance-Monitor (UNIX/Windows)
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_DB6_TASK_SCHEDULER | DB6: DB2 Admin Task Scheduler | 20081217 |
Properties
| Class | CL_DB6_TASK_SCHEDULER_NATIVE | |
| Short Description | DB6: Native Task Scheduler | |
| Super Class | CL_DB6_TASK_SCHEDULER | DB6: DB2 Admin Task Scheduler |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | STU6 | DB6: Performance-Monitor (UNIX/Windows) |
| Created | 20081217 | 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) |
Interfaces
Class CL_DB6_TASK_SCHEDULER_NATIVE has no interface implemented.
Friends
Class CL_DB6_TASK_SCHEDULER_NATIVE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | I | 2 | 20120802 | |||
| 2 | Constant | Private | Type reference (TYPE) | I | 1 | 20120802 | |||
| 3 | Constant | Public | Type reference (TYPE) | STRING | 'SAPTOOLS.ADMIN_TASK_LIST' | 20090109 | |||
| 4 | Constant | Public | Type reference (TYPE) | STRING | 'SAPTOOLS.ADMIN_TASK_STATUS' | 20090109 | |||
| 5 | Constant | Public | Type reference (TYPE) | STRING | 'SYSTOOLS.ADMIN_TASK_LIST' | 20090109 | |||
| 6 | Constant | Public | Type reference (TYPE) | STRING | 'SYSTOOLS.ADMIN_TASK_STATUS' | 20090109 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_UNDEFINED | DB6: Exists udf SAPTOOLS.ADMIN_TASK_LS_CRON | 20090429 | ||
| 8 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_UNDEFINED | DB6: Exists table SAPTOOLS.ADMIN_TASK_LIST | 20090109 | ||
| 9 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_UNDEFINED | DB6: Exists table SAPTOOLS.ADMIN_TASK_STATUS | 20090109 | ||
| 10 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_UNDEFINED | DB6: Exists table SYSTOOLS.ADMIN_TASK_LIST | 20090109 | ||
| 11 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_UNDEFINED | DB6: Exists table SYSTOOLS.ADMIN_TASK_STATUS | 20090109 | ||
| 12 | Instance attribute | Private | Type reference (TYPE) | DB6DATETIM | DBA: ISO conform timestamp with ms precission | 20120802 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | DB6: Use DB2 Internal Scheduler | 20081217 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | 20091204 | ||
| 2 | Instance method | Public | Constructor | CONSTRUCTOR | 20081217 | |
| 3 | Instance method | Protected | Method | DB6: Check if udf SAPTOOLS.ADMIN_TASK_LS_CRON exists | 20090429 | |
| 4 | Instance method | Protected | Method | DB6: Check if table SAPTOOLS.ADMIN_TASK_LIST exists | 20090109 | |
| 5 | Instance method | Protected | Method | DB6: Check if table SAPTOOLS.ADMIN_TASK_STATUS exists | 20090109 | |
| 6 | Instance method | Protected | Method | DB6: Check if table SYSTOOLS.ADMIN_TASK_LIST exists | 20090109 | |
| 7 | Instance method | Protected | Method | DB6: Check if table SYSTOOLS.ADMIN_TASK_STATUS exists | 20090109 | |
| 8 | Instance method | Private | Method | Schedule a Task | 20120802 | |
| 9 | Instance method | Private | Method | Schedule a Task | 20120903 | |
| 10 | Instance method | Private | Method | DB6: Migrate Routine from Cron Scheduler to Native Scheduler | 20081217 | |
| 11 | Instance method | Private | Method | DB6: Check if DB2 Native Scheduler or Cron Scheduler | 20081217 | |
| 12 | Instance method | Private | Method | 20120726 | ||
| 13 | Instance method | Public | Method | DB6: Check if Migration is Required for Routine | 20081217 | |
| 14 | Instance method | Private | Method | DB6: Update Scheduling | 20090108 |
Events
Class CL_DB6_TASK_SCHEDULER_NATIVE has no event.
Types
Class CL_DB6_TASK_SCHEDULER_NATIVE has no local type.
Method Signatures
Method BUILD_ROUTINE_PARAMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PARAM_SELECT | Value transfer | Type reference (TYPE) | STRING | 20091204 | ||||
| 2 | ROUTINEPARAMS | Call by reference | Type reference (TYPE) | DBA_DATA_REF_TAB | DBA Cockpit: Table of data object references | 20091204 |
Method BUILD_ROUTINE_PARAMS on class CL_DB6_TASK_SCHEDULER_NATIVE has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DBCNAME | Call by reference | Type reference (TYPE) | DBCON_NAME | 20081217 | ||||
| 2 | SYS_REF | Call by reference | Object reference (TYPE REF TO) | CL_DB6_SYS | DB6: Remote System Administration | 20090130 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DBA: Task Scheduler Exception | 20081217 |
Method EXISTS_SAPTOOLS_LS_CRON Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090429 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DBA: Task Scheduler Exception | 20090429 |
Method EXISTS_SAPTOOLS_TASK_LIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090109 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DBA: Task Scheduler Exception | 20090109 |
Method EXISTS_SAPTOOLS_TASK_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090109 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DBA: Task Scheduler Exception | 20090109 |
Method EXISTS_SYSTOOLS_TASK_LIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090109 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DBA: Task Scheduler Exception | 20090109 |
Method EXISTS_SYSTOOLS_TASK_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090109 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DBA: Task Scheduler Exception | 20090109 |
Method INTERNAL_ADD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BEGIN_TIME | Value transfer | Type reference (TYPE) | DB6DATETIM | DBA: ISO conform timestamp with ms precission | 20120802 | |||
| 2 | END_TIME | Value transfer | Type reference (TYPE) | DB6DATETIM | DBA: ISO conform timestamp with ms precission | 20120802 | |||
| 3 | INTERNAL_TYPE | Value transfer | Type reference (TYPE) | I | 20120802 | ||||
| 4 | MAX_INVOCATIONS | Value transfer | Type reference (TYPE) | I | 20120802 | ||||
| 5 | ROUTINENAME | Call by reference | Type reference (TYPE) | STRING | Routine Name | 20120802 | |||
| 6 | ROUTINEPARAMS | Call by reference | Type reference (TYPE) | DBA_DATA_REF_TAB | Input Parameters for SP | 20120802 | |||
| 7 | ROUTINESCHEMA | Call by reference | Type reference (TYPE) | STRING | Routine Schema | 20120802 | |||
| 8 | SCHEDULE | Value transfer | Type reference (TYPE) | DBA_DBH_SCHEDULE | Cron Schedule | 20120802 | |||
| 9 | TASK_ID | Call by reference | Type reference (TYPE) | STRING | Suffix for Uniqueness of Name | 20120802 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DBA: Task Scheduler Exception | 20120802 |
Method INTERNAL_REMOVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ROUTINENAME | Call by reference | Type reference (TYPE) | STRING | Routine Name | 20120903 | |||
| 2 | ROUTINESCHEMA | Call by reference | Type reference (TYPE) | STRING | Routine Schema | 20120903 | |||
| 3 | TASK_ID | Call by reference | Type reference (TYPE) | STRING | Suffix for Uniqueness of Name | 20120903 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DBA: Task Scheduler Exception | 20120903 |
Method MIGRATE_ROUTINE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ROUTINENAME | Call by reference | Type reference (TYPE) | STRING | DB6: Routine Name | 20081217 | |||
| 2 | ROUTINESCHEMA | Call by reference | Type reference (TYPE) | STRING | DB6: Routine Schema | 20081217 | |||
| 3 | SCHEDULE | Call by reference | Type reference (TYPE) | DBA_DBH_SCHEDULE | DB6: Cron Schedule | 20081217 | |||
| 4 | TASK_ID | Call by reference | Type reference (TYPE) | STRING | 20091127 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DBA: Task Scheduler Exception | 20081217 |
Method REFRESH_SCHEDULER_TYPE Signature
Method REFRESH_SCHEDULER_TYPE on class CL_DB6_TASK_SCHEDULER_NATIVE has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DBA: Task Scheduler Exception | 20081217 |
Method REFRESH_SCHEDULE_LIST Signature
Method REFRESH_SCHEDULE_LIST on class CL_DB6_TASK_SCHEDULER_NATIVE has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DBA: Task Scheduler Exception | 20120726 |
Method REQUIRES_ROUTINE_MIGRATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | DB6: True If Scheduled | 20081217 | |||
| 2 | ROUTINENAME | Call by reference | Type reference (TYPE) | STRING | DB6: Routine Name | 20081217 | |||
| 3 | ROUTINESCHEMA | Call by reference | Type reference (TYPE) | STRING | DB6: Routine Schema | 20081217 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DBA: Task Scheduler Exception | 20081217 |
Method UPDATE_SCHEDULE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ROUTINENAME | Call by reference | Type reference (TYPE) | STRING | Routine Name | 20090108 | |||
| 2 | ROUTINESCHEMA | Call by reference | Type reference (TYPE) | STRING | Routine Schema | 20090108 | |||
| 3 | SCHEDULE | Call by reference | Type reference (TYPE) | DBA_DBH_SCHEDULE | Cron Schedule | 20090108 | |||
| 4 | TASK_ID | Call by reference | Type reference (TYPE) | STRING | 20091127 | ||||
| 5 | UNSCHEDULE_TASK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Unschedule Task: Set End Time to Current Timestamp | 20090108 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DBA: Task Scheduler Exception | 20090108 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 720 |