Use a stream, declare it in the "declaration section"
Jose C Gomez
Software Engineer
T: 904.469.1524 mobile
Quis custodiet ipsos custodes?
On Tue, Jun 14, 2016 at 10:59 AM, ckrusen1@... [vantage] <vantage@yahoogroups.com> wrote:Â<div> <p></p><p><span>Is there a better way to write to a file in 4GL than :</span></p><p><span><br></span></p><p><span>OUTPUT TO testfile.txt.</span></p><p><span>PUT UNFORMATTED txtBody.</span></p><p><span></span></p><p><span>OUTPUT CLOSE.</span></p><p><span><br></span></p><p>It appears that you cannot create a stream within a procedure.  </p><p><br></p><p>Do I run the risk of anything that is output by the OE engine (like log file entries) ending up in my file ("testfile.txt") ??</p><p><br></p><p>Calvin </p><p></p> </div> <div style="color:#fff;min-height:0;"></div>