sample_xxxx.sql

svn path=/Customer/trunk/; revision=57150
This commit is contained in:
Sander Schepers
2022-09-06 14:10:58 +00:00
parent 606ccef4c3
commit 67994fc8a4
2 changed files with 17 additions and 4 deletions

View File

@@ -6,13 +6,20 @@
DEFINE thisfile = 'PCHX_MON.SQL'
DEFINE dbuser = 'PCHA|PCHW|PGHE'
SET ECHO ON
SET DEFINE ON
COLUMN fcltlogfile NEW_VALUE fcltlogfile NOPRINT;
WHENEVER SQLERROR EXIT;
SELECT adm.scriptspoolfile('&dbuser', '&thisfile') AS fcltlogfile FROM DUAL;
COLUMN fcltcusttxt NEW_VALUE fcltcusttxt NOPRINT;
WHENEVER SQLERROR CONTINUE;
SELECT adm.getscriptspoolfile('&thisfile') AS fcltlogfile FROM DUAL;
SPOOL &fcltlogfile
WHENEVER SQLERROR EXIT;
SELECT adm.checkscriptcust('&dbuser') AS fcltcusttxt FROM DUAL;
WHENEVER SQLERROR CONTINUE;
---------------------------------------
PROMPT &fcltcusttxt
---------------------------------------
SET DEFINE OFF
------ payload begin ------