× 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.



On 9/12/2011 9:55 AM, David Gibbs wrote:
On 9/12/2011 9:52 AM, Joe Pluta wrote:
most of the time these days I have two parameters: a control data
structure and a data data structure (not to be redundant about it).
Same here. :)

In complex environments I might have two data data structures (for
header and detail information).
For header / detail situations, I send the header data via a parameter structure and the detail via data queue ... the detail structure is defined as an external data structure (which java uses via RFML) so both the RPG and Java structures are always the same.

david


It depends on how I'm doing the impedance matching. If I send or receive all the detail at once, a data queue is nice. I have other situations where I send/receive the detail one record at a time (first I send the header, then each detail). In that case, I use two data DS's, but the control DS tells me which one actually has data. It isn't perfect, but it avoids an extra queue. Of course, the additional queue could be either a feature or a bug depending on your design requirements.

Joe

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.