Major U.S. stock indexes ended the day pretty much where they started as trading was quiet ahead of the Memorial Day holiday.
Meager gains by the Standard & Poor's 500 index and the Nasdaq composite were enough to leave both at record highs.
Both marked their seventh straight day of gains.
The Dow Jones industrial average of 30 major stocks fell slightly.
Consumer-focused companies rose. Costco gained 1.8 percent after reporting solid earnings.
The S&P 500 edged up a fraction to 2,415.
The Dow Jones industrial average fell 2 points, less than 0.1 percent, to 21,080. The Nasdaq composite rose 5 points, or 0.1 percent, to 6,210.
More stocks rose than fell on the New York Stock Exchange.