You say: " I may want to provide the ability for users to invoke a web search or validate fields, such as zip code, through a web service."

If that's what you want, and the server can access the internet, then you might be able to use Scott Klement's HTTPAPI (or one of the other similar utilities on the net) to access the web site or web service.

IBM has tooling to support web service calls from HLL applications.

None of this requires a PC at runtime.

-Eric DeLong

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jerry C. Adams
Sent: Friday, September 23, 2011 8:43 AM
To: Midrange-L
Subject: Dumb Terminal or Emulator

We still have a couple of dumb terminals sitting around and currently being
used, though most work is done with PCs running 5250 emulation.



I was wondering if there is any way to tell if a program is running on a
dumb terminal or an a PC. The reason for asking is that I may want to
provide the ability for users to invoke a web search or validate fields,
such as zip code, through a web service. Obviously, these functions would
crash and burn if run from a dumb terminal so I want to be able to check
before I allow such things.



I read the recent discussion on Interactive vs Non-Interactive but did not
see anything that addressed this specific condition (though I may have
scanned the entries too rapidly or casually).



Thanks.



Jerry C. Adams

IBM i Programmer/Analyst

Uxbridge: "My Lord, I have lost my leg."

Wellington: "By God, so you have!" (At the Battle of Waterloo)

--

A&K Wholesale

Murfreesboro, TN

615-867-5070



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.




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.