DIMENSION spec statement parsing and application