|
I have the below source. I'm trying to design a number of subproceduressubfile
that will be called in sequence, and checked off interactively in a
with the results of each call. Now, when I compile this with CRTBNDRPG,I
see in the compile listing that TLDS is 96 bytes. That indicates thatthe
procptr is consuming 31 bytes of storage when I expected 16. The compileThe
fails with RNF7303 - Subfield defined with keyword OVERLAY is too big.
subfield is TL_p. I can make the TLarr array 96 bytes, but I then geta
Binding errors without much explanation, so I'm not sure what's going on.
Can I use the extproc keyword on a local subprocedure? If not, is there
better way to do this?('POSTCV1Ca'))
D TLCnt C 1
Number of tests
D TLDS DS
D 65 inz('POSTCV1C - CIC(ICTYP)')
D * procptr INZ(%paddr
D($VldDta_p)
D TLarr 81 overlay(TLDS) dim(TLCnt)
D TL 65 overlay(TLarr)
D TL_p * procptr overlay(TLarr:*next)
D $VldDta_p S * procptr
D $VldDta PR like(RtnInd) extproc
D
D $POSTCV1Ca PR like(RtnInd)
$VldDta_p=TL_p(RRN01);
RtnInd=$VldDta();
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.