Hi @ivarenho , several of your posts are about the libname and &outpath problems. To solve these issues:
1) always add these two lines of code before you use a libname or a &outpath macro. These two lines of code are to define the libname and the &outpath macro. Without these two lines of code, SAS do not know where (or which folder) to locate the file and do not know how to resolve the &outpath macro. Please read @Cynthia_sas 's answer and understand this issue.
libname pg1 "S:/workshop/EPG1V2/data";
%let outpath=s:/workshop/output;
2) when you use the already defined libname and &outpath macro, make sure you specify the file location correctly with correct syntax to resolve the macro. You cannot only put an ampersand & without the macro name. The correct code and syntax is as follows, for example:
ods powerpoint file="&outpath/pressure.pptx"
style=powerpointlight;