Hi Dan,
In our dropbox folder I have created a 'program' folder, in which i have saved the programs. Please upload following programs adef.sas, adxp.sas, tlb.sas , fsurv.sas and tresp.sas from dropbox to your sas studio and rerun first adxp and then adef. Let me know if you still have issues.
Thanks,
Vikas