× 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 5/24/2012 7:09 AM, David Gibbs wrote:
On 5/24/2012 7:39 AM, Koester, Michael wrote:
Never tried this before: I have a sqlrpgle program running in batch
that needs to submit another program to batch and pass a data
structure to that new job. The original job executes in just a few
seconds, the new job executes calls to web services that take maybe
45 seconds each to return results, so I'm reluctant to burden the
original job with that kind of wait. I normally use a call to
QCMDEXC to launch (via sbmjob) such a job from RPG, but my question
is more about passing a data structure ( like I'd do in a prototyped
call ). Is a data queue required here?
A data queue would work, although it might be overkill. I would suggest you look at the *LDA for this.

That was my first thought as well. An alternative would be to pass the data structure as a single large parameter. The submitted job can redefine the parameter as an internal data structure with multiple elements.

The LDA approach strikes me as a little easier.

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.