# Exit if no first parameter $1.
if [ -z “$1” ]
then
echo “Usage: check_parms.ksh
<#_days> (where value is > 100)”
exit 99
fi
# Exit if no second parameter $2.
if [ -z “$2” ]
then
echo “Usage: check_parms.ksh
<#_days> (where value is > 100)”
exit 99
fi
# Exit if parm is not greater than 100.
tmp=`expr $2` # Convert string to number.
if [ $tmp -lt 101 ]
then
echo
echo “Argument two is less than 100.
Aborting Script.”
echo
exit 99
fi