Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

modifyGatewayPorts() - Modify openUTM-LU62 Gateway listener ports of the EIS partner object

Function:

BcAdminEisPartner.modifyGatewayPorts()

Modifies the openUTM-LU62 Gateway listener port of the EIS partner or a list of ports for one or more proxies in the cluster if the EIS partner is defined in the cluster.

Parameters:

bc_object (BcObject of type BcObjectType.EIS_PARTNER)

EIS partner whose openUTM-LU62 Gateway listener ports are to be modified.

ports

Dictionary with one element (or multiple elements in the case of a proxy cluster), where key (String) is the name of the proxy and value (String) is the associated openUTM-LU62 Gateway listener port.

Return:

None

Exceptions:

BcObjectException, BcParameterException, BcToolException

Note:

  • If the EIS partner is not of type cics, a BcObjectException is thrown.

  • The port numbers can also be modified via the property cs.lu62gateway-port.

Example:

...
import BcAdminEisPartner import BcAdminProxy
...
proxy_name="BCProxy" 
proxy_obj=BcAdminProxy.getObject(proxy_name) 
eis_obj=BcAdminEisPartner.getObject("testEIS",proxy_obj) 
port_dicn={proxy_name, "31002"} 
BcAdminEisPartner.modifyGatewayPorts(eis_obj, port_dicn)
...