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