Compiling forms in UNIX
Dear all,
We are in the process of migrating windows forms application to solaris
On compiling, the forms using f90genm in solaris, it is failing as the dependent objects (they are case in sensitive in windows) .where as when compiling in UNIX, we need to change the forms coding in order to change the object name ?.
is there any way to overcome this ?
Kai
Kai,
You do not need to change the code as it does not matter if it is case sensitive or not when it comes to the objects.
In 11i use f60gen to generate the forms, and in R12 it is frmcmp or frmcmp_batch.
Regards,
Hussein
Similar Messages
-
Unable to compile form in unix
Hi All,
When I am trying to compile a form in unix using the below command:
$ORACLE_HOME/bin/f60gen module=ICQTYUH2.fmb userid=apps/test99 output_file=ICQTYUH2.fmx module_type=form batch=no compile_all=yes
I am getting the below message and the form is not getting compiled.
Forms 6.0 (Form Compiler) Version 6.0.8.27.0 (Production)
Forms 6.0 (Form Compiler): Release - Production
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
PL/SQL Version 8.0.6.3.0 (Production)
Oracle Procedure Builder V6.0.8.21.0 Build #0 - Production
Oracle Virtual Graphics System Version 6.0.5.39.0 (Production)
Oracle Multimedia Version 6.0.8.25.0 (Production)
Oracle Tools Integration Version 6.0.8.17.0 (Production)
Oracle Tools Common Area Version 6.0.5.32.0
Oracle CORE Version 4.0.6.0.0 - Production
ROS ERROR: -200
Segmentation Fault(coredump)
Some additional info I also tried to compile some exisitng forms in the same directroy and those are getting compiled. So then i transfer a compiled form to my harddrive and open it with formbuilder and then save it and ftp it to unix. Again when I try to compile the same form without even making any change I am getting same message.
So I am suspecting there is something wrong when I am opening and saving the form builder. Can anybody assist me with this problem.
Thanks.I am pretty sure transfer is happening correctly. I am taking care of the binary mode of transfer. Moreover when I transfer an already compiled file from unix and without open it from form builder and save it, I just trasfer it back to the unix box and I am able to compile it.
Is there any other thought on this.
Thanks -
Cannot compile form on unix. identifier 'CHECK_COMMIT' must be declared
Hello
I am getting the following error when I try to compile a form on unix. Error identifier 'CHECK_COMMIT' must be declared
Compiling procedure DISPLAY_TAB...
Compilation error on procedure DISPLAY_TAB:
PL/SQL ERROR 201 at line 12, column 1
identifier 'CHECK_COMMIT' must be declared
PL/SQL ERROR 0 at line 12, column 1
Statement ignored
PL/SQL ERROR 201 at line 32, column 7
identifier 'CHECK_COMMIT' must be declared
PL/SQL ERROR 0 at line 32, column 7
Statement ignored
Compiling procedure SET_TAB_STATUS...
No compilation errors.
Compiling procedure SELECT_REQUESTOR...
No compilation errors.
Compiling procedure SELECT_ALT_REQUESTOR...
No compilation errors.
Form not created
It seems to only occur where a program unit is calling a procedure in an attached library. All the libraries exist.
my FORMS_PATH is set to
/famisapps/fmsd/msd:/famisapps/fmsd/libs/:/apps3/famis/dev/forms:/famisapps/fmsd/forms
All the libraries are in /famisapps/fmsd/libs/
The forms are in /famisapps/fmsd/forms
The library in question is called common.pll. I have renamed it COMMON.PLL, COMMON.pll and Common.pll
Any help ideas would be apprecaited.
Davidare you getting the same error when compiling from frmcmp.sh and from builder even after setting the FORMS_PATH ?
with this make any difference FORMS_PATH
changing
/famisapps/fmsd/msd:/famisapps/fmsd/libs/:/apps3/famis/dev/forms:/famisapps/fmsd/forms
to
/famisapps/fmsd/msd:/famisapps/fmsd/libs:/apps3/famis/dev/forms:/famisapps/fmsd/forms -
Pb with compiling form under unix
Hi
I tried to compile a form under unix. I got an error saying that it can't find a function which is in a PL SQL library .
All the Pll's files and the Fmb's are in the same directory. I put this directory in the forms_path ( default.env) but still got the same error
Is there any configuration file that I should set ?
Thanksthe default-env setting is only relevant for the runtime. For compile-time, you should set the environment-variable FORMS_PATH and export it.
-
Windows tool to compile forms on unix server
We have one client using Forms 6i on the web, so I need to test in this environment.
Currently to compile the fmb on the unix platform, I use Hummingbird software (Connectivity, Exceed, Xstart) to run the compile using the command f60genm.
I do not particularly like the Hummingbird software, as it takes a lot of software just to run an X-windows terminal session. However, it seems to be necessary, because the unix administrator tells me the Forms 6 compiler in this environment apparently "needs to connect to the Xwindows graphics library."
If I try to run the f60genm comand from a SSH Secure Shell connection, I get the error:
FRM-91500: Unable to start/complete the build.I get the same error in the Xstart session if I use the f60gen command (without the "m").
However, if I type "f60genm" without any parameters in the Xstart window, a second xwindows application pops up where I can enter Forms compile options (login and module information.)
If anyone is familiar with unix: Is there maybe a path or environment command I could try in the SSH Secure Shell session that would satisfy the Xwindows graphics library requirement, so I could then run the compile without using Hummingbird?
Thanks in advance.Thanks everyone for all the help and suggestions! I am closer, but still cannot get the f60genm or f60gen to work.
Paul, when I enter
echo $SHELLI get: /bin/cshPaul and Soumyajit, when I enter a DISPLAY=... or export command, unix echoes my input, and appends Command not found
It seems that the setenv that Rosario suggested actually works. I can do
setenv DISPLAY=111.2.333.4:0.0
setenv ORACLE_TERM=vt220 and they seem to work. Then when I type setenv by itself, I see a number of environment variables, with my two at the end. However, unlike the other values displayed, their values have an equal sign appended at the end:
DISPLAY=111.2.333.4:0.0=
ORACLE_TERM=vt220=So maybe that is the reason I still get
FRM-91500: Unable to start/complete the build.when I try the f60genm command that works in the Hummingbird environment.
I really do appreciate all your help! If you can think of anything I should try, please let me know. -
Problems compiling form in Unix
I am trying to do the following
a)copy a custom fmb from an 11.5.10 system on Unix
b) modify the fmb in forms builder
c)ftp back to Unix
d) compile the form.
However even if the form has not changed at all (proof of concept) the compiling fails.
"I get
"ROS ERRORL -200
Segmentation fault(coredump)."
The forms version in Unix seems old :-
"Forms 6.0 (Form Compiler) Version 6.0.8.28.0 (Production)
Forms 6.0 (Form Compiler): Release - Production
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
PL/SQL Version 8.0.6.3.0 (Production)
Oracle Procedure Builder V6.0.8.21.0 Build #0 - Production
Oracle Virtual Graphics System Version 6.0.5.39.0 (Production)
Oracle Multimedia Version 6.0.8.25.0 (Production)
Oracle Tools Integration Version 6.0.8.17.0 (Production)
Oracle Tools Common Area Version 6.0.5.32.0
Oracle CORE Version 4.0.6.0.0 - Production
ROS ERROR: -200"
In Windows it is a lot newer
"Forms [32 Bit] Version 10.1.2.0.2 (Production)
Oracle Toolkit Version 10.1.2.0.2 (Production)
PL/SQL Version 10.1.0.4.2 (Production)
Oracle Procedure Builder V10.1.2.0.2 - Production
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Oracle Query Builder 10.1.2.0.2 - Production
Oracle Virtual Graphics System Version 10.1.2.0.2 (Production)
Oracle Tools GUI Utilities Version 10.1.2.0.2 (Production)
Oracle Multimedia Version 10.1.2.0.2 (Production)
Oracle Tools Integration Version 10.1.2.0.2 (Production)
Oracle Tools Common Area Version 10.1.2.0.2
Oracle CORE 10.1.0.4.0 Production"
I think an environment setting is wrong but I am not sure.
I do have write permissions in UnixShouldn't an 11.5.10 install have the ablitlity to compile with a later version of forms than that?I wonder if there is an env setting I need to change >
You need to consult your System Administrator (SA)! Typically the EBS Technology stack is locked into specific component versions, to include Forms. I honestly do not know if EBS 11.5.10 can be configured to use a version of Forms newer than Forms 6i. I do know that EBS R12 uses Forms 10g. It has been a while since I've worked with the EBS so you might want to ask your quesiton in the General EBS Discussion forum as this Forum is dedicated specifically to non-EBS Forms.
However, it stands to reason that if your Application Server is configured with Forms 6i that you should use the same version of Forms on your development workstations. Newer versions of Oracle Forms are not backward compatible with older versions of Forms - meaning, you can't edit in Forms 10g and expect Forms 6i to be able to compile the file.
Craig... -
Dear all
I am using forms 10G.
I have a form and I want to compile it in Unix .
Can you please tell me the solution step by step .
I was reading the old blogs here ,and tried the same but did not get the solution .
Please help me .for %%f IN (*.fmb) do frmcmp.sh userid=userid/password@DB1 module=%%f batch=yes module_type=form compile_all=yes window_state=minimize
Is this comand will work ?On Windows yes, on Unix no, that's the Windows syntax.
How can I give the fmb name instread of "compile_all=yes " ?"compile_all=yes" doesn't mean compile all forms, but compile all Pl/Sql code within the form. On Linux I use something like the following :. $HOME/.bash_profile
export Filename=$1
if [ "$Filename" ]
then
Filename=`echo $Filename | cut -f1 -d"."`
else
Filename=*
fi
for FRM in $Filename.fmb
do
echo $FRM
$ORACLE_HOME/bin/frmcmp.sh $FRM username/password@DB module_type=form 1>$FRM.log 2>&1
doneIf you execute the script with a form name as argument, only that form will be compiled, otherwise all forms within the directory will be compiled. -
How to compile forms in a UNIX CLI?
Can anybody tell me how to compila a form in UNIX with Oracle 6 or 6i?
I know I have to use the 'f60gen' or 'f60genm' commands, but I don't know witch arguments I have to use.
Thanks in advance,
Pablo.Hi!
Try out this:
f60gen forname user/password
f60gen myform.fmb scott/tiger
c u -
Compiling Forms on a Unix Server
Hello,
I was wondering if there was a way to compile forms on a Unix server from the command line? Right now we are using Reflection X and form builder on the Unix server to compile.
Is there any alternatives to Reflection X?
Any help would be appreciated.In a normal vt100 telnet session, i use
f60gen $formname $usern module_type=$moduletype Compile_All=YES
cheers
Yogeeraj -
Right now I have this script to compile forms
ORACLE_HOME=/u01/app/ora_fr
export ORACLE_HOME
PATH=$PATH:/u01/app/ora_fr/bin
export PATH
FORMS_PATH=/u01/app/ora_fr/forms:/u01/app/ora_fr/forms/prod
export FORMS_PATH
TNS_ADMIN=$ORACLE_HOME/network/admin
export TNS_ADMIN
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/jdk/jre/lib/i386/server:$ORACLE_HOME/jdk/jre/lib/i386/native_threads:$ORACLE_HOME/jdk/jre/lib/i386:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
LD_ASSUME_KERNEL=2.4.19
export LD_ASSUME_KERNEL
ORACLE_TERM=vt220
export ORACLE_TERM
frmcmp_batch.sh module=/u01/app/ora_fr/forms/devl/*platelet_irradiation_log.fmb* module_type=FORM compile_all=yes userid=hbc_qa/[email protected]
The problem is every time I compile a new form I need to vi this and change the module name.
Is there a way that I can give a parameter kind of thing here and add the fmb name when I call the script?
Thanks in advance
AnuHere is a script I have used to generate (under unix) all the forms in a folder. It uses f90genm, but you can modify the script to call whatever compile command you need.
<p>There is a unix script posted here:<br>
Re: How to generate multiple files using f90genm ?
(keywords: genform compall ) -
Compiling forms 10g on unix hpux
Hello all,
I need to compile my forms for unix hpux platform, as my pll and reports, can anyone please help me doing it.
Thanks in advancedHi ,
Use the following Command :
<ORACLE_HOME>\bin\frmcmp.sh Userid=<CONNECTION_STRING> Module=<MODULE_PATH>
and optionally specify the Module_Type=LIBRARY in case you want to compile library ,
Best Regards, -
Compile Forms on a Unix Machine (check for errors in any of the files)
Hello there,
Our organization is wrapping up the development phase and beginning our testing phase. I am responsible for the Configuration Management of our forms, menus, libraries, and reports.
We develop our code in a Windows environment (including compilation check), then we FTP the source files to a unix environment, then we compile the forms on a unix environment. We have this process down pretty well (for a couple of files at a time).
Now we would like to automate our "build" procedure. This process involves the following tasks.
1.) Extract all the source files from our vault software (PVCS)
2.) FTP all the source files to the UNIX environment
3.) Compile all the source files on the UNIX environment
4.) Test the Software on the UNIX application server
We have all of the above working (if no compilation errors occur). I am not sure how to check if any of the files errored during compilation. How can I check to see if any errors occurred during the UNIX source code compilation? I know how to do this manually (look at the output and see if the module compiled), but we are compiling approximately 200 files during our release build process. Maybe some sort of send the compilation results to an output file then search for any files that contain "not generated" (I assume if an error is generated, the text will be displayed to the user).
Is there an easy way to check if any of the forms, menus, libraries, or reports errored during the "automatic" compilation process?
Thanks,
MikeI use this script to generate .fmx files from a zipped .fmb file. This approach allows for much faster FTP because our developers are not co-located with our servers.
In addition, the tail command echoes the final line of the .err as either...
Created form file <filename.fmx>
for success or
Compilation errors have occurred.
for failure.
# SCRIPT: zipgen
# REV: 1.0.d - Used for developement
# DATE: 070515
# PLATFORM: Not Platform Dependent
# PURPOSE: This script takes a single filename variable (w/o extension)
# and it unzips the file then deletes any existing compiled
# form of that name and finally attempts to generate a new fmx
# of the variable name.
# Assign Variables
v_log=$1.err
v_zip=$1.zip
v_fmx=$1.fmx
v_fmb=$1.fmb
# Unzip File: Overwriting any existing file(s)
unzip -q -o $1.zip
# Cleanup ZIP files
rm $1.zip
# Delete existing FMX
rm $1.fmx
# Generate FMB
gen $1
# Display results
tail -1 $1.err
# End of script -
F45gen compilation error in unix(FRM-90927: Unknown parameter on command)
I am getting the following error message when I am compiling the form under unix.
FRM-90927: Unknown parameter on command line.
Here is the command I issue at the unix level to generate the form.
f45gen Module=form_name.fmb Userid=apps/apps@db Output_File=form_name.fmx Module_Type=FORM Batch=yes Compile_All=yes
Thanks in advance.
Edited by: user510986 on Apr 16, 2010 4:05 PM
Edited by: user510986 on Apr 16, 2010 5:02 PMI am getting the following error message when I am compiling the form under unix.
FRM-90927: Unknown parameter on command line.
Here is the command I issue at the unix level to generate the form.
f45gen Module=form_name.fmb Userid=apps/apps@db Output_File=form_name.fmx Module_Type=FORM Batch=yes Compile_All=yes
Thanks in advance.
Edited by: user510986 on Apr 16, 2010 4:05 PM
Edited by: user510986 on Apr 16, 2010 5:02 PM -
How to compile form in Linux?
Hi guys,
I am developing using forms builder 6i on windows xp.
The application server is on Linux.
Should I recompile my form on Linux?
If so then can you please detail the step in how to do so? Because I am really unfamiliar with Linux.
What command should I run? where do I run the said command? etc.
Thanks
JimJim
Should I recompile my form on Linux? A. If you plan to run it on an iAS server that is Linux then Yes.
Is you application server Linux and is it possible you could compile it there?
Script to compile on the iAS server
#UNIX Forms Compile
#compile_forms.sh
export FORMS_PATH=/u01/app/oracle/product/apps/<your_directory>
export DISPLAY=localhost:2.0
#export NLS_LANG=AMERICAN_AMERICA.UTF8
export TERM=vt220
export ORACLE_TERM=vt220
export FORMS_BUILDER_CLASSPATH=/u01/app/oracle/product/apps/<your_directory>
for i in `ls /u01/app/oracle/product/apps/afs_dev/your.fmb`
do
echo Compiling Form $i ....
frmcmp_batch.sh userid=username/password@oracle_sid batch=yes module=$i module_type=form
compile_all=yes window_state=minimize
done
# May Need to modify $ORACLE_HOME/frmcmp_batch.sh to include FORMS_PATH and other environment variables.
# Copy the frmcmp_batch.sh to /home/oracle or the directory you prefer.
Replace your.fmb and <your_directory> with the correct form name and path -
Compile form(frmcmp.sh)
Hi,
There is Oracle Retek patch and module is rms.In patch there is one fmb file.while i am trying to compile it seems hanged Find below steps.I think there is issue with DISPLAY server if yes how could i resolve.
$frmcmp.sh
FRM-91500: Unable to start/complete the build.
$export PROGNAME=recctadj.fmb
$frmcmp.sh
FRM-91500: Unable to start/complete the build.
$export DISPLAY=192.168.125.20:0.0
$frmcmp.sh ---> after running it seems hanged nothing comes
Thnaks
Edited by: userpat on Jun 7, 2010 3:13 AMTry using a script, for example:
#UNIX Forms Compile
#compile_forms.sh
export FORMS_PATH=/u01/app/oracle/product/source
export DISPLAY=localhost:2.0
#export NLS_LANG=AMERICAN_AMERICA.UTF8
export TERM=vt220
export ORACLE_TERM=vt220
export FORMS_BUILDER_CLASSPATH=/u01/app/oracle/product/source
for i in `ls /u01/app/oracle/product/source/recctadj.fmb`
do
echo Compiling Form $i ....
./frmcmp_batch.sh userid=someuser/password@database batch=yes module=$i module_type=form
compile_all=yes window_state=minimize
done
# May Need to modify $ORACLE_HOME/frmcmp_batch.sh to include FORMS_PATH and other environment variables.
# Copy the frmcmp_batch.sh to /home/oracle or the directory you prefer.
# Change variables as needed make sure you set username password and database connect string
Maybe you are looking for
-
Trying to make the switch from PC to Mac
Hi, I just graduated from high school and I'm off to college so I've been doing some research on what kind of laptop to get. I'm heavily leaning towards the Mac but I'm looking for that extra nudge that makes me a believer after a life on PC. I tend
-
Error handling and Manual Retry mechanism in BPEL
Hi Gurus, We have a requirement that If any error occurs during BPEL process , We need to auto retry. if auto retry is not enough We need to manual retry and send the request message to Worklist for retry. In our BPEL process We have CreateOrganizati
-
Sapprd_00 service is not running
Hi, I have try to install a new additional application server on my running production server (windows 2003 server u201364 bit with oracle 10g) but I have got a error when starting the service SAPPRD_00 on new application server. Its not started. Giv
-
Updating a register and print only the updated portion
Hi, I have a scenario where I need to update a register. The register is a pdf form (Acro Form) and I am updating it via a swing application that I have developed. When I first create the register, the user will print it and file it for his records.
-
I was using rowset.jar in my application i.e in weblogic 5.1, it was working fine. Now i've upgraded my weblogic version to 6.1 it has some problem in rowset.jar. rowset.jar has CachedRowSet.class. it has a method getDate(int i), In this method it's