|Third one-day international (Johannesburg)|
|South Africa 343-5 beat Pakistan 309 by 34 runs|
Hashim Amla and AB de Villiers shared a record partnership as South Africa beat Pakistan by 34 runs in the third one-day international in Johannesburg.
Amla scored 122 and De Villiers 128 in a third-wicket stand of 238 from 182 balls, to lead the hosts to 343-5.
It was the highest third-wicket partnership in ODIs, eclipsing Rahul Dravid and Sachin Tendulkar's unbroken 237 for India against Kenya in 1999.
The fourth game of the five-match series is in Durban on Thursday.
Pakistan never threatened to overhaul South Africa's total despite Shahid Afridi's 88 from 48 balls at number seven.