Re: SQL Ace Report Writer.
Posted in 1992
In article <9381@emory.mathcs.emory.edu> maint72@saad-emh1.ARMY.MIL (Michael Gordon) writes: >Good Morning! >I have discovered a problem with Informix SQL v 2.10 Ace Report Writer. > >The problem is with Ace on the PC, in the OUTPUT block of the source code >the REPORT TO instruction works well in sending the formated text/data to >a "file" or to the PRINTER. However, the reference manual states that a >key word "PROGRAM" will send the output to a SYSTEM COMMAND. This should >work like the Unix " REPORT TO PIPE 'cat > /usr2/login/subdirectory/filename". > >THE PROGRAM KEY WORD DOSE NOT WORK AT ALL, NOT IN ANY CONFIGURATION I CAN >COME UP WITH. I've *never* heard of a PROGRAM keyword. I just re-checked the doc (2.10.06) and it says that "filename" or PRINTER are the only options. Is this Informix documentation that you are looking at, or some third-party doc? >Has anyone on the Net tried to use this PROGRAM keyword to successfully sen >the output of a report to a MS-DOS system command, .exe, .com, .bat? I don't think such a thing has ever been supported. Best bet is to write to a file and then use the file as redirected input to the <PROGRAM>. >Thanks for even reading this. > Michael S. Gordon > Foreman, Gyroscope Section > Avionics Division -- Alan Denney aland@informix.com {pyramid|uunet}!infmx!aland I'm Pro-Anarchy... and I Vote!