Stocks Climb on Factory Data