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 ABAP 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 CO_INTERNAL_TYPE_DB2SAP_CRON Constant Private Type reference (TYPE) I 2 20120802
2 CO_INTERNAL_TYPE_DB2_ATS Constant Private Type reference (TYPE) I 1 20120802
3 CO_SAPTOOLS_TASK_LIST Constant Public Type reference (TYPE) STRING 'SAPTOOLS.ADMIN_TASK_LIST' 20090109
4 CO_SAPTOOLS_TASK_STATUS Constant Public Type reference (TYPE) STRING 'SAPTOOLS.ADMIN_TASK_STATUS' 20090109
5 CO_SYSTOOLS_TASK_LIST Constant Public Type reference (TYPE) STRING 'SYSTOOLS.ADMIN_TASK_LIST' 20090109
6 CO_SYSTOOLS_TASK_STATUS Constant Public Type reference (TYPE) STRING 'SYSTOOLS.ADMIN_TASK_STATUS' 20090109
7 EXIST_SAPTOOLS_LS_CRON Instance attribute Private Type reference (TYPE) ABAP_BOOL ABAP_UNDEFINED DB6: Exists udf SAPTOOLS.ADMIN_TASK_LS_CRON 20090429
8 EXIST_SAPTOOLS_TASK_LIST Instance attribute Private Type reference (TYPE) ABAP_BOOL ABAP_UNDEFINED DB6: Exists table SAPTOOLS.ADMIN_TASK_LIST 20090109
9 EXIST_SAPTOOLS_TASK_STATUS Instance attribute Private Type reference (TYPE) ABAP_BOOL ABAP_UNDEFINED DB6: Exists table SAPTOOLS.ADMIN_TASK_STATUS 20090109
10 EXIST_SYSTOOLS_TASK_LIST Instance attribute Private Type reference (TYPE) ABAP_BOOL ABAP_UNDEFINED DB6: Exists table SYSTOOLS.ADMIN_TASK_LIST 20090109
11 EXIST_SYSTOOLS_TASK_STATUS Instance attribute Private Type reference (TYPE) ABAP_BOOL ABAP_UNDEFINED DB6: Exists table SYSTOOLS.ADMIN_TASK_STATUS 20090109
12 MV_CURRENT_TIME Instance attribute Private Type reference (TYPE) DB6DATETIM DBA: ISO conform timestamp with ms precission 20120802
13 USE_NATIVE_SCHEDULER 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 BUILD_ROUTINE_PARAMS Instance method Private Method 20091204
2 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20081217
3 EXISTS_SAPTOOLS_LS_CRON Instance method Protected Method DB6: Check if udf SAPTOOLS.ADMIN_TASK_LS_CRON exists 20090429
4 EXISTS_SAPTOOLS_TASK_LIST Instance method Protected Method DB6: Check if table SAPTOOLS.ADMIN_TASK_LIST exists 20090109
5 EXISTS_SAPTOOLS_TASK_STATUS Instance method Protected Method DB6: Check if table SAPTOOLS.ADMIN_TASK_STATUS exists 20090109
6 EXISTS_SYSTOOLS_TASK_LIST Instance method Protected Method DB6: Check if table SYSTOOLS.ADMIN_TASK_LIST exists 20090109
7 EXISTS_SYSTOOLS_TASK_STATUS Instance method Protected Method DB6: Check if table SYSTOOLS.ADMIN_TASK_STATUS exists 20090109
8 INTERNAL_ADD Instance method Private Method Schedule a Task 20120802
9 INTERNAL_REMOVE Instance method Private Method Schedule a Task 20120903
10 MIGRATE_ROUTINE Instance method Private Method DB6: Migrate Routine from Cron Scheduler to Native Scheduler 20081217
11 REFRESH_SCHEDULER_TYPE Instance method Private Method DB6: Check if DB2 Native Scheduler or Cron Scheduler 20081217
12 REFRESH_SCHEDULE_LIST Instance method Private Method 20120726
13 REQUIRES_ROUTINE_MIGRATION Instance method Public Method DB6: Check if Migration is Required for Routine 20081217
14 UPDATE_SCHEDULE 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 Returning PARAM_SELECT Value transfer Type reference (TYPE) STRING 20091204
2 Importing 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 Importing DBCNAME Call by reference Type reference (TYPE) DBCON_NAME 20081217
2 Importing SYS_REF Call by reference Object reference (TYPE REF TO) CL_DB6_SYS DB6: Remote System Administration 20090130
# Exception Resumable Description Created on
1 CX_DBA_TASK_SCHEDULER 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 Returning RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20090429
# Exception Resumable Description Created on
1 CX_DBA_TASK_SCHEDULER 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 Returning RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20090109
# Exception Resumable Description Created on
1 CX_DBA_TASK_SCHEDULER 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 Returning RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20090109
# Exception Resumable Description Created on
1 CX_DBA_TASK_SCHEDULER 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 Returning RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20090109
# Exception Resumable Description Created on
1 CX_DBA_TASK_SCHEDULER 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 Returning RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20090109
# Exception Resumable Description Created on
1 CX_DBA_TASK_SCHEDULER DBA: Task Scheduler Exception 20090109

Method INTERNAL_ADD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BEGIN_TIME Value transfer Type reference (TYPE) DB6DATETIM DBA: ISO conform timestamp with ms precission 20120802
2 Importing END_TIME Value transfer Type reference (TYPE) DB6DATETIM DBA: ISO conform timestamp with ms precission 20120802
3 Importing INTERNAL_TYPE Value transfer Type reference (TYPE) I 20120802
4 Importing MAX_INVOCATIONS Value transfer Type reference (TYPE) I 20120802
5 Importing ROUTINENAME Call by reference Type reference (TYPE) STRING Routine Name 20120802
6 Importing ROUTINEPARAMS Call by reference Type reference (TYPE) DBA_DATA_REF_TAB Input Parameters for SP 20120802
7 Importing ROUTINESCHEMA Call by reference Type reference (TYPE) STRING Routine Schema 20120802
8 Importing SCHEDULE Value transfer Type reference (TYPE) DBA_DBH_SCHEDULE Cron Schedule 20120802
9 Importing TASK_ID Call by reference Type reference (TYPE) STRING Suffix for Uniqueness of Name 20120802
# Exception Resumable Description Created on
1 CX_DBA_TASK_SCHEDULER DBA: Task Scheduler Exception 20120802

Method INTERNAL_REMOVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ROUTINENAME Call by reference Type reference (TYPE) STRING Routine Name 20120903
2 Importing ROUTINESCHEMA Call by reference Type reference (TYPE) STRING Routine Schema 20120903
3 Importing TASK_ID Call by reference Type reference (TYPE) STRING Suffix for Uniqueness of Name 20120903
# Exception Resumable Description Created on
1 CX_DBA_TASK_SCHEDULER DBA: Task Scheduler Exception 20120903

Method MIGRATE_ROUTINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ROUTINENAME Call by reference Type reference (TYPE) STRING DB6: Routine Name 20081217
2 Importing ROUTINESCHEMA Call by reference Type reference (TYPE) STRING DB6: Routine Schema 20081217
3 Importing SCHEDULE Call by reference Type reference (TYPE) DBA_DBH_SCHEDULE DB6: Cron Schedule 20081217
4 Importing TASK_ID Call by reference Type reference (TYPE) STRING 20091127
# Exception Resumable Description Created on
1 CX_DBA_TASK_SCHEDULER 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 CX_DBA_TASK_SCHEDULER 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 CX_DBA_TASK_SCHEDULER 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 Returning RESULT Value transfer Type reference (TYPE) ABAP_BOOL DB6: True If Scheduled 20081217
2 Importing ROUTINENAME Call by reference Type reference (TYPE) STRING DB6: Routine Name 20081217
3 Importing ROUTINESCHEMA Call by reference Type reference (TYPE) STRING DB6: Routine Schema 20081217
# Exception Resumable Description Created on
1 CX_DBA_TASK_SCHEDULER DBA: Task Scheduler Exception 20081217

Method UPDATE_SCHEDULE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ROUTINENAME Call by reference Type reference (TYPE) STRING Routine Name 20090108
2 Importing ROUTINESCHEMA Call by reference Type reference (TYPE) STRING Routine Schema 20090108
3 Importing SCHEDULE Call by reference Type reference (TYPE) DBA_DBH_SCHEDULE Cron Schedule 20090108
4 Importing TASK_ID Call by reference Type reference (TYPE) STRING 20091127
5 Importing 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 CX_DBA_TASK_SCHEDULER DBA: Task Scheduler Exception 20090108
History
Last changed by/on SAP  20130531 
SAP Release Created in 720