In reply to KAUSHIK BHATTACHARJE.

This is a common question that is asked on the SAS Support Community for Base SAS. Include some sample data and you'll get a solution quicker.