Sorry, I did not pay attention to those conditions.
you know, phreg only can deal with contiunous variables; that is, if you do not regard those as continuous, you have to change those variables to dummies.for example, for x, you can write two new variables ,x1=(x=1) and x2=(x=2) and so on;
i believe that proc tphreg can deal with class directly, you can do some research on that.