unable to run frmcmp [oracle forms 10g] on solaris

Posted on 2007-12-06
Last Modified: 2013-12-18
Hello Forum members,
I am unable to run frmcmp on solaris.
Can you please advise me.

/u01/oracle/product/10.1.2/mid/bin $ ls frm*
frmbld frmcmp frmcmp_batch frmweb
sp147s@:/u01/oracle/product/10.1.2/mid/bin $ ls -al frm*
-rwxr-xr-x 1 oracle dba 6662716 Oct 4 15:43 frmbld
-rwxr-xr-x 1 oracle dba 4108 Oct 4 15:44
-rwxr-xr-x 1 oracle dba 6662168 Oct 1 12:45 frmcmp
-rwxr-xr-x 1 oracle dba 2432 Oct 1 12:45
-rwxr-xr-x 1 oracle dba 7850456 Oct 1 12:45 frmcmp_batch
-rwxr-xr-x 1 oracle dba 2408 Oct 1 12:45
-rwxr-xr-x 1 oracle dba 2425 Oct 4 15:44
-rwxr-xr-x 1 oracle dba 3312 Oct 1 12:45
-rwxr-xr-x 1 oracle dba 37822076 Oct 1 12:44 frmweb
-rwxr-xr-x 1 oracle dba 2420 Oct 4 15:44
-rwxr-xr-x 1 oracle dba 2383 Oct 4 15:44
-rwxr-xr-x 1 oracle dba 2340 Oct 4 15:44
sp147s@ /u01/oracle/product/10.1.2/mid/bin $ frmcmp
ksh: frmcmp: not found
sp147s@ /u01/oracle/product/10.1.2/mid/bin $ sh frmcmp
frmcmp: syntax error at line 1: `(' unexpected
sp147s@ /u01/oracle/product/10.1.2/mid/bin $
ksh: not found
sp147s@ /u01/oracle/product/10.1.2/mid/bin $ sh /u01/oracle/product/10.1.2/infra/bin/frmcmp: not found
Question by:spsun
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +1
LVL 74

Expert Comment

ID: 20424161
Is "/u01/oracle/product/10.1.2/mid/bin"   in your PATH?

or, if you're in that directory,  is "."  in your PATH?


Author Comment

ID: 20424249
Hello sdstuber,
I am in  u01/oracle/product/10.1.2/mid/bin folder.
How to look and change path??
LVL 74

Expert Comment

ID: 20424307
to see it...

echo $PATH

to set it...

set PATH=$PATH:/u01/oracle/product/10.1.2/mid/bin
export $PATH
Turn your laptop into a mobile console!

The CV211 Laptop USB Console Adapter provides a direct Laptop-to-Computer connection for fast and easy remote desktop access with no software to install.


Author Comment

ID: 20424372
Hello sdstuber,
will the above append to existing paths or removes them and adds?/
i am on production server
LVL 74

Accepted Solution

sdstuber earned 90 total points
ID: 20424854
the above will add to it

if you did

set PATH=/u01/oracle/product/10.1.2/mid/bin

it would replace it
LVL 13

Expert Comment

ID: 20425488
Try this
sp147s@ /u01/oracle/product/10.1.2/mid/bin $./frmcmp
instead of
sp147s@ /u01/oracle/product/10.1.2/mid/bin $ frmcmp
LVL 13

Assisted Solution

sonicefu earned 80 total points
ID: 20425531
one thing more, set PATH (as sdstuber is suggested very nicely), i suggest you to add the following in .profile file of the user
export $PATH
LVL 28

Assisted Solution

by:Naveen Kumar
Naveen Kumar earned 80 total points
ID: 20425685
after setting the path in your .profile, you can say

sp147s@which frmcmp

This will show from where frmcmp will get executed. i,e it will show which  frmcmp executable which it was able to locate using the value of $PATH variable.


Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Suggested Courses

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question