Stocks struggled to hold slight highs in the closing minutes of Wednesday's session after the latest evaluation of the U.S. economy offered little certainty on the outlook of interest rates. 

The S&P 500 was up 0.10%. The Dow Jones Industrial Average rose 0.01%, while the Nasdaq gave back 0.01%.

The release of the central bank's Beige Book, which gives an overview of the economy, showed most of the Federal Reserve's 12 districts reported "modest" growth since mid-April, except for Chicago and Kansas City, which said growth had slowed, while New York noted growth was flat.

While most U.S. industries expanded, some did so sluggishly. The services sector plowed on, though one national firm said growth appeared "disappointingly stable." Employment grew modestly across the districts, albeit with wage and price pressures.

Investors have been on the lookout for any data that may give the Fed pause in raising rates at coming meetings ever since the majority of Fed members suggested a summer rate hike is on the table. A June rate hike currently has a 23% probability, according to CME Group.

Markets will get a better sense of the rates outlook following Friday's release of the May jobs report. Consensus is for 158,000 jobs to have been added to non-farm payrolls over the month, pushing the unemployment rate down to 4.9%. 

Construction spending declined 1.8% in April, coming back from a solid March. The decline fell well short of estimates for a 0.7% increase. The surprise drop was mostly due to unexpectedly weaker residential spending, which dropped 1.5%, according to the Commerce Department. Public construction spending slid 2.8%.

Disappointing construction spending led Barclays analysts to downgrade their second-quarter GDP estimates to 2.2% from 2.6% at the end of May.

U.S. manufacturing slightly recovered in May, though underlying signs of weakness remained. Manufacturing rose to 51.3 in May from 50.8 in April, according to the Institute for Supply Management's index, above estimates for a decline to 50.2. A level above 50 indicates expansion.

"The details of the report were far less encouraging than suggested by the headline strength, given that the swing factor was the big move in suppliers' deliveries sentiment," Millan Mulraine, deputy chief U.S. macro strategist at TD Securities, wrote in a note.

Two fewer selling days in May compared to a year earlier contributed to less foot traffic in manufacturers' showrooms. Ford (F) - Get Report reported a nearly 6% decline in total vehicle sales over the month. General Motors (GM) - Get Report suffered an 18% decline in overall sales, tied to a 13% drop in retail revenue.

Ford is a holding in our Dividend Stock Advisor. Learn more now.

Fiat Chrysler (FCAU) - Get Report managed to lift sales by 1.1% over the month, thanks to a surge in demand for its Jeep brand. Overall sales had their best May in 11 years, driven by a 14% jump in sales for Jeeps.

More signs of a weak manufacturing sector emerged from China overnight. A closely watched index monitoring China's manufacturing sector showed another decline in May, the 15th straight month in contraction territory. The measure conflicts with official data showing manufacturing expansion in the world's second-largest economy, a worrying disconnect for investors uncomfortable with uncertainty. 

Fresh worries over China sent crude oil prices lower. Supply worries were already pressuring commodities as Organization of Petroleum Exporting Countries ministers gathered in Vienna to discuss the demand-supply imbalance. West Texas Intermediate crude oil dropped 0.2% to $49.01 a barrel on Wednesday.

Nike (NKE) - Get Report weighed on the Dow Jones index after two separate downgrades. Bank of America (BAC) - Get Report downgraded the footwear retailer to neutral from buy, noting that the company is losing market share and that future orders may have peaked. Morgan Stanley (MS) - Get Report downgraded the stock to equal weight with a $60 price target and said that growth headwinds are building.

Demandware (DWRE) surged more than 50% after (CRM) - Get Report agreed to buy the enterprise cloud-software company for roughly $2.8 billion. Salesforce will offer $75 a share, a 56% premium to Tuesday's close. The acquisition is expected to close in the second quarter ending in July.

Alibaba (BABA) - Get Report fell after its largest shareholder, SoftBank, said it planned to sell at least $7.9 billion of its stake. SoftBank's new stake will amount to around 28%, down from 32%. The stock closed down 6.48%.