Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Set variable value to another variable?

user5912565Jun 26 2013 — edited Jun 26 2013

I need to set an ODI variable  (Var1) to another variable which can be different depending on the package; thus it could be Var2, Var 3 and so on.

It seems that I have two options:

- to set it to a fixed value

- to set it to different variable using a statement like SELECT  DECODE (logic, value, #Var2, logic, value, #Var3, ....) FROM DUAL but this way I have to declare and set each variable to NULL which I think it is inconvenient.

Is there any other way much simpler? I don't know why I can't use an ODI variable as source for another ODI variable....

This post has been answered by DecaXD on Jun 26 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 24 2013
Added on Jun 26 2013
3 comments
1,131 views