There is no need to put displays "everywhere", just where you have the looping-constructs (at least initially).
BillyBoyo.. I put display statements before starting and at the end of each loop where I thought loop is not terminting... It made my work easy...
Thanks Robert, BillyBoyo for suggesting DISPLAYs.....
Thank you all who participated in this discussion.
Regards,
Raju