* Yen pressured as Japan posts 17th straight trade deficit
* Most investors still expect no Fed tapering this week
* German IFO come in line with expectations
By Anirban Nag
LONDON, Dec 18 The dollar gained against the yen and euro on Wednesday, helped by a rise in U.S. yields, as investors positioned themselves for a decision by the Federal Reserve later in the day on whether it will start reducing its monetary stimulus this month.
The euro shrugged off a German IFO survey that was in line with expectations. Year-end repatriation flows and higher money-market rates continued to lend it support before the Fed's decision.
Euro/dollar overnight implied volatilities -- a gauge of how sharp price swings can be -- shot up on Wednesday before a possible move by the Fed. The overnight euro implied vols more than doubled to 13.70 percent from around 5.5 percent on Tuesday.
The euro was slightly lower at $1.3751. The dollar rose 0.2 percent against the yen to 102.90 yen. The dollar index was marginally higher at 80.079.
"The majority in the market are expecting the Fed to hold off, but if they do go ahead and taper, then we will see a knee-jerk reaction that will take the dollar higher," said Daragh Maher, a strategist at HSBC.
"We think that the Fed will try and introduce some kind of forward guidance like lowering the unemployment threshold. So any dollar rally will be limited. On the other hand, if the Fed holds off we could see the euro rally against the dollar."
The Fed will announce its policy decision at 1900 GMT. Chairman Ben Bernanke will hold a news conference at 1930 GMT. In recent days, the odds have improved that the Fed will start tapering this week, keeping U.S. yields elevated and broadly helping the dollar.
Most in the market expect the Fed will trim its monthly $85 billion bond-buying program by $10 billion-15 billion at most whenever it eventually chooses to do so. Still, a no-taper decision on Wednesday could dent the dollar, although it may hold its own against the yen, which tends to weaken when risk appetite rises.
"Considering that share markets fell after the end of QE1 and QE2, there's a chance we could see similar negative impact," said Shin Kadota, chief FX strategist at Barclays, referring to the Fed's previous transitions from one asset-purchase phase to the next.
Earlier, a Japanese trade-deficit report pulled the yen down. Data released on Wednesday showed Japan posted a deficit of 1.29 trillion yen ($12.56 billion) in November, marking a record 17 straight months of deficits as a weak yen inflated the cost of imported fuels.