The market has seen consolidation with a positive bias throughout session and closed with more than third of a percent gains on June 5, tracking an uptrend in Asian counterparts. The BSE Sensex gained 240 points to close at 62,787, while the Nifty50 rose 60 points to 18,594 after trading in a range of about 50 points.