Blue chips scraped out modest gains but technology shares slipped Friday under the weight of earnings warnings as U.S.-led forces closed in on Baghdad.

The blue-chip Dow Jones industrial average rose 36.77 points, or 0.45 percent, to 8,277.15, rising late in the day after wobbling near unchanged much of the session. The technology-laced Nasdaq Composite Index fell 13.07 points, or 0.94 percent, to 1,383.51. The broader Standard & Poor's 500 edged up 2.40 points, or 0.27 percent, to 878.85.

For the week, the Dow gained 1.6 percent, the Nasdaq advanced 1 percent and the S&P 500 rose 1.8 percent.

U.S. troops seized Baghdad's international airport on Friday in their biggest victory of the war to oust Saddam Hussein, but the Iraqi government threatened to strike back with "non-conventional" means and the U.S. military said it would take time to get a grip on the city.

"Nobody's going to make any bets on what's going to happen in Iraq," said John O'Donoghue, co-head of listed trading at Credit Suisse First Boston. "It's just not prudent."

The war is hitting corporate profits and the U.S. economy. PeopleSoft (PSFT) sank almost 13 percent to a session low of $14.40 after warning the war was delaying corporate buying.

A government report Friday showed the economy suffered a worse-than-expected drop of 108,000 in U.S. nonfarm payrolls in March as the conflict takes a toll on hiring. The nation's unemployment rate, however, held steady at 5.8 percent in March.

"Corporate spending got put on pause, business is still tough -- and I don't like the stats I have been seeing on the economy," said Donna Van Vlack, director of trading at Brandywine Asset Management, which oversees $8 billion.

A televised address by Saddam kept investors on edge on Friday. It appeared to be the first clear evidence he had survived a U.S. bombing raid on the first night of the war aimed at killing him. Stocks had jumped in past sessions on hopes he had been hit in the initial U.S. strike.

Technology stocks took the most heat as corporate profit warnings hurt sentiment. PeopleSoft (PSFT) ranked among the most active shares on Nasdaq and skidded $1.48 to end at $15.02, down 9 percent. After regular trading ended Thursday, the company warned its first-quarter earnings and revenues would fall short of estimates as the war in Iraq hit an already weakened economy.

PeopleSoft (PSFT) dragged other business software makers lower. Germany's SAP (SAP)slumped 61 cents, or almost 3 percent, to $19.95 in the United States. Siebel Systems Inc. (SEBL) fell 41 cents, or 5 percent, to $7.75.

Semiconductor stocks were under pressure after Europe's biggest chipmaker STMicroelectronics (STM) issued disappointing results as it took a hit from falling product prices and currency fluctuations. STM's U.S.-traded shares fell 97 cents, or 4.9 percent, to $18.76.

The Philadelphia Stock Exchange's semiconductor index lost 2.45 percent. Wireless chipmaker Texas Instruments Inc., which competes with STMicroelectronics in several markets, sank 85 cents, or 4.8 percent, to $16.90. Chip giant Intel Corp. (INTC) fell 52 cents, or almost 3 percent, to $17.05.

"We have reality starting to come into play, because we are heading into earnings season," said Arnie Owen, managing director of equities at Roth Capital Partners.

Alcoa Inc. (AA), the world's biggest aluminum maker, rose 13 cents to $20.04 ahead of its quarterly results due after the bell. The company, the first Dow component of the season to report earnings, said first-quarter results fell because of higher energy costs. The quarterly earnings season is set to kick into high gear in mid-April.

Altria Group (MO) ranked as the biggest loser on the Dow, falling $1.40, or 4.7 percent, to $28.30. Fitch Ratings cut the ratings of Altria and its units late on Thursday, citing the increased risk of litigation and losses facing the industry as a result of an Illinois court judgment against cigarette maker Philip Morris USA, now part of Altria.

Affymetrix Inc.(AFFX),  which makes chips used for genetic research, tumbled $9.67, or 34.5 percent, to $18.33. The company warned its first-quarter revenue will fall far short of estimates, citing global economic weakness and cautious capital spending in the academic and biotech sectors.

One bright spot was AES Corp.(AES), which said it would launch a $1 billion offering of notes to pay off outstanding debt from a senior bank facility, a step that removes much of the uncertainty over the independent power producer's cash position. It jumped 70 cents, or 17.5 percent, to $4.70.

The number of U.S. payroll jobs outside the farm sector dropped by a bigger-than-expected 108,000 in March, while the unemployment rate was unchanged at 5.8 percent, the government said in a report highlighting the economy's fragility.

The March payroll decline was steeper than the 29,000 decrease projected by U.S. economists in a Reuters survey, but the fall was not as dire as the 357,000 jobs the economy shed in February.

Advancing stocks beat out decliners by a ratio of 6 to 5 on the New York Stock Exchange, but losers edged out winners by 17 to 14 on Nasdaq. More than 1.23 billion shares changed hands on the Big Board and more than 1.35 billion on Nasdaq in moderate trading.

The Russell 2000 index, which tracks smaller company stocks, fell 1.94, or 0.5 percent, to 373.28.

Overseas, Japan's Nikkei stock average finished 0.7 percent higher Friday. In Europe, France's CAC-40 rose 1.8 percent, Britain's FTSE 100 advanced 1.2 percent and Germany's DAX index climbed 3.3 percent.

Reuters and the Associated Press contributed to this report.