|
Bob, How do you gain the ability to use qualified names with this technique? Your myAPIErrorDS structure is a LIKEDS of QUSEC_T which is itself a LIKEDS of QUSEC. If QUSEC isn't qualified (unless you've changed the QSYSINC copybook), then neither is QUSEC_T, so neither is myAPIErrorDS... That's what I'm confused about. I'm not sure why you didn't simply explicitly define the QUSEC_T structure with subfields - what do you gain by making it a LIKEDS of IBM's QUSEC? Rory On 8/8/06, Robert Cozzi <cozzi@xxxxxxxxx> wrote:
Rory, My goal was to avoid multiple /COPY's of QUSEC. IBM's members do not have compiler directives that avoid duplication if they are copied in more than once. What I did was create a new structure using QUSEC. That new structure QUSEC_T is a template that I will then use in my own code instead of QUSEC via the LIKEDS keyword. I don't know why you think I loose qualified names using this technique, I actually gain the ability to use qualified names through this technique. -Bob
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.