|
I thought that if I put it on an O spec that it would be the only field updated when I write out a record. I'll have to give it a try sometime and test the result. Thanks for the suggestion. Joe Giusto II Programmer/Analyst Ritz Camera Beltsville, MD 301-419-3209 x347 410-813-2812 x347 -----Original Message----- From: owner-rpg400-l@midrange.com [mailto:owner-rpg400-l@midrange.com] On Behalf Of McCallion, Martin Sent: Friday, July 20, 2001 6:41 AM To: 'RPG400-L@midrange.com' Subject: RE: Can I Rename A Field For An Output File? > I am trying to rename a field on a file that is output only. I tried: > > 0011.00 FWHPCPD O E DISK > 0013.00 IWHFCPD > 0014.00 I LOCAT LOCAT5 > Well, you're trying to use I-specs on a file that's defined as _output only_. Do you see the inherent flaw in this? :-) Try using O-specs instead (I _think_ you can do this, but I haven't had to do anything like it in a while, so I may be mistaken). Cheers, Martin. +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.