Close the RTF destination.
The ODS RTF CLOSE statement closes the RTF destination.
ods rtf close;