|
Hi Carel! Thanks for the reply. My responses inline:
On 12/13/05, Carel Teijgeler <coteijgeler@xxxxxxxxx> wrote:
>
> First of all, an eror in your code:
> > Sel_Mbrs( x ) = pMbrs_a( x ) ;
> won't work, as Sel_Mbrs is not defined as an array; those are subfields of
> the Sel_Mbrs_ds.
Actually, the Sel_Mbrs is defined as an array, see the last spec on the DS.
I would prototype the call to the subprocedure with CONST, as you do not
> change the values of the parms.
Tried this and got the same results.
Can you not change it into an ELEM type parm? Then you can use pointer
> arithmic to process each entry group of the parm
>
No, they are not related in the fashion you are thinking.
Still searching through archives, and I saw the reference made in the "Who
Knew" redbook. I found the section "3.5.2 Replacing the *ENTRY PLIST", but
I'm not comprehending. The example snippet on page 45 shows a prototype
with ExtPgm('MAINMOD'), but I'm not catching how MAINMOD is defined. Is it
the name of the program object in which the main module resides? <confusion
reigns> I tried this, and the compiler puked at the Begin Procedure spec:
"RNF1505: A procedure cannot be defined when the prototype specifies
EXTPROC(variable) or EXTPGM."
Still searching...
TIA,
Dan
This mailing list archive is Copyright 1997-2026 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.