In reply to p singh.

You can ask programming questions at the SAS Support Communities. Here is a link to the documentation for the HISTOGRAM statement, which shows the syntax for creating a histogram and the syntax for the BINSTART= and BINWIDTH= options.