Sending Make SAS Data Step to a data table returns the text for a SAS DATA Step that can re-create the data table in SAS. For example,
dt << Make SAS Data Step
Sending Make SAS Data Step Window produces this code in a window with a .SAS suffix, so that it can be easily sent to SAS.

Help created on 9/19/2017