Oracle Forms (MOSC)

MOSC Banner

compile forms in Linux

edited Nov 4, 2016 9:12AM in Oracle Forms (MOSC) 16 commentsAnswered ✓

Hi,

I created and run a compilation script for compiling forms in Linux but failed with error message:

"syntax error near unexpected token `do"

Here is my script:

#compile_forms.sh

for i in `ls $2.fmb`

do

echo Compiling Form $i ....

$ORACLE_INSTANCE/bin/frmcmp_batch.sh userid=$1 batch=yes module=$i module_type=form compile_all=yes window_state=minimize

done

run it:

$ chmod +x compile_forms.sh

$ sh ./compile_forms.sh

I created and compiled the forms in Win OS and tried to recompile them in Linux OS. I am new to Linux system.

any suggestion and idea about this is very appreciated.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center