in reply to Code flow not going to while loop
Try explicitly converting the character string to a date with the to_date(...) function (I think that's the correct function in DB2, anyway).
In Section
Seekers of Perl Wisdom
in reply to Code flow not going to while loop