If you have not suppressed the ODS Graphics you might try that to see if that makes any difference. For example prior to your PROC TTEST statement specify the following statement:
ODS GRAPHICS OFF;
You may want to open a track and contact SAS Technical Support to determine why your TTEST is not creating the ODS OUTPUT data sets.