A KornShell-script to find the location of a form in the REPORTS_PATH:
#!/bin/ksh
# findrdf.sh
# - search the REPORTS_PATH for the specified report definition file ($1.rdf)
# Setup ORACLE_HOME for OAS
. /<path to your env-script>/oas_env.sh
# Setup REPORTS_PATH used by OAS
. $ORACLE_HOME/bin/reports.sh
# Loop through directories of REPORTS_PATH (seperated by :)
n=1
f=`echo $REPORTS_PATH | cut -f$n -d:`
while test $f
do
for r in `find $f -name $1.rdf -print`
do
ls -la $r
done
n=$(($n + 1))
f=`echo $REPORTS_PATH | cut -f$n -d:`
done