|
On Wed, 2004-11-17 at 21:40, D.W. Palme wrote: > I have a program that I am trying to write and I have made some progress > with this, but now I have run into something of which I am not sure how > to handle. > > I have an F spec for a file as an INPUT file....so I can read some > records from it. When I try to define it as an Output file the compiler > burps and throws a fit LOL You don't say which RPG you are using, but there is an 'Addition' flag field: FMT F FFilename++IPEASFRlen+LKlen+AIDevice+.Keywords 0001.00 Ffoo if a e disk See the 'a' between the 'if' and 'e'? This F spec can interpreted as: Allow access to the disk file named foo, an externally described file, opened as input, full procedural, with add support. -- Regards, Rich Current Conditions in Des Moines, IA Overcast Temp 60.8F Winds out of the South at 6mph Moderate Mist
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.