You need to write a script on the operating system to call "frmcmp" executable.
2. change the user name , password and the database alias accordingly...
3. Pls save the file with a name.bat then...
4.put this file in the forms folder then...
5.Double click on that batch it will compile all the forms in that folder consequently...
1.Pls open a note pad and paste the following lines...
::compile_forms.bat
cls
Echo compiling Forms....
for %%f IN (*.fmb) do frmcmp.exe userid=user_name/password@db module=%%f batch=yes
module_type=form compile_all=yes window_state=minimize
ECHO FINISHED COMPILING
2. change the user name , password and the database alias accordingly...
3. Pls save the file with a name.bat then...
4.put this file in the forms folder then...
5.Double click on that batch it will compile all the forms in that folder consequently...
This is very interesting topic which describe how you can compile all Oracle forms together. The method is not difficult but you need to be bit careful while applying it as there is no chance of error. Consider the above points. Thanks.
ReplyDeleteHi.
ReplyDeleteBatch file is executing but not creating fmx.. is there any way we can generate a log of the same.
Thanks & Regards
Hussain Zaki
Salam Hussain Zaki,
ReplyDeleteDid you put the batch file in the same folder, where the .fmb exist ?
And what is your form version ?
--if 6i then frmcmp.exe should be ifcmp60.exe
Thanks
Thank You very much.
ReplyDeleteThank you!! perfect compilation, regards
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThanks, very useful!!!
ReplyDeleteThanks Allah (swt) for this... your are welcome @ anonymous
ReplyDeleteIt's very helpful bro ..!!
ReplyDelete.err file generating, pls help
ReplyDeletePlease make sure that files are not in read-only mode. For me .err file and .fmx is generating and if i open ".err" it contatins the message "Created form file xxx.fmx"
DeleteThank you. It is very helpfull...
ReplyDeleteThanks alot.. it helped
ReplyDeleteThanks bro...it helps me.
ReplyDeleteyou are welcome..
ReplyDeleteHi,
ReplyDeleteI have 19 forms which are giving error FRM-30085: Unable to adjust form for output.
All of them compile and build fine when compiling in forms builder.
i tried with frmcmp.sh module=example.fmb userid=$UP module_type=FORM
19 forms errored - same error no other message
Then I changed the command to frmcmp.sh module=example.fmb userid=$UP module_type=FORM compile_all=YES
Now 9 forms erred same error message... what other setting do u think i should add and check?
were you able to resolve this issue? I have a form with the same error that has successfully compiled previously and still compiles in builder without error - please email me at aleech@fs.fed.us if you found a solution
Deletehi,
ReplyDeletei am new in development.i saw your answer. but i am not understand where i have to put that file means in which form
put the batch file along with your forms.
Deletehi,
ReplyDeletei have migrated forms from 6i to 11g .few fmbs when opened from forms builder 11g compiles(shift+ctrl+k) and generates fmx (ctrl+T) but if i run the same fmb using compile.bat file it will give forms error FRM-30085: Unable to adjust form for output.
I tried converting into xml and xml back to fmb still it dint work .
Kindly help .
Please post at https://community.oracle.com/community/development_tools/forms
DeleteBundles of thanks sir, be blessed always!
ReplyDeletethank you very much for this help
ReplyDeletehello,
ReplyDeletethank you for this topic. i just wanna ask if this kind of commands is applicable in linux environment or not ?
if it does not then what commands that can run compile all fmb at once in linux ?
thank you for your help.
Hi, I am also facinng the frm-30085- unable to adjuct form output. could you please me on this issue
ReplyDeleteHi i am Krishna Balan ,
ReplyDeletei want one help, My script is run well but i want my .fmb fil name as .fmx file name as output_file
Anyway to compile the forms remotely? I am running the same command using Powershell with enabled Remote to the Server, but doesn't seem to do anything. However, it works on the server itself.
ReplyDeleteThanks
"You need to write a script on the operating system to call "frmcmp" executable."
ReplyDeleteEverything else below this sentence was well explained in detail except this sentence...sigh. What is the script? why not listed out?