Ask the Expert

Is this program running on an intelligent workstation or a dumb terminal?

In the past I have seen documentation about a method to determine whether a program is running on an intelligent workstation or from a dumb terminal. Alas now that I need to use this function, I can't find any references to it. We are running on OS/400 V5R1. We need to have our entry screens present different functions depending on the type of device. Any help is appreciated

A couple ideas.

* You could use the QDCRDEVD API and check the device class./type etc. An alternative of the same idea is to do a DSPDEVD to a print file, copy the printed output to a DB file and then write a program to interrogate the printed output.

c * Search400.com had a couple tips where you could retrieve the IP addresses of a device. If the command returns an IP address, it's probably safe to assume that it's an intelligent workstation. If an IP address can't be returned then it's a dumb terminal.

An example of how to use the QDCRDEVD API and how to retrieve the IP address can be found on the search400.com Web site . Click here to view it.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: Tips, tutorials and more.

Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.

Read this Search400.com Featured Topic: Managing your iSeries.

Ask the Experts yourself: Our systems management gurus are waiting to answer your technical questions.


This was first published in May 2003

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: