While appending datasets which have different lengths with help of set statement often leads to data truncation. Using proc SQL circumvents this problem easily.