Problem solve Get help with specific problems with your technologies, process and projects.

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.


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

Start the conversation

Send me notifications when other members comment.

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

Please create a username to comment.