|
Thanks for the correction Barbara. But, I'm not sure I see the point....was this added before the LIKEREC keyword? Charles Wilt iSeries Systems Administrator / Developer Mitsubishi Electric Automotive America ph: 513-573-4343 fax: 513-398-1121 > -----Original Message----- > From: rpg400-l-bounces+cwilt=meaa.mea.com@xxxxxxxxxxxx > [mailto:rpg400-l-bounces+cwilt=meaa.mea.com@xxxxxxxxxxxx]On Behalf Of > Barbara Morris > Sent: Wednesday, January 26, 2005 1:57 PM > To: rpg400-l@xxxxxxxxxxxx > Subject: Re: "Compilation stopped. Internal failure occurred. Error > Codeis1." > > > "Wilt, Charles" wrote: > > > > I think you confused the compiler by having the prefix(PT.) > on the file and a qualified DS named PT. > > > > The results of having PREFIX(PT.) and a qualified DS named > PT is you have two variables named PT.PAGE. One in the file, > one in the DS. > > > > There's no confusion. PREFIX('PT.') is supported on F specs, to allow > you to have your file use the subfields of a qualified data > structure. > Your file fields and your D spec fields aren't separate; the I-specs > (program described or compiler-generated) just say to move the buffer > contents to the named field. (The compiler _will_ generate a > definition > from the I spec, but only if the field isn't already defined in D > specs.) > > -- > This is the RPG programming on the AS400 / iSeries (RPG400-L) > mailing list > To post a message email: RPG400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. > >
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.