Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

setAssignment() - Assign an openUTM-LU62 Gateway or a communication service to the proxy

Function:

BcAdminProxy.setAssignment()

Assigns a CICS component (openUTM-LU62 Gateway or communication service) to the specified proxy cluster.

Parameters:

bc_object (BcObject of type BcObjectType.PROXY)

Proxy object whose CICS component is to be assigned.

comp_type (String)

Type of component BcObjectType.LU62GATEWAY.toString() or BcObjectType.COMMUNICATION_SERVICE.toString().

comp_obj (BcObject of type BcObjectType.LU62GATEWAY or BcObjectType.COMMUNICATION_SERVICE)

openUTM-LU62 Gateway object or communication service object that is to be assigned to the proxy.

Return:

None

Exceptions:

BcObjectException, BcParameterException

Example:

...
import BcAdminLu62Gateway 
import BcAdminProxy
... 
proxy_obj=BcAdminProxy.getObject("BCProxy")
gw_props={"host": "bchost01", "install-path": "/opt/lib/utmlu62"} 
gw_obj=BcAdminLu62Gateway.getObject(gw_props) 
gw_dicn=BcAdminProxy.setAssignment(proxy_obj, "lu62gateway", gw_obj)
...