setTCPIPLocation()
The serviceLib.setTCPIPLocation() system function sets the host name and port number that provide TCP/IP access to an EGL service.
If the service binding in your deployment descriptor file for the service is not specified as TCP/IP, EGL throws a ServiceBindingException.
Syntax
serviceLib.setTCPIPLocation(variable Service | Interface in,
string STRING in)
- variable
- A variable that your code uses to access the service. This is a service or interface variable.
- string
- Use the following format for the string:
host:portNumberhost is the TCP/IP host name that refers to the machine where the service runs. portNumber is the number of the TCP/IP port that provides access to the service.
Compatibility
| Platform | Issue |
|---|---|
| COBOL generation | The setTCPIPLocation() function is not supported |
| JavaScript™ generation | The setTCPIPLocation() function is not supported |