We have to use frmcmp(Form Compiler) for compiling forms and libraries in Oracle Applications Version R12, But in 11i we need to use f60gen to compile forms and libraries which is deprecated in R12.
1) Login to application server.
2) Go to the directory $AU_TOP/forms/US
3) Place “.fmb” file in binary mode
4) Execute the below command to generate “.fmx”.
frmcmp_batch userid=apps/<apps_paswd> module=<Form_Name>.fmb output_file=<Form_Name>.fmx module_type=form batch=no compile_all=special
EXAMPLES:
frmcmp_batch userid=apps/apps module=RCVRCERC.fmboutput_file=$AU_TOP/forms/US/RCVRCERC.fmx module_type=form batch=no compile_all=special
R12
frmcmp_batch userid=apps/apps
module=/u01/apps/apps_st/appl/au/12.0.0/forms/US/XXXXXX.fmb
output_file=/u01/apps/apps_st/appl/XX_CUSTOM/12.0.0/forms/US/XXXXXX.fmx
module_type=form batch=no compile_all=yes
R11
f60gen Module=
XXXXXX.fmb Userid=apps/apps Module_Type=FORM Module_Access=FILE
Output_File=$XX_CUSTOM/forms/US/XX_CUSTOM.fmx Compile_All=special
Comments
Tags: Application, Application DBA in Oracle Application, APPS DBA, Compile form, Compile form fmb, Compile form fmb in oracle application, Compile form fmb in oracle application r12, Compile forms, ebs dba, in Oracle Application, Oracle Application, Oracle Application DBA, Oracle DBA, Oracle R12, oracle support
A list of $TOP directories and their paths :
1) $APPL_TOP – d01/oracle/[SID]/apps/apps_st/appl/
2) $JAVA_TOP – d01/oracle/[SID]/apps/apps_st/comn/java/classes/
3) $(application_short_name)_TOP – d01/oracle/[SID]/apps/apps_st/appl/(application_short_name)/12.0.0
example : for application_short_name PER – ( human resource)
$PER_TOP – d01/oracle/[SID]/apps/apps_st/appl/per/12.0.0
Last thing to mention is about , $ORACLE_HOME ,
4) $ORACLE_HOME – d01/oracle/[SID]/apps/tech_st/10.1.2
Note : SID and HostName varies from system to system