The Dow Jones Industrial Average gained 27 points Thursday as markets closed mixed amid two consecutive days of positive inflation data.