The producer price index was expected to increase by 0.2% in July, according to the Dow Jones consensus.