By Using Row generator stage to genrate a test data
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 258
- Joined: Tue Jul 04, 2006 10:35 pm
- Location: Toronto
Re: By Using Row generator stage to genrate a test data
Is there any specific reason you are using teh schema file. to generate test data.
Hi, reddy82. I think you should define the column properties list to generate the testing data.
For example.
record nullable {final_delim=end, delim=';', quote=none, null_field="s"}
(
ACTION: not_nullable string[MAX=1] {cycle={value='a'}};
TEST1 : not_nullable string[MAX=2] {cycle={value='b', value='bb'}};
TEST2 : not_nullable string[MAX=3] {alphabet='abcdef'};
TEST3 : not_nullable string[MAX=4] {alphabet='abcdefhij'};
MSISDN: not_nullable string[MAX=100] {alphabet='abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'};
)
For example.
record nullable {final_delim=end, delim=';', quote=none, null_field="s"}
(
ACTION: not_nullable string[MAX=1] {cycle={value='a'}};
TEST1 : not_nullable string[MAX=2] {cycle={value='b', value='bb'}};
TEST2 : not_nullable string[MAX=3] {alphabet='abcdef'};
TEST3 : not_nullable string[MAX=4] {alphabet='abcdefhij'};
MSISDN: not_nullable string[MAX=100] {alphabet='abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'};
)
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Leave out not_nullable from the field definitions. Leave out nullable from the record declaration. Both are incorrect. Field are not nullable unless marked nullable. Records can not be nullable.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.