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



Hi

I admit I'm having a little trouble coming to terms with exactly what
your situation really is but (echoing other comments) it sounds to me
like a case of over-thinking something instead of re-thinking it.

Instead of submitting the job consider sending the second part of the
request to a dataq and use a server job to respond to the part that is
'too long to wait for".

You can then assign a priority in the job queuing the request, and/or
run additional servers and/or tune the server jobs as required. A
server job will also be far more efficient in terms of system
resources.

Either that or use the existing job description/job queue resources
better rather than taking what appears to be on the surface of it some
kind of brute force approach to job management.

On Thu, Oct 21, 2010 at 2:57 AM, Needles,Stephen J
<SNEEDLES@xxxxxxxxxxxxx> wrote:
Thanks Charles.  I'll look at Scott's Spawn (there is a joke in here somewhere :-) ), but I like your comment on using a DS.  I'll look into that.

The goal is to tune SBMJOB and CHGJOB parameters by Program to dynamically change the execution environment of Program_B throughout the day, without affecting other processes, and without having to change code at each "tune-up".

Program_A performs tasks that will take less than .15 seconds, but it submits the longer running portion to batch to keep the response time low.  So there may be many different Program_A's.

Program_B is the longer running process that is expected to be completed somewhere further down the transaction's process, but takes too long to wait for.

Program_X contains logic to retrieve data from a table that describes the SBMJOB parameters to use when executing Program_B.  It is the Submitter and is always called from whatever is representing Program_A at the time.

Program_Y contains more logic to use in a CHGJOB command to further describe the execution environment of Program_B.  Program_B is then executed from this program using the call string originally provided by Program_A.  This is the Executor.

I hope this makes the roles of each Program easier to understand.

-----Original Message-----

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.