Thanks KurtBremser for your solution. I'm using sashelp.vmacro to save the global variable to permenant library and assigning back the global variable in the submodule code. The below solutions is working fine. Main Module: /* Global variables */ %global country application_date include_section_personal ; %let country = AU; %let application_date = today()-60; libname append "F:\SAS Data"; %PUT _GLOBAL_; /* Save Globale variables into Append library */ data Append.vars; set sashelp.vmacro(where=(scope='GLOBAL')); run; Submodule (Personal): libname append "F:\SAS Data"; /* Place the macro variable(s) back into the GLOBAL symbol table from Append library */ data _null_; set append.vars(where=(scope='GLOBAL')); if substr(name,1,3) ne 'SYS' then do; call execute('%global '||strip(name)||';'); call execute('%let '||strip(name)||'='||strip(value)||';'); end; run; Thanks for all your help!
... View more