cjmsicmd list svc (displaying the list of connection services)

Format

cjmsicmd list svc [-b host-name : port-number]

Function

Displays the list of usable connection services.

Arguments

-b host-name : port-number
Specifies the host name and the port number by delimiting them using a colon (:).

Output example

The following is an output example of cjmsicmd list svc:

-----------------------------------------------
Service Name    Port Number       Service State
-----------------------------------------------
admin           3616 (dynamic)    RUNNING
jms             0 (dynamic)       PAUSED

KDAN34113-I Successfully listed services.

Output header

Service Name
This is a usable service name.
Port number
This is a port number allocated to the service.
CJMSP Broker or a user allocates the port number.
Service State
This is the current service state. The state is RUNNING or PAUSED.

Return values

0:
The command is terminated normally.
1:
The command is terminated abnormally.