title: How to call one macro program from another in SAS Enterprise Guide?
body: <p>Is there any macro command that allows calling one program from another (the <code>%run_program()</code> pseudo code)?</p>
  
  <p>Program "Settings":</p>
  
  <pre><code>%let myvar="HELLO WORLD!";
  </code></pre>
  
  <p>Program "Program":</p>
  
  <pre><code>%run_program(Settings); *Pseudo-code;
  %put &amp;myvar; *Should print *Should print "HELLO WORLD!";
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/ET7BA.png" alt="Overview"></p>