home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / database / informix / 1910 < prev    next >
Encoding:
Internet Message Format  |  1992-09-10  |  2.5 KB

  1. Path: sparky!uunet!caen!sdd.hp.com!nobody
  2. From: kurt@sdd.hp.com (Kurt Andersen)
  3. Newsgroups: comp.databases.informix
  4. Subject: Re: ESQL/C & $set explain on problem
  5. Followup-To: comp.databases.informix
  6. Date: 10 Sep 1992 11:06:36 -0700
  7. Organization: Hewlett Packard, San Diego Division
  8. Lines: 48
  9. Sender: Kurt Andersen <kurt@hpsdid.sdd.hp.com>
  10. Distribution: comp.databases.informix
  11. Message-ID: <18o2rcINNb7l@hpsdde.sdd.hp.com>
  12. References: <18npjvINN6ql@hpsdde.sdd.hp.com>
  13. NNTP-Posting-Host: hpsdde.sdd.hp.com
  14. Summary: do $set explain after $database
  15. Keywords: ESQL C select explain
  16.  
  17. Thanks to all who made suggestions.  For those who are curious on the net
  18. here's the original question and the answer(s).
  19. -----------------------------------------------
  20. > > 
  21. > > While I wait for Informix tech support to call me back, I thought that I
  22. > > would see if anyone on the net could help with this problem.
  23. > > 
  24. > > In an ESQL/C program (ESQL version 4.10.UD2) running on an HP 9000/380,
  25. > > I am trying to do a '$set explain on' to watch the execution of the select
  26. > > statements following throughout the program.  No errors come back, but I 
  27. > > don't get a 'sqexplain.out' file anywhere that I can find either.
  28. > > 
  29. > > Any suggestions?  BTW, the program is talking to a standard engine (version
  30. > > 5.00.UC2) on another machine through I-NET.
  31. * * *
  32. > Maybe you have your $database statement after the $set explain statement, if
  33. > so try it before.
  34.  
  35. That's the problem in my case since the program changes databases in the course
  36. of running and I was looking for the query information about the second db.
  37.  
  38. Also, per 2 suggestions I received, I found that Informix is writing the 
  39. sqexplain.out file to my home directory on the server.  IMHO, this is not
  40. a great idea since engine users are not required to have home directories 
  41. on the server, but maybe it is the least of many potential evils.
  42.  
  43. Thanks to all who responded to my question...I still have not been able to
  44. contact/received a call back from Informix tech support.  Now I don't need
  45. to.
  46.  
  47. Cheers,
  48.   Kurt Andersen
  49.  
  50. --
  51.                           kurt@hpsdid.sdd.hp.com
  52.                   619/592-4373 (voice); 619/592-8191 (FAX)
  53.              16399 W. Bernardo Dr. MS 61U65/San Diego, CA 92127
  54.  
  55. -----Standard disclaimer stuff applies for all of the standard reasons-----
  56. -- 
  57.                           kurt@hpsdid.sdd.hp.com
  58.                   619/592-4373 (voice); 619/592-8191 (FAX)
  59.              16399 W. Bernardo Dr. MS 61U65/San Diego, CA 92127
  60. -----Standard disclaimer stuff applies for all of the standard reasons-----
  61.