12-20-2013 02:41 AM
Well, I am a Sir (although, I haven't been knighted), so I'll try to answer your question.
If you are just trying to get the output from a phreg procedure to pdf output, just place the ods pdf file= and odf pdf close around your procedure as shown below. Be sure to include the full path and file name of where you'd like the pdf stored after the "ods pdf file=" statement.
ods pdf file='c:\SurvivalAnalysis.pdf';
proc phreg data=Myeloma;
model Time*VStatus(0)=LogBUN HGB Platelet Age LogWBC
Frac LogPBM Protein SCalc
/ selection=stepwise slentry=0.25
ods pdf close;