Do you have control over the OA handler? If so, you can write your own API.

Write a program that stays resident and initializes a boolean to off. Make sure it leaves *INLR off, and is in a named activation group (one of the few times I actually *like* a named activation group :) !). Have the OA handler call the program and set the boolean to true. Call that same program from your application program to retrieve the boolean; if the boolean is set, then OA is active, otherwise it's not.

Joe

Thanks for the RTVJOBA tip.

But, I am using ASNA WINGS and it actually runs an interactive job.

So it passes the test as a 5250 with RTVJOBA, even though it is not 5250.

As Paul Harvey would say, now the rest of the story.

It does run RPG OA, but I see no way to really check to see if
it is running RPG OA, or plain vanilla RPG.

It does run the OA out of a library prefixed WOA* but I thought that
was pretty cheesy to check for that in the library list.

The IBM API that I found returns to me a code indicating that it is not a
web program. But I did see a post that said HATS did not return
web either.


Tom Deskevich




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.