|
One of our web programmers is creating a page that contains among other things, a description of printers including the IP address. She has been able to obtain all of the information >
she needs via SQL except the IP address.
I can write an SQL function for her using the Retrieve Device Description (QDCRDEVD) API. However, IBM has been giving us more and more of this
information with their own tables/views/functions etc.
Does anyone know if this information is available with pure SQL skipping the api? I don't want to reinvent the wheel. >
Eg. "select ip_address from qsys2/qdprtnfo where specific_device = "myprinter"
"Addressing anything with the IP address strikes me as setting up a a future problem. Would a DNS be an easier solution?"
What is the objection to using a DNS?
As an Amazon Associate we earn from qualifying purchases.
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.