Solved

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

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

/u01/oracle/product/10.1.2/mid/bin $ ls frm*
frmbld frmbld.sh frmcmp frmcmp.sh frmcmp_batch frmcmp_batch.sh frmf2xml.sh frmplsqlconv.sh frmweb frmxml2f.sh frmxmlsg.sh frmxmlv.sh
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 frmbld.sh
-rwxr-xr-x 1 oracle dba 6662168 Oct 1 12:45 frmcmp
-rwxr-xr-x 1 oracle dba 2432 Oct 1 12:45 frmcmp.sh
-rwxr-xr-x 1 oracle dba 7850456 Oct 1 12:45 frmcmp_batch
-rwxr-xr-x 1 oracle dba 2408 Oct 1 12:45 frmcmp_batch.sh
-rwxr-xr-x 1 oracle dba 2425 Oct 4 15:44 frmf2xml.sh
-rwxr-xr-x 1 oracle dba 3312 Oct 1 12:45 frmplsqlconv.sh
-rwxr-xr-x 1 oracle dba 37822076 Oct 1 12:44 frmweb
-rwxr-xr-x 1 oracle dba 2420 Oct 4 15:44 frmxml2f.sh
-rwxr-xr-x 1 oracle dba 2383 Oct 4 15:44 frmxmlsg.sh
-rwxr-xr-x 1 oracle dba 2340 Oct 4 15:44 frmxmlv.sh
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 $ frmcmp.sh
ksh: frmcmp.sh: not found
sp147s@ /u01/oracle/product/10.1.2/mid/bin $ sh frmcmp.sh
frmcmp.sh: /u01/oracle/product/10.1.2/infra/bin/frmcmp: not found
0
Comment
Question by:spsun
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 73

Expert Comment

by:sdstuber
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?

0
 

Author Comment

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

Expert Comment

by:sdstuber
ID: 20424307
to see it...

echo $PATH

to set it...

set PATH=$PATH:/u01/oracle/product/10.1.2/mid/bin
export $PATH
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

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

Accepted Solution

by:
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
0
 
LVL 13

Expert Comment

by:sonicefu
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
0
 
LVL 13

Assisted Solution

by:sonicefu
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
PATH=$PATH:/u01/oracle/product/10.1.2/mid/bin
export $PATH
0
 
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.

Thanks
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
This video shows how to recover a database from a user managed backup

777 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