Never use special characters in path and file names, only use the 26 letters (upper and lower case), digits and underlines.
.sas files are program files, containing plain text, which can be opened with any text editor without exporting.
PROC EXPORT is used for exporting data from datasets or views, not for programs. Your PROC EXPORT would search for a dataset called SAS in library DEF.
Never use special characters in path and file names, only use the 26 letters (upper and lower case), digits and underlines.
.sas files are program files, containing plain text, which can be opened with any text editor without exporting.
PROC EXPORT is used for exporting data from datasets or views, not for programs. Your PROC EXPORT would search for a dataset called SAS in library DEF.