× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



qualified means that you refer to subfields using the data structure
name as well as the subfield name.  so you refer to
"trigbuf.oldRcdOffset" instead of just "oldRcdOffset"

based means that it's based on a pointer, in this case a pointer
named "dummy".  Barbara did this because she had a "trigBufType" data
structure and a "trigBuf" data structure, and she didn't want to
reserve memory for the "trigBufType".  (It's just there to use as a "type
definition", not to put data into)


On Wed, 20 Feb 2002, Smith, Nelson wrote:
>
>       Cool....what's qualified based(dummy)
>
>
> > In V5R1, you could declare the parameter as a data structure
> > directly:
> >
> > D trigBufType   ds           qualified based(dummy)
> > D   subfields ...
> >
> > D trigpgm       pi
> > D   trigBuf                  likeds(trigBufType)
> > D   triglen           10i 0  const
> >
> > c          eval      pInRecord = %addr(trigbuf)
> > c                              + trigbuf.oldRcdOffset
> > c          eval      pOutRecord = %addr(trigbuf)
> > c                               + trigbuf.newRcdOffset



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.