× 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 17 Jan 2013 13:56, Jon Paris wrote:

On 2013-01-17, at 4:38 PM, rpg400-l-request@xxxxxxxxxxxx wrote:
The TYPE value for RTVJOBA returns '1' for INT jobs and '0' for
everything else, I believe. I can't think that any of the other
types could be an interactive job, under any meaningful definition
of the word 'interactive' as it applies to jobs on the i.

True - unless of course one thinks of a web app as interactive.
Which is a "meaningful" definition but admittedly not in the
conventional IBM meaning of "interactive".

I've yet to find an API that will tell me if I am running in a web
server job.


I expect most on this list probably already know what the difference between job-type INT versus any job-type other than INT, would mean to their RPG programs.

So... Suppose the answer is known, whether the program is "running in a web server job?" What does knowing that information then allow the program to do and\or what does knowing that information then preclude the program from doing? Also I am curious what difference is there between a "web server job" and any other type of job that might be servicing requests from elsewhere [other than an interactive display device]?


The remainder of this post is included merely FWiW, mostly in case someone stumbling on this thread in the archive wants to look back:

I recall the following old discussion which is tangential [about WSG] but some references may have been made to HTTP jobs and CGI:

Subject: When is browser NOT being used
Rob Dixon Date: Thu, 05 May 2005
http://archive.midrange.com/midrange-l/200505/threads.html#00279

Although I thought there had been another more recent discussion, I could not find any... though finally with additional and alternate means of searching [by subject in NewsReader] I located:
Subject: Identify where job is running
Jon Paris Fri, 15 Jul 2011
http://archive.midrange.com/midrange-l/201107/threads.html#00482


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.