Sensex notches gain in volatile session

The benchmark index ended with moderate gains in a volatile session, with gains in infrastructure stocks offsetting weakness in banking and oil & gas stocks.