dmpfilepath='./'
connfile=report.ini
configtable=configtable.ini
if [ "$#" -eq 0 ]
then
DT=`date +%Y%m%d%H%M%S`
date
else
DT=$1
fi
#检查连接串正确性
checkconn()
{
if [ "$#" -ne 1 ]
then
echo "-1"
exit
fi
VALUE=`sqlplus -s /nolog <
set head off
conn $dbconn
select 1 from dual;
exit
EOF`
echo $VALUE
}
#将密码写入配置文件
modipswd()
{
if [ "$#" -ne 2 ]
then
echo "-1"
exit
fi