Here's some instructions and explanations on how to capture output that is shown to datasets. https://blogs.sas.com/content/sastraining/2017/03/31/capturing-output-from-any-procedure-with-an-ods-output-statement/
You capture the data you need from the output and then have to wrangle into the desired form. This is because every journal/university/company has a different requirement for the exact output.
... View more