home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / database / informix / 1791 < prev    next >
Encoding:
Internet Message Format  |  1992-08-25  |  3.5 KB

  1. Path: sparky!uunet!europa.asd.contel.com!emory!saad-emh1.ARMY.MIL
  2. From: maint72@saad-emh1.ARMY.MIL (Michael Gordon)
  3. Newsgroups: comp.databases.informix
  4. Subject: SQL Ace Report Writer.
  5. Message-ID: <9399@emory.mathcs.emory.edu>
  6. Date: 26 Aug 92 00:58:02 GMT
  7. Sender: walt@mathcs.emory.edu
  8. Reply-To: maint72@saad-emh1.ARMY.MIL (Michael Gordon)
  9. Lines: 88
  10. X-Informix-List-ID: <list.1402>
  11.  
  12. Thank you all for your interest and suggestions.  The following
  13. may help clear up some problem areas in understanding what I
  14. asked in the first place.
  15.  
  16. But, first you should understand that I believe the Informix SQL
  17. v. 2.10.06 for MS-DOS will not support Ace Reports being sent to
  18. MD-DOS system programs.  Some of my local Informix programmers
  19. have so informed me yesterday, however, if anyone has created a
  20. method or work-around I would like to see it.
  21.  
  22.  
  23. In article <9381@emory.mathcs.emory.edu>
  24. maint72@saad-emh1.ARMY.MIL (Michael Gordon) writes:
  25. >Good Morning!
  26. >I have discovered a problem with Informix SQL v 2.10 Ace
  27. Report Writer.
  28. >
  29. >The problem is with Ace on the PC, in the OUTPUT block of the
  30. source code
  31. >the REPORT TO instruction works well in sending the formated
  32. text/data to
  33. >a "file" or to the PRINTER.  However, the reference manual
  34. states that a
  35. >key word "PROGRAM" will send the output to a SYSTEM COMMAND. 
  36. This should
  37. >work like the Unix " REPORT TO PIPE 'cat >
  38. /usr2/login/subdirectory/filename".
  39. >
  40. >THE PROGRAM KEY WORD DOSE NOT WORK AT ALL, NOT IN ANY
  41. CONFIGURATION I CAN
  42. >COME UP WITH.
  43. I've *never* heard of a PROGRAM keyword.  I just re-checked
  44. the doc (2.10.06)
  45. and it says that "filename" or PRINTER are the only options. 
  46. Is this Informix
  47. documentation that you are looking at, or some third-party
  48. doc?
  49. >Has anyone on the Net tried to use this PROGRAM keyword to
  50. successfully sen
  51. >the output of a report to a MS-DOS system command, .exe,
  52. .com, .bat?
  53. I don't think such a thing has ever been supported.  Best bet
  54. is to write to
  55. a file and then use the file as redirected input to the
  56. <PROGRAM>.
  57. >Thanks for even reading this.
  58. >       Michael S. Gordon
  59. >       Foreman, Gyroscope Section
  60. >       Avionics Division 
  61. --
  62. Alan Denney      aland@informix.com     
  63. {pyramid|uunet}!infmx!aland
  64. I'm Pro-Anarchy...   and I Vote!
  65.  
  66. Alan,
  67.  
  68. This PROGRAM key word is directly out of the Informix SQL v.
  69. 2.10.06 for MS-DOS, page 5-29.  To quote the line beneth the
  70. heading "PRINTER"; 'program    is the name of a system
  71. command'.
  72.  
  73. Dose this not read as if 'program' means a DOS System Command?
  74.  
  75. If "PRINTER" will sent the report output to the system
  76. printer, why won't other system commands work as well?
  77.  
  78. I really don't expect a lot of positive answers from this
  79. message, because I know MS-DOS dose not work like Unix.  But,
  80. thanks for trying.
  81.  
  82.  
  83.  
  84.  
  85.  
  86.                     Michael S. Gordon
  87.                     Foreman, Gyroscope Section
  88.                     Avionics Division 
  89.  
  90.  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  91.  *                                                                           *
  92.  *  Michael Gordon                           Sacramento Army Depot           *
  93.  *  Foreman, Gyroscope Section               Directorate For Maintenance     *
  94.  *  E-Mail: maint72@saad-emh1.army.mil       Attn: SDSSA-MAV-320             *
  95.  *  DSN:    839-2367                         Michael S. Gordon               *
  96.  *  Comm.:  (916) 388-2367                   Sacramento, CA 96813-5036       *
  97.  *                                                                           *
  98.  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  99.  
  100.