Data generation SEQLOV function is not working as expected
search cancel

Data generation SEQLOV function is not working as expected

book

Article ID: 423709

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

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

Environment

All supported TDM releases.

Resolution

 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)@