NEW YORK — Not even grisly job losses could get in the stock market's way Friday.
The Dow Jones industrial average clawed higher to end above 8,000 for the first time in nearly two months, and logged an impressive fourth straight week of gains.
The last time the Dow rose for four consecutive weeks was between September and October of 2007 _ when the index reached its record above 14,000.
Wall Street's newfound confidence kept swelling this week on better-than-expected economic data, a relaxation in bank accounting rules, and reassurances from the world's finance leaders that they will keep propping up the global economy. The Labor Department's March unemployment report on Friday was the week's last big hurdle.
The job numbers were certainly grim, but not terrible enough to derail the emerging sense of optimism over the past four months that the economy may be beginning to right itself. The Dow finished the week up 3.1 percent.
Traders are reacting more moderately to bad news than they might have even a month ago, said Tom Phillips, president of TS Phillips Investments in Oklahoma City.
"If the expectation was for truly horrendous numbers and they're only ugly, that's a good thing," he said.
Employers slashed a net total of 663,000 jobs last month, slightly worse than the 654,000 economists expected. The employment rate jumped to 8.5 percent, its highest level since late 1983, when the economy was emerging from another deep recession.
While many investors are looking ahead to an eventual recovery, others say Wall Street might be just as shortsighted now as it was when it was panicking. Potential pitfalls lie ahead not just for the job market, which has shed 5.1 million jobs since December 2007, but also in corporate earnings reports and outlooks that start pouring in next week.
"We've run way too high here, way too fast," said Joe Saluzzi, co-head of equity trading at Themis Trading LLC.
The Dow on Friday climbed 39.51, or 0.5 percent, to 8,017.59 _ the index's highest close since Feb. 9, when the index ended at 8,270.87. On March 9, the index sank to a nearly 12-year low of 6,547.05, but it's now 22.5 percent above that trough.
The Dow's rally has been its biggest four-week advance since 1933.
The Standard & Poor's 500 index rose 8.12, or 1 percent, to 842.50 on Friday. The Nasdaq composite index rose 19.24, or 1.2 percent, at 1,621.87, helped by BlackBerry maker Research in Motion Ltd., whose shares surged on better-than-expected profits.
About two stocks rose for every one that fell on the New York Stock Exchange, where consolidated volume came to 5.7 billion shares.
The Russell 2000 index of smaller companies rose 5.94, or 1.3 percent, to 456.13.
Treasurys fell as investors entered riskier assets. The yield on the benchmark 10-year Treasury note, which moves opposite its price, rose to 2.90 percent from 2.76 percent late Thursday.
Traders have been emboldened in recent weeks by better-than-expected readings on key economic factors like housing, banking and manufacturing.
In a positive sign Friday, Federal Reserve Chairman Ben Bernanke said in a speech in Charlotte, N.C., that while he was uncomfortable with bailing out financial institutions, the Fed's strategy so far to ease the financial crisis appears to be working.
Kim Caughey, equity research analyst at Fort Pitt Capital Group, said it's reassuring that Bernanke is implying that there no more big financial rescue plans in the offing.
"The bazooka might be put away," she said, "or at least be leaning in the corner for a while."
And the stock market could still recover even if unemployment remains high. In downturns during the past 60 years, the S&P 500 index has hit bottom an average of four months before a recession ended and about nine months before unemployment hit its peak.
But investors want to see further signs that the recession isn't getting worse to keep the rally going.
Investors have been too quick to overlook the holes in the economy, including employment, said Themis Trading's Saluzzi. He pointed out that the government revised January's job losses much higher _ to 741,000 from 655,000.
Another looming threat to the market's four-week buying spree is the start of the first-quarter earnings season, which gets under way Tuesday with a report from Dow component and aluminum producer Alcoa Inc. Expectations for earnings are already low, but hints that conditions are deteriorating could easily kill the rally.
Overseas markets were mixed Friday following a powerful global stock rally the day before after world leaders pledged $1 trillion for financial rescue measures and promised stronger regulation of financial institutions.
Japan's Nikkei stock average rose 0.3 percent, and Germany's DAX rose less than 0.1 percent. Britain's FTSE 100 fell 2.3 percent, and France's CAC-40 fell 1.1 percent.
The Dow Jones industrial average closed the week up 241.41, or 8.6 percent, at 8,017.59. The Standard & Poor's 500 index rose 26.56, or 3.3 percent, to 842.50. The Nasdaq composite index rose 76.67, or 5.0 percent, to 1,621.87.
The Russell 2000 index, which tracks the performance of small company stocks, rose 29.89, or 7.2 percent, to 429.00.
The Dow Jones U.S. Total Stock Market Index _ which measures nearly all U.S.-based companies _ ended at 8,599.34, up 312.51, or 3.8 percent, for the week. A year ago, the index was at 13,801.78.