String paramName = record.getValue(SYSPROCPARM.PARM_NAME);
Boolean paramModeIn = record.getValueAsBoolean(SYSPROCPARM.PARM_MODE_IN, false);
Boolean paramModeOut = record.getValueAsBoolean(SYSPROCPARM.PARM_MODE_OUT, false);
int parmType = record.getValue(SYSPROCPARM.PARM_TYPE);
InOutDefinition inOutDefinition;
if (parmType == 4) {
inOutDefinition = InOutDefinition.RETURN;
paramName = "RETURN_VALUE";
}
else if (paramModeIn && paramModeOut) {