An unbeaten century by captain Neil Brand ensured South Africa A held a slight advantage after the opening day of the second four-day match against Sri Lanka A in Benoni.
The left-hander scored 122* (243 balls; 11 fours, one six) to ensure his side was in a solid position in the series finale, reaching the close on 316-7.
The match is a must-win encounter for the hosts after they lost the opening match by six wickets in Kimberley.
Apart from Brand, there were also starts for Tshepang Dithole (27), Marques Ackerman (37), Dewald Brevis (49) and Beyers Swanepoel (34) after the home side lost the toss and were asked to bat first.
The skipper, alongside Dithole, put on 41 for the opening wicket, before the South Africans lost the latter and Jean du Plessis (nought) within the space of a run.
Ackerman then joined Brand for a third-wicket stand of 62, followed by the biggest partnership of the innings between Brevis and his captain that yielded 98 for the fourth wicket.
The hosts may feel they then surrendered some of the initiative after slipping from 202-3 in the 53rd over to their eventual end of play score.
The other men to fall were Mihlali Mpongwana (12), Rivaldo Moonsamy (11) and Swanepoel, leaving Migael Pretorius (nine not out) keeping Brand company at the close.
Sri Lanka’s best bowler on the day was slow left-armer Sonal Dinusha, who bagged 3-48.
Photo: Lee Warren/Gallo Images