Often in biomedical research the aim of a study is to compare the outcomes of several treatment arms while adjusting for multiple clinical prognostic factors. In this paper we focus on computation of the direct adjusted survival curves for different treatment groups based on an unstratified or a stratified Cox model. The estimators are constructed by taking the average of the individual predicted survival curves. The method of direct adjustment controls for possible confounders due to an imbalance of patient characteristics between treatment groups. This adjustment is especially useful for non-randomized studies. We have written a SAS macro to estimate and compare the direct adjusted survival curves. We illustrate the SAS macro through the examples analyzing stem cell transplant data and Ewing's sarcoma data.