Files
gateway-mnp-dbc/dbcmnpsrc/FE/mnpapp/script/DB_Portati/runDbc2FASTWEB.sh
2024-05-13 12:54:14 +02:00

16 lines
504 B
Bash

#!/usr/bin/ksh
THIS_PATH=`dirname $0`
. $THIS_PATH/../setEnv.sh
$THIS_PATH/../TestNodo.sh
if [ $? -eq 0 ]
then
if [ "$1" = "" ] || [ "$2" = "" ] || [ "$3" = "" ]; then
echo "Utilizzo: ${0} data_inizio data_fine numero_righe"
echo " le date vanno passate in formato DDMMYYYY "
echo " numero_righe indica quante righe al massimo estrarre nel file"
exit -1
fi
$MNP_SCRIPT_HOME/sqlExecutor.sh -sqlplus $THIS_PATH/runDbc2FASTWEB.sql $1 $2 $3 >$THIS_PATH/runDbc2FASTWEB.log
fi