Hashim Amla was on 99 and Jacques Kallis was not out 17, with South Africa leading by 292 runs overall.