|
>-----Original Message----- >From: Dave Snyder >Is there any way to capture the output from the NETSTAT *CNN >command to a file so that I can read it in to a program? What I am >needing to do is kill a tcpip port and all connections to it but >do not have the remote port addresses to specify in the ENTCPCNN >command. I can get these parameters from the NETSTAT *CNN command >and am looking for an easy way to implement this for an operator. >I am on V4R5. Dave, I searched the arvhive (best best was on "netstat outputfile") and saw that Bruce Vining commented in 2000 that there was program to do this (QTONUIXL) but it was not intended to be used as an API. http://archive.midrange.com/midrange-l/200010/msg01274.html At V5R1 there is a solution: http://publib.boulder.ibm.com/html/as400/v5r1/ic2924/index.htm?info/apis/qto clstnetcnn.htm
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.