SAS Community, Here is my code...I am trying to run a proc phreg as follows: proc phreg data=cars; model (t1, t2)*status(0)=variables; output out=gas ressco=name1 name2 name3 resmart=name1 name2 _ ; run; I get the following error messages for ressmart name2: Error 22-322: Syntax error, expecting one of the following: ;, /, ATRISK, DFBETA, LD, LMAX, LOGLOGS, LOGSURV, NUM_LEFT, OUT, RESDEV, RESMART, RESSCH, RESSCO, STDXBETA, SURVIVAL, WTRESSCH, XBETA. Error 202-322: The option or parameter is not recognized and will be ignored. I did not use the programming statements method so not sure why this will not work? When I remove the ressmart line, the code runs for the other output statistics.
... View more