For derivatives of the L78M family and thus also for the L78M12CDT-TR, no statement on long-term availability can be made.
However, since such voltage regulators have been used for several decades and will probably continue to be used in the future, it should probably be possible to assume that they will be available for many years to come.
Does it answer your question?
Regards
/Peter
In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.