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



One thing I don't understand about this is that code you write for a 5250 session does not run on the terminal whether it is a dumb terminal or a PC. If you want to go out to a web service, it isn't the terminal doing it, it is the RPG program. So that should still work regardless of the terminal type. Of course if you want to do a RUNRMTCMD or STRPCCMD, then you can simply monitor for a message in the CL program, as someone already said.

Mark Murphy
STAR BASE Consulting, Inc.
mmurphy@xxxxxxxxxxxxxxx

-----midrange-l-bounces@xxxxxxxxxxxx wrote: -----
To: "Midrange-L" <midrange-l@xxxxxxxxxxxx>
From: "Jerry C. Adams"
Sent by: midrange-l-bounces@xxxxxxxxxxxx
Date: 09/23/2011 09:46AM
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

 


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.