Martin Guptill and Daniel Flynn battled hostile pace bowling to guide New Zealand to 65 for no loss at the close of play on the third day of the final Test against South Africa at the Basin Reserve on Sunday.
The pair's opening stand was the highest of the series against South Africa and only the second time New Zealand's openers have passed 50 in the southern hemisphere summer.
Guptill and Brendon McCullum posted 124 against Zimbabwe in Napier in January.
Guptill was on 28, while Flynn, who was struck at least twice on the body as he tried to duck, weave and bob his way past the short-pitched bowling, was on 35 after the first full day's play in the weather-hit third Test.
The first two days of the match had been badly affected by rain with more than seven hours play lost, while both days also ended early due to bad light.
South Africa captain Graeme Smith had declared the visitors' first innings closed at 474 for nine shortly after tea, with Mark Gillespie taking six for 113.
Vernon Philander (29) was the final wicket to fall when he was caught on the boundary by Flynn to give Gillespie his sixth victim, following up his five for 59 in the second Test in Hamilton.
"To get six wickets was a pretty good feeling," Gillespie said. "It's a pretty flat wicket and ... they have got quality batters.
"On the really flat Basin pitch you just have to keep running in and bending your back and you can get rewards out of it, but it's such a flat wicket it's pretty tough.
"Today I had my wife, my parents, my brothers and their families were here. To do it on my home ground in front of them was pretty special."
Alviro Petersen top scored with 156, while JP Duminy scored 103 for the visitors, who look to have batted New Zealand out of the Test and series.
South Africa have a 1-0 lead in the three-match series following their nine-wicket victory in the second Test at Seddon Park in Hamilton, where they bowled New Zealand out for under 200 in both innings.
"The wicket played really nicely and it looks like a good wicket now," Petersen said. "Don't know if anything can change in the morning. What we can do is try and build a lot of pressure on them.
"We did that but then towards the end we just released a little. We've seen in the whole series, once they are two or three down, things could happen for us.
"So we are probably just three or four wickets away."
Scorecard
South Africa first innings (overnight 246-2)
G.Smith c van Wyk b Bracewell 5
A.Petersen lbw b Martin 156
H.Amla c van Wyk b Gillespie 63
JP Duminy c Taylor b Gillespie 103
AB de Villiers b Martin 38
J.Rudolph c van Wyk b Gillespie 11
M.Boucher c Williamson b Gillespie 46
D.Steyn c Guptill b Gillespie 0
V.Philander c Flynn b Gillespie 29
M.Morkel not out 10
Extras (w-3, nb-3, b-6, lb-1) 13
Total (for nine wickets dec, 148.4 overs) 474
Fall of wickets: 1-13, 2-106, 3-306, 4-362, 5-381, 6-388, 7-404, 8-459
Bowling: Martin 28-5-95-2; Bracewell 30-3-106-1 (w-1); Gillespie 33.4-7-113-6 (w-2, nb-2); Vettori 42-11-98-0; Brownlie 2-0-20-0; Williamson 13-1-35-0
New Zealand first innings
D.Flynn not out 35
M.Guptill not out 28
Extras (lb-1, nb-1) 2
Total (for no wickets, 25 overs) 65
Bowling: Steyn 7-3-11-0; Philander 6-0-30-0 (nb-1); Morkel 6-3-6-0; de Lange 4-0-14-0; Duminy 2-0-3-0.
Photograph: South Africa's Alviro Petersen celebrates his century while teammate JP Duminy looks on during day three of the Third Test match between New Zealand and South Africa at Basin Reserve. (Hagen Hopkins/Getty Images)