frmcmp.sh
or frmcmp_batch.sh
scripts. You can find these in the "$FR_INST/bin/" directory. Running the command without any parameters displays the usage information. Script:
#!/bin/bash
export FORMS_PATH=/u04_forms/app/oracle/product/fmw11g/fr_binaries/forms/itrac12c_1
export DB_USER=test
export DB_PASSWD=test123
export DB_SERVICE=DEVXXXX
# Libraries
for FILE in `ls $FORMS_PATH/*.pll`; do
OUTPUT=${FILE/pll/plx}
echo "$FILE -> $OUTPUT"
$FR_INST/bin/frmcmp_batch.sh $FILE $DB_USER/$DB_PASSWD@$DB_SERVICE \
module_type=library batch=yes output_file=$OUTPUT compile_all=special
done
# Menus
for FILE in `ls $FORMS_PATH/*.mmb`; do
OUTPUT=${FILE/mmb/mmx}
echo "$FILE -> $OUTPUT"
$FR_INST/bin/frmcmp_batch.sh $FILE $DB_USER/$DB_PASSWD@$DB_SERVICE \
module_type=menu batch=yes output_file=$OUTPUT compile_all=special
done
# Forms
for FILE in `ls $FORMS_PATH/*.fmb`; do
OUTPUT=${FILE/fmb/fmx}
echo "$FILE -> $OUTPUT"
$FR_INST/bin/frmcmp_batch.sh $FILE $DB_USER/$DB_PASSWD@$DB_SERVICE \
module_type=form batch=yes output_file=$OUTPUT compile_all=special
done
No comments:
Post a Comment