|
Not much information you give: 'a subroutine'? Maybe you open the ifs file with 're-write' each time? Henrik > Date: Mon, 28 Apr 2003 11:25:41 -0600 > From: Cyndi Bradberry <CYNDIB@xxxxxxxx> > Subject: Writing to IFS > > I am using the code examples in the Sorcerers Guide to create and write > records to a STMF in the IFS via RPG. In my program I am working thru a DB2 > file and if the record meets certain criteria, I call the subroutine to write > to the IFS. I have 5 records to be written, but only the last one is in the > file. Obviously I am overwriting. The code example looped thru an array to > write the records, is this what I have to do ?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.