I have created a series of sas macros that I wrapped inside of a macro called: %process.
The macro %merge generates a sas dataset No 001. that creates a series of macro array variables using call symput. The macro variables are used in the next data step no 002. that is being generated. The array variables are used to generate sas statements.
If I remote submit all of the macro defintions and call %process directly it works perfectly.
If I call macro %process from a data step using call execute, then the call symput statements do not generate the macro variables and the 2nd data step does not get the generated sas statements.
But if the macros are creating datasteps themselves then surely calling the macro from within another datstep will not work. I'm not quite sure what you are trying to do here. Could you maybe post a bit more code?