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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Suggested Solutions

I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
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.
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
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…

752 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