GQEBERHA, South Africa (AP) -- South Africa had Sri Lanka on the rack at 205-5 in a chase of 348 on the fourth day of the second test at St George's Park on Sunday.
Medium-pacer Dane Paterson and spinner Keshav Maharaj took two wickets each after fast bowler Kagiso Rabada started prising out Sri Lankans by pinning opener Dimuth Karunaratne while he was playing defense in the third over.
Captain Dhananjaya de Silva and Kusal Mendis took up Sri Lanka's counterattack from 122-5 in an unbeaten partnership of 83 runs.
De Silva and Mendis, both 39 not out, ensured a fifth day of play but the odds remained in South Africa's favor.
The highest successful run chase at the ground was 271 by Australia 27 years ago.