More times than not, once I get this data into a user space I don't see a need for stuffing it into a file.
Rob Berendt --
Vern Hamberg <vhamberg@xxxxxxxxxxxxxxxxxxxxxxxxx> Sent by: midrange-l-bounces@xxxxxxxxxxxx 11/26/2003 09:06 AM Please respond to Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> To Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> cc
Subject Re: NETSTAT *CNN
Starting with V5R1, there are a number of APIs that return this kind of information. For *CNN, take a look at List Network Connections. Connection info is returned in a user space. You could probably have a data structure defined by a PF, then do something with pointers to hook up the entries in the user space to the data space, hence to the file.
More stuff comes with each release.
At 08:36 AM 11/26/2003 -0500, you wrote: >I checked the archives and someone asked this question a while ago with no >success, but I thought I would check again to see if there is a solution >now. Is there a way to display the NETSTAT *CNN information to an outfile
>or spool file while in batch? >Dave