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



Hi, Calvin,

There may be a "native" OS/400 or IBM i way to find what you are looking for ... (vs. PASE).

There is a command named RTVTCPINF -- you create an empty library, and specify it on this command, and it saves all of the relevant TCP settings in that library, in a bunch of save files, normally for use with UPDTCPINF to restore all of that saved information back to the "live" configuration, e.g. after testing configuration changes, etc., or for disaster recovery, etc.

But, you could issue, e.g.:

    CRTLIB TEMPTCPCFG
    RTVTCPINF TEMPTCPCFG

Then use WRKOBJPDM TEMPTCPCFG to examine the contents -- display each save file, etc.

When you find one that looks "interesting" you could restore the interesting objects into QTEMP for further examination or interrogation purposes.

Hope that helps,

Mark S. Waterbury


On Wednesday, February 16, 2022, 11:47:53 AM EST, Calvin Buckley <calvin@xxxxxxxxxx> wrote:

I've been staring at the IBM documentation portal for a while now,
trying to figure out how to pull settings for IP (DNS in particular)
programatically, getting (not even writing) the same values as i.e.
CFGTCPDMN. I'm a bit stumped however, because I can't seem to find it!

Is there sometihng I'm missing? I don't think calling the libresolv
functions is /quite/ what I want, because those do queries against the
configured DNS settings, not i.e. give me a list of nameservers, search
domains, etc.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.