I would like to know how I can reset mapping variables.
I declared a variable to count number of rows for the session, once the session is done I would like to reset it to the initial value. Please help me with this.
Below is my understanding -- if it is wrong then I like to know that it is wrong.
Let's say you have a mapping variable $$RowKount and you have an entry in the parameter file like:
$$RowKount=0
then the $$RowKount variable will be initialized to 0 for the each session using the parameter file. Looks like this is what you want.
You have to delete that entry from the parameter file for Informatica to keep the end of previous session value. That is not what you want.
Agreed ,That's the way to reset and initialize it using the parameter, What i wanted originally was i need a mapping variable which i can use it in between transformations , but after going through the documentation i had learned that mapping variable would be change only after the session runs and only in the next run do we get to use those values.. Please let me know if this correct
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.