Re: [Info-Ingres] ODBC trace



On/El 02/07/09 17:01, Paul White wrote/escribió:
Hi all,

There doesn't seem to be a simple way to trace the ODBC calls from the
client side.

I'm trying to track down a problem in a crystal report with a date
parameter.
It started occurring after updating the client to OpenROAD 2006. Ingres Net
is 2006.
The developer has received an ODBC only patch from Ingres Support but it
hasn't solved the problem.
The date parameters are entered dd/mm/yyyy. An Ingres ODBC error is returned
something like YYYY is not a valid month.

Is server side tracing still the recommended approach?
I read trace point sc902 and printqry could be used.
Paul,

To see what's going across the wire you can use OpenAPI and GCA tracing:
II_API_TRACE=5
II_GCA_TRACE=5
II_API_LOG=c:\api.log

This will need to be set in the environment before the application starts. I am not sure the service side tracing will work as I guess the "invalid" data is being rejected by the Ingres client. I am a bit confused as to how the YYYY component can end up in the month position unless there is a funky locale being used?

g


--
Grant Croker - Ingres PHP and Ruby maintainer
http://blogs.planetingres.org/grant
Generally, old media don't die. They just have to grow old gracefully.
Guess what, we still have stone masons. They haven't been the primary
purveyors of the written word for a while now of course, but they still
have a role because you wouldn't want a TV screen on your headstone.


.



Relevant Pages

  • [Info-ingres] RES: [Info-ingres] Win9x <-> IngresR3/WinXP
    ... > You should be able to connect from Ingres II client to Ingres R3 servers. ... workstation for an ODBC driver and pay US$ 0,00 for the full featured RDBMS ...
    (comp.databases.ingres)
  • [Info-Ingres] ODBC trace
    ... It started occurring after updating the client to OpenROAD 2006. ... The developer has received an ODBC only patch from Ingres Support but it ... I read trace point sc902 and printqry could be used. ...
    (comp.databases.ingres)
  • Re: Performance problems with ancient 6.4-era Ingres/Net?
    ... Although the client side is using the FTP TCP interface, ... so the Ingres 9.2 Windows server can still talk to ... it (or any other Ingres client communicating over TCP/IP) using the more ... the corresponding trace entry to apply ...
    (comp.databases.ingres)
  • [Info-Ingres] ODBC still requires Ingres/NET?
    ... I haven't really messed with Ingres and ODBC ... require Ingres/NET be installed on the client? ... Mike Leo ...
    (comp.databases.ingres)
  • Re: [Info-Ingres] Friday fun. Strange Date field group by behaviour
    ... I've been working with Ingres support on an interesting problem this ... The client is ... running mainly OpenROAD 4.1sp2 and Ingres Net 2.5. ... in 23-apr-2001 by the fix for bug 104518. ...
    (comp.databases.ingres)