11 Replies Latest reply on Mar 26, 2014 2:51 AM by FPonte

    ODI 11g - Dynamic and Flexible Code Generation



      String V_COND;


      if (V_COND.equals("Y")  )

      { $> EMP.DEPTNO in (select deptno from source.dept) <$ } else

      { $> EMP.DEPTNO=70 <$ }





      Kindly help me out this is the java jython code and i have written this code in filter tab of odi interface and it is working  fine but the problem is i want to call database function in this code that return a value that is to assigned in v_cond variable that i have taken and then i will use that further in if condition as i am using if (V_COND.equals("Y")  )