CUST sql conform nieuwe format

svn path=/Customer/trunk/; revision=58560
This commit is contained in:
Suzan Wiegerinck
2023-01-09 07:54:07 +00:00
parent 2ca191e403
commit ff640d6b83

View File

@@ -3,18 +3,21 @@
-- Script containing customer specific sql statements for the FACILITOR database -- Script containing customer specific sql statements for the FACILITOR database
DEFINE thisfile = 'OOZR.SQL' DEFINE thisfile = 'OOZR.SQL'
DEFINE dbuser = '^OOZR' DEFINE dbuser = 'OOZR'
DEFINE custid = 'OOZR'
SET ECHO ON SET ECHO ON
SET DEFINE ON SET DEFINE ON
COLUMN fcltlogfile NEW_VALUE fcltlogfile NOPRINT; COLUMN fcltlogfile NEW_VALUE fcltlogfile NOPRINT;
WHENEVER SQLERROR EXIT; COLUMN fcltcusttxt NEW_VALUE fcltcusttxt NOPRINT;
SELECT adm.scriptspoolfile ('&dbuser', '&thisfile') AS fcltlogfile FROM DUAL;
WHENEVER SQLERROR CONTINUE; WHENEVER SQLERROR CONTINUE;
SELECT adm.getscriptspoolfile('&thisfile') AS fcltlogfile FROM DUAL;
SPOOL &fcltlogfile SPOOL &fcltlogfile
WHENEVER SQLERROR EXIT;
SELECT adm.checkscriptcust('&dbuser') AS fcltcusttxt FROM DUAL;
WHENEVER SQLERROR CONTINUE;
---------------------------------------
PROMPT &fcltcusttxt
---------------------------------------
SET DEFINE OFF SET DEFINE OFF
------ payload begin ----- ------ payload begin -----
@@ -228,15 +231,11 @@ END;
------ payload end ------ ------ payload end ------
SET DEFINE OFF SET DEFINE OFF
BEGIN adm.systrackscriptId ('$Id$', 0); END;
BEGIN
adm.systrackscriptId ('$Id$',
0);
END;
/ /
COMMIT; COMMIT;
SET ECHO OFF SET ECHO OFF
SPOOL OFF SPOOL OFF
SET DEFINE ON SET DEFINE ON
PROMPT Logfile of this upgrade is: &fcltlogfile PROMPT Logfile of this upgrade is: &fcltlogfile