As per IBM knowledge centre as shown the link below that we are able to create a esql function to get the user defined policy.
https://www.ibm.com/support/knowledgecenter/SSTTDS_11.0.0/com.ibm.etools.mft.doc/ac06008_.html
CREATE FUNCTION getPolicyProperty( IN policyName CHARACTER, IN propertyName CHARACTER )
RETURNS CHARACTER
LANGUAGE JAVA
EXTERNAL NAME "MyPolicyAccessClass.getPolicyProperty";
DECLARE Property2 CHARACTER:
SET Property2=getPolicyProperty('{PP1}:MyUDCS', 'prop2');
I couldn't figure out how to create a java class MyPolicyAccessClass that has a static method getPolicyProperty, which java class in the run time library MyPolicyAccessClass extends, I don't think it should be MbJavaComputeNode or MbNode, any advise?
Thanks,
andy
------------------------------
Andy Mao
------------------------------