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.
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss. Register now and lock in 2025 pricing—just $495!