× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Ken:

Although the risk may be negligible, keep in mind that the CLP does not tell 
whether TCP/IP is active or not; rather, it tells whether a job named QTCPIP is 
active or not -- a job with that name _can_ come from anyone and be doing 
anything.

If this is the route you want to take, I'd suggest simply calling the Retrieve 
Configuration Status (QDCRCFGS) API with the name of your TCP/IP network 
device. Check the returned status to see if it's 'ACTIVE' and maybe check the 
returned job name to see if it's active under job QTCPIP. Much simpler and even 
less risk though still not eliminated.

Tom Liotta

midrange-l-request@midrange.com wrote:

>   8. RE: Check to see if TCP/IP is up (Graap, Ken)
>
>Todd .... I made just a few modifications ... User Space name / library and
>changing the &INLSIZE variable from *CHAR to *DEC ... It seems to work when
>IP is active... I'll have to test it later when IP is down though.

--
--
Tom Liotta
The PowerTech Group, Inc.
19426 68th Avenue South
Kent, WA 98032
Phone  253-872-7788 x313
Fax    253-872-7904
http://www.powertechgroup.com


__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now! 
http://channels.netscape.com/ns/browsers/download.jsp

Get your own FREE, personal Netscape Mail account today at 
http://webmail.netscape.com/


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.