Maybe this old thread might give some ideas (answered by @Patrick !):
https://communities.sas.com/t5/SAS-Data-Management/Is-it-possible-automatically-ganarate-SAS-code-from-ETL-or-ETLs/m-p/117200/highlight/true#M1375
... View more
http://support.sas.com/documentation/cdl/en/acreldb/63647/HTML/default/viewer.htm#a001395310.htm BULKLOAD. The documenation has some examples about half way down.
... View more