[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Rép. :
Here comes a script-shell to compile sources.
See if it respond to your question...
Cordialement, Philippe.
>>> Soliman Heba Contr <Heba.Soliman@FSCNET.VANDENBERG.AF.MIL> 01/03/01 01h55
>>>>
Hello,
I am using oracle database, UNIX, and SQR. I need to compile SQR files.
Are there any way to debug ?
Thanks,
Heba
VARIABLES=1500
PROGLINEPARS=30000
QUERYARGS=1000
QUERIES=500
STRINGSPACE=55000
PROGLINES=6000
SQLSIZE=16000
EXPRESSIONSPACE=65000
export SQRDIR=/soft/sqrv4.3.2.1/ora/bin
export SQR_FLAG=-RT
export REP_SQR=.
#! /bin/sh
if [ -n "$1" ]
then
Fichier=$1
shift
Options=$@
else
Fichier=""
Options=""
fi
rm sqr2sqt.log
if [ -z "$Fichier" ]
then
for Fichier in `ls *.sqr`
do
echo " \nCompilation SQR V4.3 : $Fichier"
echo " \n\n\nCompilation SQR V4.3 : $Fichier" >> sqr2sqt.log
( ${SQRDIR}/sqr $Fichier cable/cable -Msqrparm.dat -rs 2>&1 )|
tee -a sqr2sqt.log
NomFic=`basename ${Fichier} .sqr`.sqt
done
else
echo " \nCompilation SQRV43 : $Fichier"
echo " \n\n\nCompilation SQRV43 : $Fichier" >> sqr2sqt.log
if [ -n "$Options" ]
then
echo "Options de compilation: $Options \n"
echo "Options de compilation: $Options \n" >> sqr2sqt.log
fi
( ${SQRDIR}/sqr $Fichier $Options cable/cable -Msqrparm.dat -rs 2>&1 )|
tee -a sqr2sqt.log
NomFic=`basename ${Fichier} .sqr`.sqt
chmod 755 ${NomFic}
fi