Retrieves a list of the CICS servers defined in the Gateway daemon.
Namespace:
IBM.CTGAssembly: IBM.CTG.Client (in IBM.CTG.Client.dll) Version: 9.0.0.0
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
Exception | Condition |
---|---|
System..::..ObjectDisposedException | The GatewayConnection has been closed. |
System.Net.Sockets..::..SocketException | The connection to the Gateway daemon has been lost. |
IBM.CTG..::..GatewayException | An error occurred within the Gateway daemon. |