33 lines
819 B
Bash
33 lines
819 B
Bash
#
|
|
# Shell Script per arricchimento dati utili alla produzione del flusso PCCOM.
|
|
# E' un flusso una tantum.
|
|
#
|
|
#
|
|
#!/usr/bin/ksh
|
|
#
|
|
#set -x
|
|
|
|
THIS_PATH=`dirname $0`
|
|
. $THIS_PATH/setEnv.sh
|
|
|
|
if [ $? -eq 0 ]
|
|
then
|
|
# ESECUZIONE SCRIPT
|
|
|
|
#directory in cui sono presenti gli script sql
|
|
SQL=$MNP_SCRIPT_SQL_HOME
|
|
|
|
#directory in cui scrivere i files di Log
|
|
LOG=$MNP_LOG_SCRIPT_HOME
|
|
APPLICATION_LOG=$MNP_LOG_APP_HOME
|
|
|
|
file_di_log=infasamento_pccom.log
|
|
|
|
echo $MNP_SCRIPT_HOME/sqlExecutor.sh -sqlplus $SQL/dbc_infasamento_pccom.sql >> $APPLICATION_LOG/$file_di_log 2>&1
|
|
|
|
$MNP_SCRIPT_HOME/sqlExecutor.sh -sqlplus $SQL/dbc_infasamento_pccom.sql >> $APPLICATION_LOG/$file_di_log 2>&1
|
|
|
|
fi
|
|
echo "Processo terminato" >> $APPLICATION_LOG/$file_di_log 2>&1
|
|
echo "Processo terminato"
|