home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / database / ingres / 1951 < prev    next >
Encoding:
Text File  |  1992-11-20  |  1.9 KB  |  44 lines

  1. Newsgroups: comp.databases.ingres
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!destroyer!ncar!uchinews!gsbacd.uchicago.edu!cs_mj
  3. From: cs_mj@gsbacd.uchicago.edu (Mark Jaeger)
  4. Subject: Re: Passing a WHERE clause to Report Writer
  5. Message-ID: <1992Nov20.151129.1@gsbacd.uchicago.edu>
  6. Lines: 32
  7. Sender: news@uchinews.uchicago.edu (News System)
  8. Organization:     
  9. References: <1992Nov20.021456.903@csc.canberra.edu.au>
  10. Date: Fri, 20 Nov 1992 21:11:29 GMT
  11.  
  12. In article <1992Nov20.021456.903@csc.canberra.edu.au>,
  13. mmr@asgserver.canberra.edu.au (Micheal Rainford-Watson) writes:
  14. > I'm trying to pass a where clause to report writer to establish a
  15. > sort of flexible labels program.
  16. > ...
  17. > Platform is Ingres SunOS Version 6.3/01 (su4.u42/01)
  18.  
  19. It seems like getting all the quotes right when using the report writer
  20. with UNIX is a complete and total nightmare.  By the time you've
  21. expressed enough redundant ones to satisfy 4GL, you're only left with
  22. enough for the shell to strip off and turn into hash.  It seems to me
  23. that other people in this conference have wrestled with the same
  24. problem, but I have yet to see the definitive solution.
  25.  
  26. I have but two suggestions.  Add this line to your report writer program:
  27.  
  28.         .SETUP set printqry ;
  29.  
  30. Then at least you can see what RW is getting.
  31.  
  32. Also, try getting the shell to echo what it's doing.  If you use the
  33. Bourne shell, invoke it with the "-vx" switch or add "set -vx"
  34. somewhere; if it's the cshell, use "set verbose; set echo" (maybe in
  35. your .cshrc file).  Then you may be able to see how the parameters are
  36. getting passed in to the report writer.
  37.  
  38. --Mark Jaeger                internet: cs_mj@gsbvax.uchicago.edu
  39. Graduate School of Business        yellnet:  (312) 702-0328
  40. University of Chicago            faxnet:   (312) 702-0233
  41. Disclaimer: My opinions are my own and not those of my employer.
  42. Ich bin ein Virus.  Mach' mit und kopiere mich in Deine .signature.
  43.  
  44.