Override Default Legacy SAS Data Type

To override the predetermined legacy SAS data type, you can specify 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 information, see DBSASTYPE= Data Set Option.