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



HTTP servers implement a request-response cycle. After the IBM i Job is
submitted, and a response is returned to the HTTP client (the browser), the
only option to get the status of the submitted Job is via polling. You can
implement asynchronous polling. But I gather that you don't want to do
that. And I don't fault you for that.

Have you considered having the submitted Job send a Text or Email message
when it completes?



On Thu, Jul 26, 2018 at 1:45 AM, Maria Lucia Stoppa <mlstoppa@xxxxxxxxx>
wrote:

Hi all. I apologize if an answer to my question already exists but as the
search engine is still not working I couldn't find any post on this
subject. Also, I know very little about communications between iSeries and
external HTTP server.

The scenario consists of a web page run by an IIS HTTP server which makes a
call to a stored procedure on our iSeries; the stored procedure is an RPGLE
program which submits a job under QBATCH subsystem: having the job
submitted is an obliged option because it takes a lot for it to complete.

When the submitted job ends how can it inform or wake the web page to have
the web page do something else?

So far, I could only think of having the web page continuously pooling the
iSeries until a certain condition is reached, such as a certain row on a
table written by the submitted job before ending its execution, but I am
pretty sure this is a very usual need and it's my lack of knowledge about
how to approach this issue.

Please, can you suggest me how to address this question or where I can find
technical documentation on it?

Thank you very much in advance

Lucia

--

Maria Lucia Stoppa
mlstoppa@xxxxxxxxx
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD


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.