Re: writing to a flat ASCII file
Posted in 1995
sg@ivu-berlin.de (Stefan Gutsche) wrote: >how do I write in a flat ASCII file with a 4GL-report. >There is a chapter (4.1.2) in the INFORMIX-FAQ; but it >doesn't work. We are using INFORMIX-4GL V4.11 with ONLINE. Stefan, If you want to write output to a flat file, you START REPORT TO "/usr/stefan/flat_file" and carry on as normal. You can also use a CHAR() variable (say flat_file_name CHAR(40)) to build up the flat file name and/or path and then START REPORT TO flat_file_name If you want to append to the end of an existing flat file, you would START REPORT TO PIPE "cat >> /usr/stefan/flat_file" Hope this helps! -- Cheers, Billy ----------------------------------------------------------------------------- INCLUDE "Disclaimer.4gh" -- my opinions are INCLUDE "FlamesToDevNull.4gh" -- flamers, eat my shorts! INCLUDE "CaveatEmptor.4gh" -- take my advice at your own risk INCLUDE "ThirtySomething.4gh" -- header file for this class -- Written by : Billy Wheeler, Date: today -- Copyright (c) 1995, The West Solutions Group