my question is about %include code, which is used in primary.sas to include my setup.sas, my goal is to set up a sas library named RAW. my code been as follows:
*-----------first sentence in my primary.sas;
%include "/home/u63676684/template/myproject/Report/Macro/setup.sas";
*------------my setup.sas;
dm "log; clear;";
dm "out; clear;";
options missing = '' ;
libname _all_ clear ;
%let server=/home/u63676684/template;
%let project=myproject;
libname raw "&Server/&Project/data/rawdata";
1. when I run my setup.sas alone, RAW can be successfully set up as a sas library.
2. when I run my primary.sas to try to include my setup.sas, RAW cannot be created, without any ERROR or WARNING in my log, only with a NOTE: library “RAW” doesn't exist.
I have already checked all the pathname. They are set correctly.
Are there any points I should pay attention to? I'd appreciate it if you could point it out!🥹
my sas is set up in sas studio, macos