Both the Dow Jones industrial index and the Nasdaq composite index rose 0.2 percent.