How to specify record subseparator in Jython emcli script
I have a question on the proper syntax to specify the record subseparator in a call to emcli.set_target_property_value function. I've tried a variety of ways, but always seem to encounter an error. See bold line in script below.
Thanks.
Eric
$ vi update_agent_properties.py
from emcli import *
import time
def format(str):
if str is None:
return ""
return str
def get_agent_objects():
l_sql = " select target_name, target_type, property_name, property_value " + \
" from mgmt$target_properties " + \
" where target_type = 'oracle_emd' and property_name = 'orcl_gtp_lifecycle_status' "
obj = emcli.list(sql=l_sql)