Employee was lifting the pin on the rear of a Komatsu WD-600-3 wheel dozer to attach a tow cable. When lifting up the pin, employee felt discomfort in right side lower abdomen. Employee was diagnosed with an inguinal hernia on 1/12/2017. Employee is having surgery today, 1/20/2017 to repair the hernia. Employee did not have any lost time until today, 1/20/2017.