Cognizant interview question

Asked me to write programs in Mainframe