|
Sorry about the late responce. Was on a little vacation. I have the two 'lot' fields in a externally defined file. I want to have the combined when I chain to the file. William.. -----Original Message----- From: rpg400-l-bounces+wjmoore=calfinewire.com@xxxxxxxxxxxx [mailto:rpg400-l-bounces+wjmoore=calfinewire.com@xxxxxxxxxxxx]On Behalf Of Booth Martin Sent: Friday, June 23, 2006 3:06 PM To: RPG programming on the AS400 / iSeries Subject: Re: Defining two fields as one. Are you externally defining the files, too? Otherwise, just ignore/delete the first two definitions since they are not used. Willie J. Moore wrote:
I am converting some old RPG programs with internally defined files to RPGIV. What I have run across is two fields defined as one in the old RPG program. Ex: 1 5 lot1 6 10 lot2 1 10 lotall Then lotall is used though out the program. I know that I can do this with DS (Data Structures). Chain to file then move fields in the DS. But that seams like a lot of work and extra programming. I would like to know if there is an easier way to do this that would not require the use of the DS. I would prefer that whenever a chain/read is done on file that lotall is build and ready. Thanks in advance for the help, William Moore Cal Fine Wire
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.