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 Unix
Shouldn'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...
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. -
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 ?
KaiKai,
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 -
Problems compiling forms (10g)
Hi There,
I am trying to compile a .fmb file that was provided to me. I am getting a number of compilation errors, but they seem to be related to standard libraries, rather than the source of this file. I must be missing something major/simple and hope you can help.
Here is an example of an error I get:
Function body: CGTE$CHECK_CONSTRAINT_VIO
-identifier 'CGTE$STRIP_FIRST_ERROR' must be declared
This is the code I see when I click on the error:
/* CGTE$CHECK_CONSTRAINT_VIO */
FUNCTION CGTE$CHECK_CONSTRAINT_VIO(
P_SERVER_ERR IN NUMBER /* Server error message */
,P_SERVER_MSG IN VARCHAR2) /* Server error number */
RETURN BOOLEAN IS
/* Check and report Primary/Unique Key, Check Constraint and User */
/* Defined Constraint violations */
constraint_name VARCHAR2(61); /* Violated constraint */
BEGIN
/* Check if the error code is one we are interested in */
IF ( NOT (P_SERVER_ERR IN (1, 2290) OR
(P_SERVER_ERR >= 20000 AND P_SERVER_ERR <= 20999) ) )
THEN
RETURN( FALSE );
END IF;
/* Deal with user defined errors */
IF (P_SERVER_ERR >= 20000 AND P_SERVER_ERR <= 20999) THEN
MESSAGE('Error: '||CGTE$STRIP_FIRST_ERROR(P_SERVER_MSG));
RETURN( TRUE );
END IF;
/* Deal with Primary/Unique Key and Check Constraint violations */
constraint_name := CGTE$STRIP_CONSTRAINT(P_SERVER_MSG);
IF (P_SERVER_ERR = 1) THEN
IF (constraint_name = 'MOE_PREF_TYPES_PRIM') THEN
MESSAGE('Error: Row exists already with same Code');
ELSIF (constraint_name = 'MOE_PREFERENCES_PRIM') THEN
MESSAGE('Error: Row exists already with same User ID,Preference');
ELSIF (constraint_name = 'MOE_PREF_TYPES_PRIM') THEN
MESSAGE('Error: Row exists already with same Code');
ELSIF (constraint_name = 'MODHLP_PK') THEN
MESSAGE('Error: Row exists already with same Id');
ELSE
MESSAGE(P_SERVER_MSG);
END IF;
ELSIF (P_SERVER_ERR = 2290) THEN
IF (constraint_name = 'MODHLP_CANVAS_ITEM_CHKCON') THEN
MESSAGE('Error: You cannot specify a item-context without a canvas-context');
RAISE FORM_TRIGGER_FAILURE;
ELSE
MESSAGE(P_SERVER_MSG);
END IF;
END IF;
RETURN( TRUE );
END;
So to my newbie's eye, this 'CGTE$STRIP_FIRST_ERROR' looks like a global that's not being found, even though the function is. Can someone help shed some light on this?
TIA, JFirst up on I am sorry to asking this way of Questinon.
======================================
Here is an example of an error I get:
Function body: CGTE$CHECK_CONSTRAINT_VIO
-identifier 'CGTE$STRIP_FIRST_ERROR' must be declared
I am trying to compile a Oracele Forms .Fmb file that was I created for to collect input Data from User. I am getting a number of compilation errors,
but they seem to be related to standard libraries,
rather than the source of this file. I am using FORMS 6i and REPORT 6i wiht Oracle 9i Database.
I find out the PLL File (OFGTEL.PLL) and it was there in another computer hard drive.
Any how i want to compile my form without any error if
am sucess to do it i can trap all error on various
levels of constraints and want to give apropriate error
message whenever a user atempting to violate a ny
foreginkey/primary key/check/unique key constraints.
So I copied the OFGTEL.PLL this file in to my computer
in one folder and tried to attach this library
file(OFGTEL.PLL) into my forms.
I am getting this error message
Attached library name
D:\MyOfficeProject\Library\OFGTEL.PLL contains a non
-portable directory
And following messages geting while i attempting to
open or attache this library file into my forms
PDE-PL1018 Could not find library Ofgmes.
Attached library name
D:\MyOfficeProject\Library\OFGTEL.PLL contains a non
-portable directory specification. Remove path?
I don't know why this message is coming i have a doubt
this OFGTEL.PLL File is an oracle Designer file and I
am trying to open this one in FORMS6i?
your kind consideration and help on this topic would
be help me toomuch in my challenging work!
I am stuked here your soon replay would be
appreceated.
regards
Rameel. -
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 ) -
Compilation problem in Forms 10g
Currently we are upgrading from 6i to 10g forms
we have 2 forms which we will complie partially in 10g and the form gets closed as a corrupted file.
The same form when complied in 6i works fine.
What can be the possible problem.
Please help
Thanks
Yaaminy
480-262-7881hi
create a batch file of the following commands and compile them i hope it helps u.
@ECHO OFF
cls
Echo compiling libraries 10g ....
for %%f IN (*.pll) do frmcmp userid=User_name/pass@orcl module=%%f batch=yes module_type=library compile_all=yes window_state=minimize
ECHO libraries compilation complete
ECHO ----------------------------------
Echo compiling menus 10g ....
for %%f IN (*.mmb) do frmcmp userid=User_name/pass@orcl module=%%f batch=yes module_type=menu compile_all=yes window_state=minimize
ECHO menus compilation complete
ECHO ----------------------------------
Echo compiling forms 10g ....
for %%f IN (*.fmb) do frmcmp userid=User_name/pass@orcl module=%%f batch=yes module_type=form compile_all=yes window_state=minimize
ECHO form compilation complete
ECHO ----------------------------------
ECHO Form Compilation completesarah -
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 -
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 -
Database link error when compiling forms 6.0 and forms 6i.
Dear sirs,
We have a database link between two databases of the same version oracle 8.0.5.
Recently we have upgraded one of our databases to version 9.2.0.1 (the database where the database link was originally created ) and now we are having problems when compiling forms that have PL/SQL blocks using the database link.
The error message received when compiling the form is the following:
ORA-02068: Following severe error from dbproduc.world
ORA-00600: Internal error code, arguments: [No conversion op],[],[],[],[],[],[],[]
The forms did not present this error before, it began when we made the upgrade.
Is this a FORMS 6.0 problem ?
Is this an ORACLE 8.0.5 problem ?
Is this an ORACLE 9.2.0.1 problem ?
Can you please give me some advice to solve this problem ?
Thanks in advanceAs I see, when you use a non-oracle database the tables don`t appear, you must create the realation with the table manually, on the properties
Maybe you are looking for
-
How can I enable the center mouse click to open and close tabs in Firefox and Chrome?
I have a MacBook Pro Model A1261 purchased in 2009. On my other mac at work (and my PC) I can center click to open a link in a new tab while in Chrome or FireFox, and also to close a tab by clicking on it in the tabs at the top. I am using an externa
-
Hellow I'm trying to Print continuous pages report, of a Purchase Order (PO). An PO can contain more than one item, say 25 items, in which it will go to second and maybe third page. At the Time of printing and when it comes to the next Page: The prin
-
PDF Forms in Firefox - infinite loop
Howdy, I am a developer who is using PDF forms (FDF) to populate data into a database via form submission. Everything works fine on Internet Explorer but, on Firefox 3.6.17 with Adobe Reader X, I either end up getting a blank form when launched
-
The recovery partition could not be found
I didn't know that partition magic is uncompatible withwin 7, so when i ran the program it asked me to FIX something....'YES' was my answer, then the recovery partition dissapeared. now when i open disk managment and try to click on properties of the
-
<u></u>what is rfc. and uses