Herschelle Gibbs and A. B. de Villiers smashed hundreds to fire South Africa to an impressive 294-5 in the first one-day international against Pakistan here.
Gibbs hit 102 and de Villiers made a brisk unbeaten 103 as the tourists took full advantage of a depleted Pakistan attack at the Gaddafi Stadium.
Gibbs hit 11 boundaries and a six during his aggressive 128-ball knock, while de Villiers upped the tempo in the last five overs, hitting nine boundaries and three sixes in his 95-ball innings.
De Villiers went on the rampage after Gibbs was run out, hitting two sixes and two fours in one Sohail Tanveer over to enter the 90s. He then hit a six and a boundary to reach his third one-day hundred off 93-balls.
De Villiers added 137 runs for the third wicket with Gibbs to set the pace against a home bowling attack that was missing frontliner Mohammad Asif.
Asif had failed to fully recover from an elbow injury that recurred during the second Test here last week.
Gibbs, with skipper Graeme Smith (34) gave the tourists a solid start of 85 for the first wicket after they won the toss and decided to bat.
Confusion between Smith and Gibbs gave Pakistan the breakthrough when the South African captain failed to beat a throw from square-leg after he was refused a second run by his fellow opener.
Jacques Kallis, who made 421 runs during South Africa's 1-0 win in the two-Test series over Pakistan, made only eight before giving a return catch to leg-spinner Shahid Afridi.
Gibbs reached three figures with a single off spinner Mohammad Hafeez before he was run out in the 43rd over.
Justin Kemp fell leg-before to Tanveer, who finished with 1-52 on his one-day debut.
De Villiers continued to maul the bowling and added 50 for the fifth wicket with Mark Boucher, who made 14 as the tourists scored 51 in the last five overs.