Information Technology Company, Tech Mahindra, on Wednesday gained and ended the trading session with positive numbers post company’s announcement that its subsidiary-Comviva Technologies has agreed to sell its 100 per cent shareholding in Terra Payment Services (Netherlands) BV, a step-down subsidiary of the company.