Jobs report good enough to calm Wall Street

? Better.

The job market beat expectations, and the stock market managed a modest gain — not great, but good enough after a turbulent week.

The nation added 117,000 jobs in July, the government said Friday — far from what happens in a healthy economy, and only good for a reduction of one notch in the unemployment rate, to 9.1 percent.

But the jobs number beat the forecast of economists, who were expecting no more than 90,000. And it was an overwhelming relief for investors, who just lived through two of the most brutal weeks in Wall Street history.

“Nothing to pop Champagne corks over,” said Diane Swonk, chief economist at Mesirow Financial, “but a much-needed shot in the arm for confidence at a time when we have so little.”

But when they come back on Monday, investors will have to absorb another body blow: Late Friday, ratings agency Standard & Poor’s downgraded the United States’ debt for the first time, saying the government’s debt-reduction plans fall short. The downgrade could lead to higher interest rates and further hamper the economic recovery.

The Dow Jones industrial average finished Friday with a gain of 60.93 points and closed at 11,444.61. It made up only a small fraction of the losses from Thursday, when the Dow dropped 512, its worst since the financial crisis of 2008.

Friday was not exactly quiet for the market, either.

At the start of trading, investors were thrilled with the unemployment report, and the Dow rose 171. Ten minutes later, the gains were gone. Investors focused on Europe, which is struggling to keep Italy and Spain from being consumed by a growing financial crisis, and the Dow fell 243.

“The fear was that they had no plan to deal with the situation,” said Randy Warren, chief investment officer at Warren Financial Service.

The Dow’s gain was only its second in the past 11 trading sessions. The average has lost about 10 percent of its value in that time. The Standard & Poor’s 500, a broader measure of the market, finished just under 1,200, down a fraction of a point.

It was the Dow’s worst week since March 2009, down 5.8 percent. The S&P, down 7.2 percent, and the Nasdaq composite index, down 8.1 percent, had their worst weeks since November of that year.

The gain of 117,000 jobs for the U.S. economy looked even better considering that 37,000 public jobs disappeared during the month. Most of those were from a temporary government shutdown in Minnesota.