#!/bin/ksh
#return 1 if at least one preceding step verifies the conditional test
#$1 is the code
#$2 is the operator
code=$1
operator=$2
found=0
while read ENTRY
do
	set $ENTRY
	if [ $code $operator $2 ]
	then
		found=1
                echo $found
                exit 0
	fi
done < ${JON}_RETCOD
echo $found
exit 0
