In reply to sampath.

You can post programs and ask questions like this at the SAS Support Communities. For this question, try the General SAS Programming community.