Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have difficulty understanding the below 2 different piece of code. Could anyone help me to understand it.
When I should use each one of them?
What the 'while' and 'iterNo' does in the second statement?
1) AUTOGENERATE $(vMaxDate) - $(vMinDate) + 1;
2) AutoGenerate 1 While $(vMinDate) + IterNo() -1 <= $(vMaxDate);
Regards,
Suraj
while is a clause used for stating whether a record should be repeatedly read. The same record is read as long as criterion is true. In order to be useful, a while clause must typically include the IterNo( ) function.
criterion is a logical expression.