If you have SDSF you can use NA (Network Activity) for all the existing 
connections. I also like to use the following job to view open ports on the 
system.

//PORTLIST EXEC PGM=BPXBATCH                                       
//STDOUT   DD SYSOUT=*                                             
//STDERR   DD SYSOUT=*                                             
//STDPARM  DD *                                                    
sh                                                                 
                                                                   
echo "UDP Connections\n";                                          
netstat -a | grep UDP | awk '{print $1,$3}' |                      
 sed 's/\./ /g' | awk '{print $1,$6}' | sort -k2n              ;   
                                                                   
echo "\nTCP Connections\n";                                        
netstat -a | grep Listen | awk '{print $1,$3}' |                   
 sed 's/\./ /g' | awk '{print $1,$6}' | sort -k2n              ;   
/*                                                                 
//*                                                                

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Shelia Chalk
Sent: January 24, 2023 11:52 AM
To: [email protected]
Subject: Tcpip ports


    [E!] Warning! This email originated outside of our organization.
    [E!] Attention! Ce courriel provient de l'extérieur de notre organisation.


Hello,

I am looking for a report or something that will tell me what ports are being 
used(reserve or not reserve).  Any help will be helpful.  I am running z/os 2.5.

Thanks
Shelia Chalk

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to