Override Default Legacy SAS Data Type

To override the predetermined legacy SAS data type, use the DBSASTYPE= option in order to specify the data type to which to convert. Note that some data types are not supported.
For example, in the following code, DBSASTYPE= specifies a data type to use for the column MYCOLUMN:
proc print data=mylib.mytable (dbsastype=(mycolumn=char(20)'));
run;
   
If a conversion is not supported, an error occurs. For more information, see DBSASTYPE= Data Set Option.