Sensex & Nifty gain on opening, midcaps underperform

Business