The link below will take you to a capsule history of the 34th, and that is a good place to start. Ordering your ancestor's records would give you a better idea of his specific service. You can get them by clicking in the red-outlined box at the top of this page