Check status of XCOM Port XCOM for z/OS
search cancel

Check status of XCOM Port XCOM for z/OS

book

Article ID: 115426

calendar_today

Updated On:

Products

XCOM Data Transport XCOM Data Transport - Windows XCOM Data Transport - Linux PC XCOM Data Transport - z/OS

Issue/Introduction

If you want to check the Port used by XCOM you do not need to check in SYSVIEW or SDSF if the XCOM Server is running. There is a nice little command available from the ISPF Command Shell.

Environment

XCOM™ Data Transport® for z/OS

Resolution

If you want to check if a specific Port is used by the XCOM server running on z/OS you can use a quick and easy command from the ISPF Command Shell:

NETSTAT ALLCONN (PORT nnnn

The output of the command is as follows if the specified Port is in use:

MVS TCP/IP NETSTAT CS V2R3     
User Id  Conn     State        
-------  ----     -----        
XCOM     0000004D Listen       
  Local Socket:   0.0.0.0..8044
  Foreign Socket: 0.0.0.0..0  
 
***        
                   

Here we see that XCOM is listening on Port 8044 (by the way, that port is the default Port for XCOM).

The output of the command is as follows if the specified Port is not in use at all:

MVS TCP/IP NETSTAT CS V2R3
User Id  Conn     State   
-------  ----     -----   
***

Additional Information

Using command
 NETSTAT HELP
provides you with all possible options of this command.