India, May 31 -- Wall Street's main indexes hit record closing highs on Friday and posted weekly and monthly gains as Dell results drove tech shares higher, while investors awaited details on a potential U.S.-Iran deal.

President Donald Trump said in a social media post that he would make a final decision on the Iran deal on Friday. Tehran earlier said it was looking for action, not words, when it came to an agreement.

Dell Technologies surged 32.8% after raising its full-year profit and revenue forecasts on Thursday. The tech sector climbed 1.87%, fueled by gains in chip stocks.

Peers Hewlett Packard Enterprise and Super Micro Computer gained 12.6% and 11.6% respectively. Microsoft climbed 5.4%.

The software services index also advan...