Lahore: Graeme Smith shared an undefeated 88-run partnership with Jacques Kallis to take South Africa close to a winning position against Pakistan at the close on the third day of the second Test at Gaddafi stadium on Wednesday.
The tourists' skipper, who made the 19th half century of his career, batted patiently to score 75 from 164 balls with 11 fours in a second innings total of 154 for two that gave South Africa an overall lead of 305 runs in the match.
The visitors bowled out Pakistan for 206 runs one over after lunch for a first innings lead of 151 after fast bowler Makhaya Ntini took three wickets in one over before the interval.
Scorecard | Photo gallery
Pakistan's former captain Inzamam-ul-Haq, playing in his final Test, added just four runs to his overnight total of 10 before he was snapped up by Mark Boucher off Kallis.
Boucher completed 400 dismissals in Tests as Misbah-ul-Haq was caught after top scoring with 41.
There was more bad news for Pakistan when pacer Mohammad Asif retired with an elbow injury after bowling just four overs
Asif who has struggled with his elbow since last year and missed the 2007 World Cup will have an MRI scan on Thursday to determine when he can resume playing.
The final session belonged to the visitors with Kallis (37) continuing his fine form with 351 runs so far in the two tests.
South Africa lead the series 1-0.