Re: Variable for Filename ISQL
Posted in 1994
Topics: General Discussion
In article <1994Jun1.091553.13156@duquesne.ie>, Alastair J. Small <asmall2@duquesne.ie> wrote: > [...] > >I've tried using REPORT TO $variable and > REPORT TO variable > >and even have variable containing the quotes. Is there an easy way to do this, >and if so please let me know, Thanks for any help, 'REPORT TO $variable' doesn't work, sadly. ACE only recognizes a quoted (constant) string as the report output file. There are other options, though (at least under my Informix OnLine 5.02). You could try 'REPORT TO PIPE "dist_report"', where dist_report is a program that figures out the correct file name, opens it, and writes the output into it. ACE would not provide any parameters for the invocation of dist_report, so you would have to figure out the correct file name some other way (environment variables, maybe). Hope this helps. ...gwr... -- George Rapp Mail: gwr@metronet.com (home, preferred) - gwr@edsr.eds.com (work) or: /DD.ID=MSMWHQ01.GRAPP01/@eds.diamondnet.sprint.com (work) Phone: 214/604-1036 (voice - work) 214/604-1126 (fax)