First Commit - Source Code from Reply
This commit is contained in:
32
dbcmnpsrc/FE/mnpapp/script/infasamento_pccom.sh
Normal file
32
dbcmnpsrc/FE/mnpapp/script/infasamento_pccom.sh
Normal file
@@ -0,0 +1,32 @@
|
||||
#
|
||||
# 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"
|
||||
Reference in New Issue
Block a user