|
"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.)
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.