|
Here's a kludgy way to get the PCML struct for a data structure; itThank you very much!
might save some time. Copy in the include file from QSYSINC, and code the name of the data structure you want as an entry parameter. Then CRTRPGMOD PGMINFO(*PCML) INFOSTMF(whatever).
If it's one of those structures that uses soft-coded offsets for some of the subfields, you'd have to do some cleanup on the struct after the compiler generated it.
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.