Port of Spain: South Africa captain Graeme Smith has narrowly missed out on a century but his team remains firmly on course for victory at lunch on the fourth day of the first Test against the West Indies at Queens Park Oval.