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 advanced
Hi ,
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,
Similar Messages
-
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 -
How To Compile Forms 10g Devloped in Windows For Deployment In RHEL
can any budy give me script file for compiling forms 10g ,which i developed in windows and need to be deployed in RHEL 5
How To Compile Forms 10g Devloped in Windows For Deployment In RHEL 5
any budy plzzz helpYou could try something like this:
for i in `ls *.pll`
do
echo Compiling Library $i ....
frmcmp.sh userid=me/me@medb batch=no module=$i module_type=library compile_all=yes window_state=minimize
done
for i in `ls *.mmb`
do
echo Compiling Library $i ....
frmcmp.sh userid=me/me@medb batch=no module=$i module_type=menu compile_all=yes window_state=minimize
done
for i in `ls *.fmb`
do
echo Compiling Library $i ....
frmcmp.sh userid=me/me@medb batch=no module=$i module_type=form compile_all=yes window_state=minimize
done -
How To Compile Forms 10g Devloped in Windows For Deployment In RHEL 5
can any budy give me script file for compiling forms 10g ,which i developed in windows and need to be deployed in RHEL 5
How To Compile Forms 10g Devloped in Windows For Deployment In RHEL 5
any budy plzzz helpWhy not ask over at the Forms forum?
Forms
This is the Oracle Designer forum -
Font mapping in Forms 10g on Unix/Linux
Hello,
does anybody have a adea how font mapping in forms 10g works on Unix/Linux.
As far as I know I do have to have a X-Server running on the node so that forms can mapp java fonts, is this true?
What configuration options do I have on the server.
Can I differ strictly between development tasks (consideration of developer) and admin tasks ([configuration]considerations of Application Server Admin) referring font mapping in forms 10g?
Is there any "Best Practices to this subject?
Thank you.
Regards
FrankHello Frank,
- fontmapping takes place in Registry.dat file?!
- According to your article "Forms: Using custom fonts in Oracle Forms Services 10g" I only have to customize fontmapping in Registry.dat file.
-Customer developes on MS-Client and uses Arial,but is surprised about displayed font, which is´nt Arial.
-Can I just customize font mapping in Registry.dat as follows (according your example)?
default.fontMap.appFontnames=x,y,Arial
default.fontMap.javaFontnames=u,v.Arial
What do we have to consider on client site?
What´s about java on client (JInitiator)?
Regards
Frank -
Hi list,
I have installed Forms and Reports Standalone 10g on AIX system.
My forms are developed on windows.
I can compile and test successfully my forms on AIX.
I would like to know if it is possible (and how) to compile forms with an other user than the oracle user where standalone is installed.
I have tested it with a user with dba group, but I always have the FRM-91500 error message (I don't know how to trace the compiling process).
Thanks for any reply.
Regards.
Didier QUIMERCHHi Craig,
from another source I got the following suggestion, which I am hoping to try out in the test environment ASAP:
AIXTHREAD_SCOPE=S The default value for this variable is P, which signifies process-wide contention scope (M:N). For Java applications, you should set this value to S, which signifies system-wide contention scope (1:1).
AIXTHREAD_MUTEX_DEBUG=OFF Maintains a list of active mutexes for use by the debugger.
AIXTHERAD_COND_DEBUG=OFF Maintains a list of condition variables for use by the debugger.
AIXTHREAD_RWLOCK_DEBUG=OFF Maintains a list of active mutual exclusion locks, condition variables, and read-write locks for use by the debugger. When a lock is initialized, it is added to the list if it is not there already. This list is implemented as a linked list, so searching it to determine if a lock is present or not has a performance implication when the list gets large. The problem is compounded by the fact that the list is protected by a lock, which is held for the duration of the search operation. Other calls to the pthread_mutex_init() subroutine must wait while the search is completed. For optimal performance, you should set the value of this thread-debug option to OFF. Their default is ON.
SPINLOOPTIME=500 Number of times that a process can spin on a busy lock before blocking. This value is set to 40 by default. If the tprof command output indicates high CPU usage for the check_lock routine, and if locks are usually available within a short amount of time, you should increase the spin time by setting the value to 500 or higher.
Cheers,
Morten -
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 -
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 -
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. -
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 -
Forms 10g compile : syntax error near unexpected token `in
Hi,
I am writing a code to compile FORMS 10g(10.1.2.0.2) in HP_UX one by one.
this is the code---frm10g.sh
*#!/bin/ksh*
*# . ~oracle/forms/server/default.env*
*# . sid icache*
TERM=vt220
*if [ $# != 2 ]*
then
echo Usage : $0 module_name module_type
exit 1
fi
case $2 in
FORM|form|F|f) ext1='fmb' ;ext='fmx' ; modtyp='FORM' ;;
PLL|pll|p|lib|LIB) ext1='pll' ;ext='plx' ; modtyp='LIBRARY' ;;
MENU|menu|M|m) ext1='mmb' ;ext='mmx' ; modtyp='MENU' ;;
**) echo invalid parameter ; exit 1 ;*
esac
echo Generating $1.$ext
frmcmp module=$1.$ext1 userid=abc/abc@abc output_file=../$1.$ext module_type=$modtyp batch=NO compile_all=special > ./log/$1.log
when I try to excute above file frm10g.sh in command line i get following error. Please let me know how to fix it.
[abc]u01/app/oracle/product/10.1.2/forms/forms/Forms10g:. frm10g.sh INV FORM
: command not found
: command not found
'bash: ./frm10g.sh: line 13: syntax error near unexpected token `in
'bash: ./frm10g.sh: line 13: `case $2 in
I really aapreciate your help.
Thanks
SandySandy,
I must apologize. The Compile.sh does not come with the Oracle Dev Suite installation. However, the following is the contents of the compile.sh script we use. This script compiles a single form.
#!/usr/bin/ksh
ORACLE_HOME=/d01/oracle/ias1012;export ORACLE_HOME
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/lib32:$ORACLE_HOME/ctx/lib:/usr/java1.2/jre/lib/sparc:$ORACLE_HOME/jdk/jre/lib/sparc:/usr/lib:/usr/dt/lib:/usr/openwin/lib:/usr/ucblib:usr/ccs/lib; export LD_LIBRARY_PATH
MODULE_NAME=`echo $1|cut -d. -f1`
MODULE_SUFFIX=`echo $1|cut -d. -f2`
MODULE_MESG=${2:-"Compiling $1"}
OK_MESG=${3:-" Compiled sucessfully"}
. .setpass_cir
APP_PW='cir/'`eimauth -g cir`'@database'
echo "************************************************************************* "
echo ${MODULE_MESG}
frmcmp.sh module=/d01/oracle/forms/${MODULE_NAME}.fmb userid=${APP_PW} compile_all=yes batch=yes
RC=$?
case "$RC" in
0)
echo ${OK_MESG}
echo "Compile errors, return code: $RC "
cat ${MODULE_NAME}.err
echo "Compile errors in $1, press [enter] to continue.\c"
read x
esac
eval exit $RCYou should be able to modify this to suit your needs.
Craig... -
How to compile forms 6i in Linux
Hi Friends,
In windows I just open a form buider gui and click compile.
how do I compile forms in linux?
Thanks a lothi
try the following command.
@ECHO OFF
cls
Echo compiling libraries 10g ....
for %%f IN (*.pll) do frmcmp.sh 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.sh 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.sh 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 completei hope it will help u.
sarah -
Compile forms and reports in linux os
hi,
i like to know how to compile forms and reports in linux os?
please provide me the commands for compiling of forms and reports.
Regards
Ravikumar.Ahi
i do not know u r form version but the following command is for Forms [32 Bit] Version 10.1.2.0.2 (Production)
try this.
@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 completefor linux i think its frmcmp.sh just make changes here.
sarah -
Compile .fmb file in UNIX with forms 10g
HI,
Can someone help me in compiling a .fmb file in UNIX? I have created this .fmb file in Forms 10g.I have Oracle Applications in the Front end. I am unable to figure out the commands to compile the form which generates a .fmx file.
I have placed the .fmb file in the UNIX directory. As Forms6i has f60gen....and 9i has f90gen...I want to know the code that I must execute in the command prompt of the UNIX server. I am a fresher to this. So please explain in as detail as you can.
Thanks
Devif the previous doesn't help
just put something like this :
find where the frmcmp.sh is located an put the fully qualified path there
make also sure you execute it with the right user! (normally oracle)
I don't know if I already mentioned it bu be aware that you need to have an Xdisplay if your working with frmcmp.sh .
There is a batch command to I believe that doesn't need the Xdisplay
Remember you can use any display of any machine
If you set your display to another hosts screen, type xclock on your prompt and the clock should appear on the others screen.
If you don't know how to look for the command ....
If it is in your PATH -->" type frmcmp.sh " will give you the directory
If not go to <oracle_home> eg /opt/oracle -- > " find . -name frmcmp.sh "
Erwin -
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
Maybe you are looking for
-
SYSTEM CRASH with 'Save As PDF' in Safari
Since installing 10.6.4 my MacBook crashes whenever I attempt to "Save as PDF" in Safari. I am unable to force quit Safari or use any other application as the spinning beachball of death works its magic. I removed Safari 5 and replaced it with Safari
-
Serial numbers in oracle forms 6i
Dear all, I have developed a form that display list of items. I would like the items to appear with numbers, serial numbers that increment by 1. How to achieve that in forms 6i. Note that i would like to generate the numbers when a form runs. Kind re
-
Hi, Is password sync'd to OID when LDAP Sync is configured? If no, I am using OID 11.1.1.6 how can migrate the password with out having to install Connector Server? Thanks.
-
Sales, Deliveries, Invoices and COPA
Hi Gurus, I am trying to see the best option possible for the following scenario. Currently I need to create a report using COPA (Costing based Planning data), Sales order data, Delivery data and Invoice data. The COPA is extracted to a separate cube
-
I have Adobe PSE 8 on our laptop with Windows 7 but we got a new laptop with Windows 8 and my software won't load on the new laptop. I'm wondering if I am doing something wrong or if it isn't compatible. I don't mind upgrading to Adobe PSE 13 but a