Hi Rick, thank you for this post.
I have transposed my data in the long format per your guidance above.
However, for the model portion, I would like to perform a competing risks regression; see code for example with just one model below (would like to repeat this for 100 genes).
proc phreg data=test;
class gene1 (ref='0')/param=ref;
model localfailtime*localfailevent(0)= gene1/ eventcode=1 rl;
run;

I tried the below, but this does not work... any tips?
proc reg data=test2 noprint outest=PE;
by VarName;
model localfailtime*localfailevent(0) = Value;
quit;