develooper Front page | perl.mvs | Postings from May 2017

Accessing TCPIP.DATA from Perl on os390

Thread Previous | Thread Next
Dick Franks
May 3, 2017 17:34
Accessing TCPIP.DATA from Perl on os390
Message ID:

Is it possible to access the content of TCPIP.DATA and GLOBALTCPIPDATA from
a Perl script?

Where do these files live? Are they readable and parseable?

Alternatively, is there some easy way of interrogating the OS to find the
value associated with an individual parameter name?

I am specifically interested in finding the local DNS nameserver addresses,
searchlist, etc. to provide the default values for Net::DNS so that it
works the same way on all supported platforms.

Any help you can provide would be much appreciated, an example, even better.

P.S. I know next to nothing about MVS, so have a strong preference for
succinct and straightforward answers.

Dick Franks

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About