Sensex trading flat amid weak global cues