Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9236

Re: *IF statement under Mapping section of transformation file

$
0
0

Hi Jian,

 

Plese try the following:

 

ID=*IF(ID(1:2)=*STR(AA) then  *STR(A_)+ID;ID(1:2)=*STR(BB) then  *STR(A_)+ID)

 

You have not mentioned what if the ID does not start with AA or BB, if you take only ID in that case just do the following:

ID=*IF(ID(1:2)=*STR(AA) than  *STR(A_)+ID;ID(1:2)=*STR(BB) than  *STR(A_)+ID;ID)

 

Regards,

Kalyan.


Viewing all articles
Browse latest Browse all 9236

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>