Quantcast
Channel: Data Services and Data Quality
Viewing all articles
Browse latest Browse all 236

Looping in BODS

$
0
0

Hi,

 

I am new to BODS. I have below requirement to loop through the input records in one run.

 

Input Column and Data:

 

L_DETAIL

600000

500000

400000

600000

 

T_KEY_SEQ=IF(SUBSTR(L_DETAIL,1,1)='6', $G_T_KEY_SEQ+1,$G_T_KEY_SEQ)

 

I need output like below

 

L_DETAL   T_KEY_SEQ

600000        1

 

500000       0


400000       0


600000       2


Viewing all articles
Browse latest Browse all 236

Trending Articles



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