Re: ORATCL help needed!
- From: "thelfter@xxxxxxxxx" <thelfter@xxxxxxxxx>
- Date: Fri, 08 Jun 2007 14:48:05 -0000
On Jun 6, 9:28 am, mets <tony_mett...@xxxxxxxxxxx> wrote:
On 6 Jun, 13:27, "thelf...@xxxxxxxxx" <thelf...@xxxxxxxxx> wrote:
On Jun 1, 9:24 am, mets <tony_mett...@xxxxxxxxxxx> wrote:
Hi,
I have re-invigorated my interest in TCL + extensions after a 5 year
absence. I have rewritten some old HPUX apps to run on Windows 2000,
Tcl8.4 using Oratcl 4.4 / 3.3
Problem1:
I am unable to use Oratcl 4.4 because it reports a nasty application
error (NOT a TCL error) during the command 'oralogon'. Now I assume
this is because I am trying to use it with the OCI 8.0 client
libs ???
Problem 2:
I am able to use Oratcl 3.3 but it reports ORA-01007 "variable not in
select list" whenever I change the sql select string and use the SAME
cursor variable. For example:
# open the channel
set cursor [ oraopen $handle ]
orasql $cursor "select COL1 from TABLE where SOMETHING"
# This executes as expected.
orasql $cursor "select COL1,COL2 from TABLE where SOMETHING"
returns the error ORA-01007
I notice the ONLY way to get multiple select statements to work is by
repeatedly closing the cursor and then opening the cursor. It seems as
if the previous SQL statement is not cleared from the cursor internal
state???
any help?????
Wow, An Oratcl 3.3. help request. Sorry but thats the first one of
those I've gotten in over 5 years.
First of all. There is no way that any Oratcl 4.x will ever work with
OCI 8.0 libs. It is coded with the the OCI layer released with Oracle
8i.
Second.. I remember this, there were several bugs in the OCI 8.0
versions that affected Oratcl.
Third.. Re-using statement handles has been part of Oratcl for many
many years. I do it all the time.
Why OCI 8.0?
Oracle instant client is available for many many platforms, have you
tried any of those?
Is the destination database also 8.0?
Did you compile Oratcl 3.3 for yourself.
Is your Oracle client 8.0 patched with all the patches available from
oracle?
What OS and Tcl version are you using?
-Todd- Hide quoted text -
- Show quoted text -
BACKGROUND:
Our production process is using Oracle 7.3.4 ! As you can image it is
due an upgrade. I believe we will move to 10g.
I loved working with TCL/Oratcl all those years ago and after slogging
to write a couple of forms with C++ and MFC thought
why not look at TCL again. So I began the development with ActivetTcl
8.4 and stuff.
I guess ultimately I need to install the 10g Client. I want to be able
to wrap the files up and distribute them. I have a trial license on
the TclDevKit application. (tho I am not sure if the Oratcl3.3 is
stubs enabled or not?)
Will the 10g client allow me to connect to 7.3.4 server? It may be
easier to migrate to Oratcl4.4 in the meantime!
FYI .....
I am using a precompiled binary of Oratcl 3.3 I think I got it from
sourceforge?
Oracle8 Client 8.0.4.0.0
Windows2000 Service Pack 4
many thanks
Tony
Hi Tony,
I do not believe that the 10g instant client will connect to a pre 8i
instance. I believe that your only option at this point it to code
around the error by not re-using statement handles. ( a performance
hit ).
As there is no way at this point to get patches from oracle on a db/
client that old, I think thats a dead end.
I firmly believe that this is an Oracle library error, not oratcl.
I re-used cursor handles in oratcl 3.3 for years (back when I used
it).
-Todd
.
- References:
- ORATCL help needed!
- From: mets
- Re: ORATCL help needed!
- From: thelfter@xxxxxxxxx
- Re: ORATCL help needed!
- From: mets
- ORATCL help needed!
- Prev by Date: Re: How to check a string whether it is in dictionary
- Next by Date: Re: Help Display for proc
- Previous by thread: Re: ORATCL help needed!
- Next by thread: Give "curved corners" to entry widget
- Index(es):
Relevant Pages
|