Tamino Xml and Mainframe

I would like to know how to extract data from mainframe into tamino xml ?