
# @(#) doverify  ver. 1.4 last update 87/02/12 14:53:45
# 'Doverify shell script

trap "echo 'Verification Cancelled';exit" 1 2
cat <<%

              This shell script creates and runs the RM/COBOL-85
                            verification suite.

%
echo "Press Return To Continue: \c"
read yorn
set FILTST NUCTST PRNTST SORTTST VDTTST VERIFY
while ( test $1 )
do
   if [ ! -f $1.COB ]
      then
	echo "Compiling $1...\c"
	rmcobol $1 -k 2>&1 > /dev/null
	if [ $? = 0 ]
	then
		echo "Compilation of $1 OK"
	else
		echo "Compilation of $1 has errors"
	fi
      fi
   shift
done
echo "About to run the verification menu.  Press return to continue: \c"
read yorn
runcobol VERIFY
