Hundreds of Indian techies working as software engineers or providing back office services to global firms are setting up a pan-India trade union to protect their jobs amid layoffs by many IT firms, including Infosys, Wipro, Tech Mahindra and Cognizant, said a functionary of a employees forum on Tuesday.