-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sql
More file actions
76 lines (64 loc) · 2.03 KB
/
Copy pathinstall.sql
File metadata and controls
76 lines (64 loc) · 2.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
--
-- Master Installation Script
-- All scripts created by "https://ODBCapture.org", Version V2.1
--
-- Must be run as SYS
--
-- Command Line Parameters:
-- 1 - TO_PDB_SYSTEM: SYSTEM/password@TNSALIAS
-- i.e. pass the username and password for the SYSTEM user
-- and the TNSALIAS for the connection to the pluggable database.
-- The Data Load installation requires this connection information.
--
-- NOTE: If running in a Linux based Docker Container from a Windows FileSystem Mount, run this first:
-- dos2unix -f -o ../install/*/*.csv ../install/*/*/*.csv
define TOP_PDB_SYSTEM="&1."
execute DBMS_JAVA.SET_OUTPUT(1000000);
set serveroutput on size unlimited format wrapped
----------------------------------------
prompt Identify this Module in V$SESSION
set appinfo "wtpsrc Installation"
----------------------------------------
prompt Setup Abort on Error
WHENEVER SQLERROR EXIT SQL.SQLCODE
WHENEVER OSERROR EXIT
----------------------------------------
prompt
prompt **************************
prompt * Run SYS Installation *
prompt **************************
prompt
@install_sys.sql "" "" ""
----------------------------------------
prompt Setup Continue on Error
WHENEVER SQLERROR CONTINUE
WHENEVER OSERROR CONTINUE
----------------------------------------
prompt
prompt *****************************
prompt * Run SYSTEM Installation *
prompt *****************************
prompt
connect &TOP_PDB_SYSTEM.
execute DBMS_JAVA.SET_OUTPUT(1000000);
set serveroutput on size unlimited format wrapped
@install_system.sql "" "" ""
----------------------------------------
prompt
prompt *************************
prompt * Install Application *
prompt *************************
prompt
@install_wtpsrc.sql "&TOP_PDB_SYSTEM." "" ""
----------------------------------------
prompt
prompt *****************
prompt * Run Reports *
prompt *****************
prompt
@report_status.sql "&TOP_PDB_SYSTEM." "" ""
----------------------------------------
set appinfo "Null"
set appinfo off
prompt
prompt "wtpsrc" Installation is Done.