Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

getLuNames() - Read logical unit names of the EIS partner object

Function:

BcAdminEisPartner.getLuNames()

Reads the logical unit name of the EIS partner or the list of logical unit names for all the proxies in the cluster if the EIS partner is defined in the cluster.

Parameters:

bcobject (BcObject of type BcObjectType.EIS_PARTNER)

EIS partner whose logical unit name is to be read.

Return:

Dictionary with one element (or multiple elements in the case of a proxy cluster), where key is the name of the proxy and value is the associated logical unit name.

Exceptions:

BcObjectException, BcParameterException, BcToolException

Note:

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

  • The logical unit names can also be read 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=BcAdminEisPartner.getLuNames(eis_obj) 
luname=luname_dicn[proxy_name]
...