SAP ABAP Class CL_SYB_CONSTANTS (SYB Monitor Constants)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DB-SYB (Application Component) Sybase ASE Database Platform
     SMSYB (Package) SYBASE Database Monitor
Properties
Class CL_SYB_CONSTANTS  
Short Description SYB Monitor Constants    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SMSYB   SYBASE Database Monitor 
Created 20100722   SAP 
Last change 20141121    
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_SYB_CONSTANTS has no interface implemented.
Friends
Class CL_SYB_CONSTANTS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 ASE_EXEC_PRIORITY_HIGH Constant Public Type reference (TYPE) STRING 'HIGH' 20110315
2 ASE_EXEC_PRIORITY_LOW Constant Public Type reference (TYPE) STRING 'LOW' 20110315
3 ASE_EXEC_PRIORITY_MEDIUM Constant Public Type reference (TYPE) STRING 'MEDIUM' 20110315
4 ASE_TITLE Constant Public Type reference (TYPE) STRING 'SAP Sybase ASE' 20130621
5 CMD_SHOW_HISTORY_TOOL Constant Public Type reference (TYPE) SYUCOMM 'HISTORY' Function Code that Triggered PAI 20120621
6 DEFAULT_OWNER Constant Public Type reference (TYPE) STRING 'dbo' 20100803
7 DEVICE_TYPE_DB Constant Public Type reference (TYPE) STRING 'DB' 20130115
8 DEVICE_TYPE_DISK Constant Public Type reference (TYPE) STRING 'DISK' 20130115
9 DEVICE_TYPE_TAPE Constant Public Type reference (TYPE) STRING 'TAPE' 20130115
10 DIRECTIO_AUTO Constant Public Type reference (TYPE) CHAR8 '' 20120119
11 DIRECTIO_OFF Constant Public Type reference (TYPE) CHAR8 'false' 20120119
12 DIRECTIO_ON Constant Public Type reference (TYPE) CHAR8 'true' 20120119
13 DUMMY_JS_SCHEDULE Constant Public Type reference (TYPE) STRING 'SAP_SCHEDULE_RUNNOW' 20101208
14 ENABLE_WORKAROUND_CODE Constant Public Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20130716
15 HADR_ASE_NAME Constant Public Type reference (TYPE) STRING 'ase_instance' 20130722
16 HADR_MODE_DISABLED Constant Public Type reference (TYPE) I -1 20130722
17 HADR_MODE_PRIMARY Constant Public Type reference (TYPE) I 1 20130722
18 HADR_MODE_STANDBY Constant Public Type reference (TYPE) I 0 20130722
19 HADR_MODE_STARTING Constant Public Type reference (TYPE) I 3 20130722
20 HADR_MODE_UNREACHABLE Constant Public Type reference (TYPE) I 2 20130722
21 HADR_SRS_NAME Constant Public Type reference (TYPE) STRING 'rs_instance' 20130722
22 HADR_STATE_ACTIVE Constant Public Type reference (TYPE) I 1 20130722
23 HADR_STATE_INACTIVE Constant Public Type reference (TYPE) I 2 20130722
24 HADR_STATE_UNKNOWN Constant Public Type reference (TYPE) I 0 20130722
25 INSTANCEID_ALL Constant Public Type reference (TYPE) I -1 20100915
26 JOBID_DUMP_DB Constant Public Type reference (TYPE) SDBA_BTYPE 'DMPDB' 20130305
27 JOBID_DUMP_TRAN Constant Public Type reference (TYPE) SDBA_BTYPE 'DMPTR' 20130516
28 JOBID_REORG Constant Public Type reference (TYPE) SDBA_BTYPE 'REORG' Type of DBA action 20130719
29 JOBID_REORG_SET Constant Public Type reference (TYPE) SDBA_BTYPE 'ROSET' 20100930
30 JOBID_SCRIPT Constant Public Type reference (TYPE) SDBA_BTYPE 'SCRPT' 20101126
31 JOBID_STATS_SET Constant Public Type reference (TYPE) SDBA_BTYPE 'USSET' 20100930
32 JOBID_XPLDOWNLOAD Constant Public Type reference (TYPE) SDBA_BTYPE 'XPLDL' 20130305
33 JOBPAR_INSTANCEID Constant Public Type reference (TYPE) C 'I' 20100930
34 JOBPAR_SCRIPT Constant Public Type reference (TYPE) C 'S' 20101126
35 JOBPAR_SDBARXML Constant Public Type reference (TYPE) C 'X' 20120806
36 JOBPAR_TIMEOUT Constant Public Type reference (TYPE) C 'T' 20101209
37 JS_DELAY_TOLERANCE_SEC Constant Public Type reference (TYPE) I 30 20121024
38 JS_USER_CODE_ERROR Constant Public Type reference (TYPE) I -1 20110215
39 JS_USER_CODE_SUCCESS Constant Public Type reference (TYPE) I 1 20110215
40 LOGPGS_TO_KB_FACTOR Constant Public Type reference (TYPE) STRING 'convert(float, @@maxpagesize) / 1024' 20131031
41 LOGPGS_TO_MB_FACTOR Constant Public Type reference (TYPE) STRING 'convert(float, @@maxpagesize) / 1048576' 20131031
42 LOG_ALLOCPGS_FACTOR Constant Public Type reference (TYPE) STRING '(1+(1/cast(256 as float)))' 20131031
43 MASTER_DBID Constant Public Type reference (TYPE) I 1 20101111
44 MASTER_DBNAME Constant Public Type reference (TYPE) STRING 'master' 20100722
45 MASTER_OWNER Constant Public Type reference (TYPE) STRING '' 20100722
46 MODEL_DBNAME Constant Public Type reference (TYPE) STRING 'model' 20110302
47 MON_ROLE Constant Public Type reference (TYPE) STRING 'mon_role' 20110314
48 NOT_APPLICABLE Constant Public Type reference (TYPE) STRING 'Not Applicable' 20110120
49 RAT_ACTIVE Constant Public Type reference (TYPE) C 'A' 20130725
50 RAT_STOPPED Constant Public Type reference (TYPE) C 'I' 20130725
51 RAT_SUSPECT Constant Public Type reference (TYPE) C 'S' 20130725
52 SAPTOOLS_APPLNAME Constant Public Type reference (TYPE) STRING 'SAPTOOLS' 20100809
53 SAPTOOLS_DBNAME Constant Public Type reference (TYPE) STRING 'saptools' 20100722
54 SAPTOOLS_OWNER Constant Public Type reference (TYPE) STRING 'dbo' 20100722
55 SAP_ADMIN_ROLE Constant Public Type reference (TYPE) STRING 'sap_adm' 20100809
56 SAP_MONITOR_ROLE Constant Public Type reference (TYPE) STRING 'sap_mon' 20100809
57 SA_ROLE Constant Public Type reference (TYPE) STRING 'sa_role' 20110314
58 SPACETYPE_DATA Constant Public Type reference (TYPE) CHAR8 'data' 20120119
59 SPACETYPE_LOG Constant Public Type reference (TYPE) CHAR8 'log' 20120119
60 SP_DBEXTEND Constant Public Type reference (TYPE) STRING 'sp_dbextend' 20131129
61 SP_DBEXTEND_THRESHOLD_PROC Constant Public Type reference (TYPE) STRING 'sp_dbxt_extend_db' 20130204
62 STATE_ACTIVE Constant Public Type reference (TYPE) C 'A' 20110314
63 STATE_INACTIVE Constant Public Type reference (TYPE) C 'I' 20110314
64 STMT_TYPE_BATCH Constant Public Type reference (TYPE) STRING 'BTC' 20101108
65 STMT_TYPE_CURSOR Constant Public Type reference (TYPE) STRING 'CSR' 20101108
66 STMT_TYPE_DYNAMIC Constant Public Type reference (TYPE) STRING 'DYN' 20101108
67 SYBMGMTDB_DBNAME Constant Public Type reference (TYPE) STRING 'sybmgmtdb' 20100908
68 SYBMGMTDB_OWNER Constant Public Type reference (TYPE) STRING 'dbo' 20101129
69 SYBSECURITY_DBNAME Constant Public Type reference (TYPE) STRING 'sybsecurity' 20131129
70 SYBSECURITY_OWNER Constant Public Type reference (TYPE) STRING '' 20131129
71 SYBSYSTEMDB_DBNAME Constant Public Type reference (TYPE) STRING 'sybsystemdb' 20130115
72 SYBSYSTEMPROCS_DBNAME Constant Public Type reference (TYPE) STRING 'sybsystemprocs' 20110413
73 SYBSYSTEMPROCS_OWNER Constant Public Type reference (TYPE) STRING '' 20110413
74 SYSTEMPDB_DBID Constant Public Type reference (TYPE) I 2 20101111
75 TEMPDB_DBNAME Constant Public Type reference (TYPE) STRING 'tempdb' 20130115
76 UNIT_GIGABYTES Constant Public Type reference (TYPE) STRING 'GB' 20130110
77 UNIT_KILOBYTES Constant Public Type reference (TYPE) STRING 'KB' 20130110
78 UNIT_MEGABYTES Constant Public Type reference (TYPE) STRING 'MB' 20130110
79 UNIT_PERCENTAGE Constant Public Type reference (TYPE) STRING '%' 20130110
80 UNIT_TERABYTES Constant Public Type reference (TYPE) STRING 'TB' 20130110
81 VIRTPGS_TO_MB_FACTOR Constant Public Type reference (TYPE) STRING 'convert(float, @@pagesize) / 1048576' 20131031
82 WD_LED_GREEN Constant Public Type reference (TYPE) STRING '~Icon/GreenLed' 20130205
83 WD_LED_INACTIVE Constant Public Type reference (TYPE) STRING '~Icon/InactiveLed' 20130205
84 WD_LED_RED Constant Public Type reference (TYPE) STRING '~Icon/RedLed' 20130205
85 WD_LED_YELLOW Constant Public Type reference (TYPE) STRING '~Icon/YellowLed' 20130205
Methods
# Method Level Visibility Method type Description Created on
1 ICON_OF_LOG_SEVERITY Static method Public Method separate log severities into info, warning, error, critical 20120810
2 ICON_OF_LOG_SEVERITY2 Static method Public Method separate log severities into info, warning, error, critical 20130904
3 RESOLVE_DIRECTIO Static method Public Method 20120119
4 RESOLVE_LOG_SEVERITY Static method Public Method get image for a log severity 20120810
5 RESOLVE_LOG_SEVERITY2 Static method Public Method get image for a log severity 20130904
6 RESOLVE_ONOFF_TRUEFALSE Static method Public Method 20130109
7 RESOLVE_SPACETYPE Static method Public Method 20120119
8 RESOLVE_STMT_TYPE Static method Public Method 20101109
9 RESOLVE_SWITCH_SCOPE Static method Public Method 20130422
10 RESOLVE_TXN_FAILOVER Static method Public Method 20100922
11 RESOLVE_TXN_ISOLATION_LEVEL Static method Public Method 20101109
12 RESOLVE_TXN_MODE Static method Public Method 20101109
13 RESOLVE_TXN_STATE Static method Public Method 20100922
14 RESOLVE_TXN_TYPE Static method Public Method 20100922
15 RESOLVE_YESNO Static method Public Method 20120119
Events
Class CL_SYB_CONSTANTS has no event.
Types
Class CL_SYB_CONSTANTS has no local type.
Method Signatures

Method ICON_OF_LOG_SEVERITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RES Value transfer Type reference (TYPE) ICON_TEXT 20120810
2 Importing SEVERITY Call by reference Type reference (TYPE) I 20120810

Method ICON_OF_LOG_SEVERITY on class CL_SYB_CONSTANTS has no exception.

Method ICON_OF_LOG_SEVERITY2 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RES Value transfer Type reference (TYPE) ICON_TEXT 20130904
2 Importing SEVERITY Call by reference Type reference (TYPE) C 20130904

Method ICON_OF_LOG_SEVERITY2 on class CL_SYB_CONSTANTS has no exception.

Method RESOLVE_DIRECTIO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CONSTANT Call by reference Type reference (TYPE) CLIKE 20120119
2 Returning IMAGE Value transfer Type reference (TYPE) STRING 20120119

Method RESOLVE_DIRECTIO on class CL_SYB_CONSTANTS has no exception.

Method RESOLVE_LOG_SEVERITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning IMAGE Value transfer Type reference (TYPE) STRING 20120810
2 Importing SEVERITY Call by reference Type reference (TYPE) I 20120810

Method RESOLVE_LOG_SEVERITY on class CL_SYB_CONSTANTS has no exception.

Method RESOLVE_LOG_SEVERITY2 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning IMAGE Value transfer Type reference (TYPE) STRING 20130904
2 Importing SEVERITY Call by reference Type reference (TYPE) C 20130904

Method RESOLVE_LOG_SEVERITY2 on class CL_SYB_CONSTANTS has no exception.

Method RESOLVE_ONOFF_TRUEFALSE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning BOOLEAN Value transfer Type reference (TYPE) ABAP_BOOL 20130109
2 Importing IMAGE Value transfer Type reference (TYPE) CLIKE 20130109

Method RESOLVE_ONOFF_TRUEFALSE on class CL_SYB_CONSTANTS has no exception.

Method RESOLVE_SPACETYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CONSTANT Call by reference Type reference (TYPE) CLIKE 20120119
2 Returning IMAGE Value transfer Type reference (TYPE) STRING 20120119

Method RESOLVE_SPACETYPE on class CL_SYB_CONSTANTS has no exception.

Method RESOLVE_STMT_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CONSTANT Call by reference Type reference (TYPE) CLIKE 20101109
2 Returning IMAGE Value transfer Type reference (TYPE) STRING 20101109

Method RESOLVE_STMT_TYPE on class CL_SYB_CONSTANTS has no exception.

Method RESOLVE_SWITCH_SCOPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing SCOPE Call by reference Type reference (TYPE) I 20130422
2 Returning SCOPE_DESC Value transfer Type reference (TYPE) STRING 20130422

Method RESOLVE_SWITCH_SCOPE on class CL_SYB_CONSTANTS has no exception.

Method RESOLVE_TXN_FAILOVER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CONSTANT Call by reference Type reference (TYPE) CLIKE 20100922
2 Returning IMAGE Value transfer Type reference (TYPE) STRING 20100922

Method RESOLVE_TXN_FAILOVER on class CL_SYB_CONSTANTS has no exception.

Method RESOLVE_TXN_ISOLATION_LEVEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CONSTANT Call by reference Type reference (TYPE) CLIKE 20101109
2 Returning IMAGE Value transfer Type reference (TYPE) STRING 20101109

Method RESOLVE_TXN_ISOLATION_LEVEL on class CL_SYB_CONSTANTS has no exception.

Method RESOLVE_TXN_MODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CONSTANT Call by reference Type reference (TYPE) CLIKE 20101109
2 Returning IMAGE Value transfer Type reference (TYPE) STRING 20101109

Method RESOLVE_TXN_MODE on class CL_SYB_CONSTANTS has no exception.

Method RESOLVE_TXN_STATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CONSTANT Call by reference Type reference (TYPE) CLIKE 20100922
2 Returning IMAGE Value transfer Type reference (TYPE) STRING 20100922

Method RESOLVE_TXN_STATE on class CL_SYB_CONSTANTS has no exception.

Method RESOLVE_TXN_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CONSTANT Call by reference Type reference (TYPE) CLIKE 20100922
2 Returning IMAGE Value transfer Type reference (TYPE) STRING 20100922

Method RESOLVE_TXN_TYPE on class CL_SYB_CONSTANTS has no exception.

Method RESOLVE_YESNO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BOOLEAN Call by reference Type reference (TYPE) ABAP_BOOL 20120119
2 Returning IMAGE Value transfer Type reference (TYPE) STRING 20120119

Method RESOLVE_YESNO on class CL_SYB_CONSTANTS has no exception.
History
Last changed by/on SAP  20141121 
SAP Release Created in 703