We are generating the files with below function and found below observation
@seqlov(0,@list(X,@luhn(5)@,Z)@)@
Ideally it should be like
Ist occurrence -> X
2nd occurrence -> random 5 digits
3rd occurrence -> Z
but after generating the files its coming like
Ist occurrence -> X
2nd occurrence -> X
3rd occurrence -> X
But when we test the other function @randlov(0,@list(X,@luhn(5)@,Z)@)@
Randomly all 3 values are generating the files which is expected
All supported TDM releases.
Instead of Seqlov function, use below case function to achieve your requirement:
@case(@mod(~PUBROW~,3)@=1,X,@mod(~PUBROW~,3)@=2,@luhn(5)@,Z)@