NETSTAT CONN REPORT generates a list to a dataset.
This list looks like this:

***************************** Top of Data ******************************
MVS TCP/IP NETSTAT CS V1R9       TCPIP Name: TCPIP           08:41:49   
User Id  Conn     Local Socket           Foreign Socket         State   
-------  ----     ------------           --------------         -----   
BPXOINIT 0000004E 0.0.0.0..10007         0.0.0.0..0             Listen  
CNMPROC  00000010 0.0.0.0..7043          0.0.0.0..0             Listen  
CNMPROC  0001A51B 10.xxx.yy.153..2158    10.xxx.yy.161..7043    Establsh
-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  6 Line(s) not Displayed 
DI07DIST 0000B349 0.0.0.0..6100          0.0.0.0..0             Listen  
DI08DIST 0000E15C 0.0.0.0..6103          0.0.0.0..0             Listen  
-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  4 Line(s) not Displayed 
JES2S001 00000865 10.xxx.yy.153..175     10.xxx.yy.149..3957    Establsh
-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 19 Line(s) not Displayed 
OA50JSC  00000886 0.0.0.0..6251          0.0.0.0..0             Listen  
OA50SRV  0001A7FD 10.xxx.yy.153..6250    10.135.9.148..64931    Establsh
-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  8 Line(s) not Displayed 
Q5I1CHIN 000000C0 0.0.0.0..6501          0.0.0.0..0             Listen  
Q5I3CHIN 0000E15F 10.xxx.yy.248..6510    0.0.0.0..0             Listen  
-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 11 Line(s) not Displayed 
TCPFTPD1 00000081 0.0.0.0..21            0.0.0.0..0             Listen  
TCPTELNT 0000005D 0.0.0.0..23            0.0.0.0..0             Listen  
-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  3 Line(s) not Displayed 
WI04TOCA 000000DE 10.xxx.yy.153..10111   10.xxx.yy.91..1918     Establsh
-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 98 Line(s) not Displayed 
**************************** Bottom of Data ****************************

This is only a snapshot, though!
 
I use SAS and MICS to collect session-info from SMF-data.
I have no idea wat types are put into MICS, but I get every port,
including PORTRANGE-ports.

-- 
Maarten

-----Oorspronkelijk bericht-----
Van: IBM Mainframe Discussion List [mailto:[email protected]] Namens
Guy Gardoit
Verzonden: woensdag 5 augustus 2009 17:55
Aan: [email protected]
Onderwerp: Re: TCP/IP ports in use

TSO NETSTAT  -something-  REPORT

will produce a dataset for browsing called -userid-.NETSTAT.-something-

Guy Gardoit
z/OS Systems Programming

On Wed, Aug 5, 2009 at 7:44 AM, Michael Wickman
<[email protected]>wrote:

> David Alcock wrote a ISPF panel system that did all the netstat 
> commands and captured the output into ISPF browse displays.  Works
very nice.
>
>
> Mike Wickman
>
>
> --
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send
email to [email protected] with the message: GET IBM-MAIN INFO Search
the archives at http://bama.ua.edu/archives/ibm-main.html
-----------------------------------------------------------------
ATTENTION:
The information in this electronic mail message is private and
confidential, and only intended for the addressee. Should you
receive this message by mistake, you are hereby notified that
any disclosure, reproduction, distribution or use of this
message is strictly prohibited. Please inform the sender by
reply transmission and delete the message without copying or
opening it.

Messages and attachments are scanned for all viruses known.
If this message contains password-protected attachments, the
files have NOT been scanned for viruses by the ING mail domain.
Always scan attachments before opening them.
-----------------------------------------------------------------

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to