In reply to manidhar.

You can ask programming questions like this at the SAS Support Communities.