South Africa have set Pakistan a mammoth target of 342 runs to win the second ODI and the three-match series at the Wanderers Stadium on Sunday.
After being put in to bat first, the home team produced a much better display than they did in the series opener on Friday and scored a more than competitive total of 341 for six in their allotted 50 overs.
Captain Temba Bavuma finished the innings with the top score of 92 off 102 balls with the help of nine fours.
He was well supported by former captain Quinton de Kock—who managed to score 80 off 86 balls—and last match centurion Rassie van der Dussen, who scored a quick-fire 60 off just 37 balls which included six fours and four sixes.
Left-hander David Miller also played a brilliant cameo at the back end of the innings where he scored 50 not out off just 27 balls with the help of three fours and three sixes. It was the fastest half-century by any batsman from South Africa in the history of ODI cricket.
For Pakistan, right-arm pacer Haris Rauf was the pick of the bowlers as he registered figures of three for 54 in his quota of 10 overs.
Left-arm pacer Shaheen Shah Afridi and right-armers Mohammad Hasnain, Faheem Ashraf managed to claim a wicket each.
The most disappointing aspect for the visitors will be the bowling performance of leg-spinner Shadab Khan who finished wicketless for the second match in a row.