Q

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

Dig deeper on Performance

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

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:

-ADS BY GOOGLE

SearchEnterpriseLinux

SearchDataCenter

Close