you can try using Globals in a UDF, thought I am not sure this works in PI 7.1
setParameter
public String setParameter(String parameterName, String parameterValue, Container container) throws StreamTransformationException{ GlobalContainer glc = container.getGlobalContainer(); glc.setParameter(parameterName, parameterValue); return(parameterValue); }
getParameter
public String getParameter(String parameterName, Container container) throws StreamTransformationException{ GlobalContainer glc = container.getGlobalContainer(); String value = (String) glc.getParameter(parameterName); return(value); }
good luck