Retrieves a list of the CICS servers defined in the Gateway daemon.

Namespace:  IBM.CTG
Assembly:  IBM.CTG.Client (in IBM.CTG.Client.dll) Version: 9.0.0.2

Syntax

C#
public IList<CicsServer> ListSystems()
Visual Basic
Public Function ListSystems As IList(Of CicsServer)
Visual C++
public:
IList<CicsServer>^ ListSystems()

Return Value

A list of CicsServer instances representing the CICS servers defined in the Gateway daemon.

Remarks

If the connected Gateway daemon is running on z/OS then any logical CICS servers are included. Logical CICS servers can be identified by a prefix of (LS) in the Description.

There is no guarantee that a communications link exists between the Gateway daemon and any server in the list, or that any of the CICS servers are available.

Exceptions

ExceptionCondition
System..::..ObjectDisposedExceptionThe GatewayConnection has been closed.
System.Net.Sockets..::..SocketExceptionThe connection to the Gateway daemon has been lost.
IBM.CTG..::..GatewayExceptionAn error occurred within the Gateway daemon.

See Also