First Commit - Source Code from Reply
This commit is contained in:
38
dbcmnpsrc/FE/mnpapp/script/gui/create_mnp_vgr.sh
Normal file
38
dbcmnpsrc/FE/mnpapp/script/gui/create_mnp_vgr.sh
Normal file
@@ -0,0 +1,38 @@
|
||||
#!/bin/ksh
|
||||
|
||||
###########################################################
|
||||
# Progetto: Gateway MNP
|
||||
# Script: create_mnp_vgr.sh
|
||||
# Descrizione: Shell di creazione delle Viste Materializzate GUI
|
||||
#
|
||||
###########################################################
|
||||
|
||||
#impostazione ambiente
|
||||
THIS_PATH=`dirname $0`
|
||||
. $THIS_PATH/../setEnv.sh
|
||||
|
||||
$THIS_PATH/../TestNodo.sh
|
||||
|
||||
#ESECUZIONE SCRIPT
|
||||
|
||||
if [ $# -ne 1 ]
|
||||
then
|
||||
echo "Errore in $2 - Numero di argomenti non validi"
|
||||
echo "Sintassi: create_mnp_vgr.sh <data>"
|
||||
exit
|
||||
fi
|
||||
|
||||
echo '*******************************'
|
||||
echo '**' $adesso '**' INIZIO CREAZIONE VISTE MATERIALIZZATE DBC CONSOLE
|
||||
echo '**' Profondità a partire da $1 '**'
|
||||
$MNP_SCRIPT_HOME/sqlExecutor.sh -sqlplus ${MNP_SCRIPT_GUI_SQL_HOME}/mnp_rich_cess_port_min_vgr.sql $1 -sqlplusOption -s >> ${MNP_LOG_SCRIPT_GUI_HOME}/mnp_rich_cess_port_min_vgr.log 2>&1 &
|
||||
$MNP_SCRIPT_HOME/sqlExecutor.sh -sqlplus ${MNP_SCRIPT_GUI_SQL_HOME}/mnp_richiesta_cess_min_vgr.sql $1 -sqlplusOption -s >> ${MNP_LOG_SCRIPT_GUI_HOME}/mnp_richiesta_cess_min_vgr.log 2>&1 &
|
||||
$MNP_SCRIPT_HOME/sqlExecutor.sh -sqlplus ${MNP_SCRIPT_GUI_SQL_HOME}/mnp_richiesta_porting_min_vgr.sql $1 -sqlplusOption -s >> ${MNP_LOG_SCRIPT_GUI_HOME}/mnp_richiesta_porting_min_vgr.log 2>&1 &
|
||||
$MNP_SCRIPT_HOME/sqlExecutor.sh -sqlplus ${MNP_SCRIPT_GUI_SQL_HOME}/mnp_richiesta_rec_vgr.sql $1 -sqlplusOption -s >> ${MNP_LOG_SCRIPT_GUI_HOME}/mnp_richiesta_rec_vgr.log 2>&1 &
|
||||
$MNP_SCRIPT_HOME/sqlExecutor.sh -sqlplus ${MNP_SCRIPT_GUI_SQL_HOME}/mnp_richiesta_vgr.sql $1 -sqlplusOption -s >> ${MNP_LOG_SCRIPT_GUI_HOME}/mnp_richiesta_vgr.log 2>&1 &
|
||||
wait
|
||||
adesso=$(date)
|
||||
echo '**' $adesso '**' FINE CREAZIONE VISTE MATERIALIZZATE DBC CONSOLE
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user