Tuesday, June 3, 2014

How to compile forms manually in 11i and R12

Regenerate the form manually:

GENERATION OF FORM
------------------
Oracle Forms executable used to generate forms depends of platform and Oracle Applications versions :


UNIX WINDOWS NT
11.5.X                       f60gen                 f60gen.exe
12.X                       frmcmp                  frmcmp.exe

Command line is :

<forms executable> module=<source form name> userid=APPS/<APPS password>
output_file=<executable form name> module_type=form batch=yes compile_all=special


1)  Regenerate forms in R11i
1. Set the environment on Application tier.
2. cd $AU_TOP/forms/US.
3. Execute the following command:
f60gen userid=apps/apps module=<FORM>.fmb output_file=$AU_TOP/forms/US/<FORM>.fmx
module_type=form batch=no compile_all=special
Examples :

WINDOWS:
=========
f60gen.exe module=PERWSEAD.fmb userid=apps/apps output_file=$AU_TOP/forms/US/PERWSEAD.fmx module_type=form batch=yes compile_all=special

UNIX:
====
f60gen module=PERWSEAD.fmb userid=apps/apps output_file=$AU_TOP/forms/US/PERWSEAD.fmx
module_type=form batch=yes compile_all=special

Note:
The .fmb files are stored in $AU_TOP, and when generated the executable (.fmx) is stored under the product.
2)  Regenerate forms in R12
1. Set the environment on Application tier.
2. cd $AU_TOP/forms/US.
3. Execute the following command:
frmcmp userid=apps/apps module=<FORM>.fmb output_file=$AU_TOP/forms/US/<FORM>.fmx
module_type=form batch=no compile_all=special
Examples:

WINDOWS:
=========
frmcmp.exe userid=apps/apps module=PERWSEAD.fmb output_file=$AU_TOP/forms/US/PERWSEAD.fmx
module_type=form batch=no compile_all=special

UNIX:
====
frmcmp userid=apps/apps module=PERWSEAD.fmb output_file=$AU_TOP/forms/US/PERWSEAD.fmx
module_type=form batch=no compile_all=special

1 comment:

  1. Hai i have a small doubt can we compile the forms by using GUI
    like logging into sysadmin and the compiling is there any way like that.

    ReplyDelete