Pragmatic approach to the study of syntactic units can briefly be described as the study of the way language is used in particular contexts to achieve particular goals.
Syntactic meaning is the way in which separate word meanings are combined to produce meaningful word-groups and sentences.
Green ideas sleep furiously. This sentence is quite correct grammatically. However it makes no sense as it lacks syntactic meaning.