Solved

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

Posted on 2007-12-06
8
5,882 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 74

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 74

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 74

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

Suggested Solutions

Title # Comments Views Activity
Queries 15 48
Oracle Insert not working 10 32
Oracle TRC and TRM files are taking too much space at Oracle client computer. 5 27
Help with Oracle IF statment 5 27
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
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.  â€¦
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

821 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