Subversion Repositories DevTools

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
13 rsolanki 1
Option Explicit
2
'=====================================================
3
'        Name: 	config
4
' Description:	Contains all configuration details, 
5
'				enums, global constants and variables.
6
'=====================================================
7
 
8
'=========== GLOBAL CONSTANTS DECLARATION ============
9
'============ GLOBAL VARIABLES DEFINITION ============
10
Dim OraSession
11
Dim OraDatabase
12
Dim APP_ROOT
13
Dim QUERIES_PATH
14
'============= VARIABLES INITIALISATION ==============
15
APP_ROOT = Get_Application_Path()
16
'==================== INCLUDE ASP ====================
17
'Call Include_File ( AppPath &"common\base_conf.asp" )
18
'================== CONFIGURATION ====================  
19
Set OraSession = CreateObject("OracleInProcServer.XOraSession")
20
Set OraDatabase = OraSession.OpenDatabase( "RELEASEM", "DEPLOYMENT_MANAGER/DEPLOYMENT_MANAGER", Cint(0))
21
QUERIES_PATH = APP_ROOT &"jobs\queries"
22
'======================== enums ======================
23
Const enumEVENT_SUCCESS = 0
24
Const enumEVENT_ERROR = 1
25
Const enumEVENT_WARNING = 2
26
Const enumEVENT_INFORMATION = 4
27
'====================== OO4O =========================
28
const ORATYPE_VARCHAR2 = 1
29
const ORATYPE_NUMBER = 2
30
const ORATYPE_SINT = 3
31
const ORATYPE_FLOAT = 4
32
const ORATYPE_STRING = 5
33
const ORATYPE_VARCHAR = 9
34
const ORATYPE_DATE = 12
35
const ORATYPE_UINT = 68
36
const ORATYPE_RAW = 95
37
const ORATYPE_CHAR = 96
38
const ORATYPE_CHARZ = 97
39
const ORATYPE_MLSLABEL = 105
40
const ORATYPE_OBJECT = 108
41
const ORATYPE_REF = 110
42
const ORATYPE_CLOB = 112
43
const ORATYPE_BLOB = 113
44
const ORATYPE_BFILE = 114
45
const ORATYPE_VARRAY = 247
46
const ORATYPE_TABLE = 248
47
const ORATYPE_CURSOR = 102
48
 
49
 
50
const ORAPARM_INPUT=1	
51
const ORAPARM_OUTPUT=2	
52
const ORAPARM_BOTH=3
53
 
54
const ORADYN_DEFAULT=&H0&
55
'=====================================================
56
 
57