Aslam and Azhar Ali (58) produced a 131-run stand for the first wicket, and with Babar Azam not out on 16 the tourists were set for a final showdown at Hamilton's Seddon Park.
It is not a foreign situation for them.
When they required 292 in 62 overs at lunch it evoked memories of an epic run chase in Sharjah two years ago when they smacked 302 in the fourth innings in 57.3 overs to beat Sri Lanka.
Pakistan require 211 runs off 204 balls if they are to snatch victory and level the series.
More From This Section
After losing the first Test in Christchurch, only a win in Hamilton can keep Pakistan second to India in the world rankings.
A draw or a loss will consign them to fourth place below England and Australia.
At the top of the innings, Azhar and Aslam were resolute with their best performances of the series although Aslam had two heart-stopping moments.
He could also have been run out on 45 had Mitchell Santer's throw from midwicket been fast and direct to the wicketkeeper.
Aslam brought up his sixth 50 in nine Tests carving a Neil Wagner bouncer to the boundary, giving him some satisfaction in a match where he dropped three critical catch offerings in the field.
Azhar, standing in as captain for the unavailable Misbah-ul-Haq, faced 147 deliveries before he reached his 23rd half century with a single off Matt Henry.