I am not sure if this addresses your situation but if you mean that you want to execute some code before executing another SAS program file perhaps you want a control SAS program that includes the other programs. Then you could place the macro calls before/after the include. The control program would look something like:
%etl_begin ;
%include "path/SASProgram1.SAS";
%etl_end;
%etl_begin ;
%include "path/SASProgram2.SAS";
%etl_end;
%etl_begin ;
%include "path/SASProgram3.SAS";
%etl_end;
If you have not used %include all it does is in effect read an external progam file into the current program.
... View more