Accessing TCPIP.DATA from Perl on os390
[email protected] (Dick Franks) Wed, 3 May 2017 18:33:48 +0100
| Newsgroups | perl.mvs |
|---|---|
| Message-ID | <CAKW6Ri5GRz7s9GFvo48xSJoF9pLvTnNqyhoYpgSAuFxLOG4kDw@mail.gmail.com> |
--001a113e505e8436fb054ea21188 Content-Type: text/plain; charset=UTF-8 All, 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 ________________________ --001a113e505e8436fb054ea21188 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div><div><div><div><div><div>All,<br><br></div>Is it poss= ible to access the content of TCPIP.DATA and GLOBALTCPIPDATA from a Perl sc= ript?<br><br></div>Where do these files live? Are they readable and parseab= le?<br><br></div>Alternatively, is there some easy way of interrogating the= OS to find the value associated with an individual parameter name?<br><br>= </div>I am specifically interested in finding the local DNS nameserver addr= esses, searchlist, etc. to provide the default values for Net::DNS so that = it works the same way on all supported platforms.<br><br></div>Any help you= can provide would be much appreciated, an example, even better.<br><br></d= iv>P.S. I know next to nothing about MVS, so have a strong preference for s= uccinct and straightforward answers.<br clear=3D"all"><div><div><div><div><= div><div><div><div><div><br><br clear=3D"all"><div><div class=3D"gmail_sign= ature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr">Dick Franks<br><= span><font color=3D"#888888">________________________<br> </font></span><br></div></div></div> </div> </div></div></div></div></div></div></div></div></div> --001a113e505e8436fb054ea21188--