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() - dem Proxy Cluster ein openUTM-LU62 Gateway oder einen Communication Service zuordnen

Funktion:

BcAdminProxyCluster.setAssignment()

Ordnet dem angegebenen Proxy Cluster eine CICS-Komponente zu (openUTM-LU62 Gateway bzw. Communication Service).

Parameter:

bc_object
(BcObject
vom Typ BcObjectType.PROXY_CLUSTER)

Proxy Cluster Objekt, dessen CICS-Komponente zugeordnet werden soll.

comp_type (String)

Typ der Komponente: BcObjectType.LU62GATEWAY.toString() oder BcObjectType.COMMUNICATION_SERVICE.toString().

comp_obj
(BcObject vom Typ BcObjectType.LU62GATEWAY oder BcObjectType.COMMUNICATION_SERVICE)

openUTM-LU62 Gateway Objekt oder Communication Service Objekt, das dem Proxy Cluster zugeordnet werden soll.

Rückgabe:

Keine

Exceptions:

BcObjectException, BcParameterException

Anmerkung:

Bei Zuordnung einer CICS-Komponente zu einem Proxy Cluster wird die CICS- Komponente implizit dem Master Proxy und allen weiteren Proxys im Cluster zugeordnet, denen keine CICS-Komponente dieses Typs zugeordnet ist. Für alle Proxys im Cluster, denen explizit eine andere CICS-Komponente dieses Typs zugeordnet ist, bleibt diese Zuordnung erhalten.

Beispiel:

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