Stocks gained strength Thursday as investors, trying to gauge whether the U.S. economy is holding up in the face of a weakening housing market, digested mixed data ahead of Friday's jobs report, according to AP. The sluggish housing market remains a key concern on Wall Street, and the Mortgage Bankers Association said Thursday that homeowners beginning the foreclosure process in the second quarter reached a record 0.65 percent. It was the third consecutive quarter that the figure reached an all-time high. Though investors want growth to be slow enough to merit a rate cut from the Federal Reserve when it meets Sept. 18, they don't want to see the economy weaken to the point of recession. Wall Street also doesn't want to see signs of accelerating inflation _ such as surging crude oil prices, which briefly spiked above $77 a barrel Thursday on supply worries after the U.S. embassy in Nigeria said American and other Western interests in the country are at risk of a terrorist attack and after news that Syrian armed forces had opened fire on Israeli fighters. Inflationary risks have kept the Fed from lowering interest rates in recent months. The credit markets continue to be tight. The New York Fed, which carries out the central bank's market operation, injected a total of $31.25 billion (¤22.86 billion) through three repurchase agreements Thursday _ the largest amount the Fed has injected in weeks _ to help keep the markets liquid. The Fed also reported that about 3 percent of asset-backed commercial paper, a type of bond companies sell for quick cash, was unable to be rolled over in the week ended Wednesday. Still, the job market, the service sector and August retail sales look good. Last week, for the first time in seven weeks, claims for unemployment benefits dropped, the Labor Department said. It also reported that worker productivity jumped to an annual growth rate of 2.6 percent in the April to June quarter, much better than expected. The snapshots boded well for Friday's August employment report, the economic reading that investors are considering the most important this week. «They're waiting for the jobs number tomorrow,» said John O'Donoghue, co-head of equities at Cowen & Co., noting that most of Thursday's news has been fairly benign. «I think people are kind of sitting on their hands.» In midday trading, the Dow Jones industrial average rose 53.00, or 0.41 percent, to 13,359.44, after earlier wobbling in and out of positive territory. Broader stock indicators also lifted. The Standard & Poor's 500 index rose 4.10, or 0.28 percent, to 1,476.45, and the Nasdaq composite index rose 7.59, or 0.29 percent, to 2,613.54. Bonds fell. The yield on the benchmark 10-year Treasury note, which moves inversely to its price, rose to 4.49 percent from 4.47 percent late Wednesday. The dollar was lower against most other major currencies, while gold prices jumped. With investors on alert for any sign that recent financial market turmoil has hurt consumer spending, better-than-expected August sales from major retailers Wal-Mart Stores Inc. and Target Corp. perhaps came as a welcome surprise. Wal-Mart said same-store sales, which measure business at stores open at least one year, rose 3.1 percent, while Target said same-store sales in August rose 6.1 percent. The two biggest retailers beat Wall Street estimates. Wal-Mart rose 34 cents to $42.79, and Target rose $1.41, or 2.3 percent, to $63.28. Tony department store chain Saks Inc., teen apparel retailer Pacific Sunwear of California Inc. and children's clothier The Children's Place Retail Stores Inc. also topped analyst projections. Saks rose 87 cents, or 5.7 percent, to $16.19, Pacific Sun advanced $1.03, or 7.2 percent, to $15.28, while Children's Place rose 2 cents to $27.99. Meanwhile, the Institute for Supply Management's reading on the non-manufacturing sector showed that activity expanded in August at the same rate as in July. Not only were investors worried about the rising foreclosure rate, but late Wednesday, mortgage lender Countrywide Financial Corp. said it will cut another 900 jobs in the United States after eliminating about 500 positions last month. The largest U.S. mortgage lender by volume employs about 60,000 people. Countrywide fell 43 cents, or 2.3 percent, to $18.38.