Stock markets and the rupee posted marginal gains amid uncertainty over outcome of the US Federal Reserve policy meeting on monetary stimulus on Wednesday. After slipping around 103 points on Tuesday,Sensex was under selling pressure as investors offloaded shares mainly in auto,power,PSUs and healthcare. The Sensex later recovered and finished at 19,245.70,a gain of 22.42 points or 0.12 per cent. The rupee closed at 58.71/72 per dollar,as against its previous close of 58.77/78 on Tuesday,snapping two sessions of losses. Investors were reluctant to add big positions and mostly stayed on sidelines ahead of US Federal Reserve meet.