Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

modifyLuNames() - Modify logical unit names of the EIS partner object

Function:

BcAdminEisPartner.modifyLuNames()

Modifies the logical unit name of the EIS partner or a list of logical unit names 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 logical unit name is 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 logical unit name.

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.lu-name.

Example:

...
import BcAdminEisPartner import BcAdminProxy
...
proxy_name="BCProxy" 
proxy_obj=BcAdminProxy.getObject(proxy_name) 
eis_obj=BcAdminEisPartner.getObject("testEIS",proxy_obj) 
luname_dicn={proxy_name, "CIC31"} 
BcAdminEisPartner.modifyLuNames(eis_obj, luname_dicn)
...