I am currently working with the database TotalView ITCH (version 4.1) of NASDAQ. I updated the previous SAS code that was available here for TotalView ITCH 4.0.
New SAS code available here: itch_4.1_format for TotalView ITCH 4.10 (as of Jan 2013). Enjoy.