You have to decide on the name of a file to hold some code. Once you have done that, try this code:
filename somefile 'path to the file you have selected';
data _null_;
file somefile;
put 'data comes in all shapes and sizes; name="Fred"; run;' ;
run;
%include somefile;
Catch up on SAS Innovate 2026
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.