So I have finished making BREXX reentrant (recursive in fact) by moving all globals into a structure and popping and pushing it onto what I call the context stack.
At least 1 bug remains - but the reason I am posting is that I am having a hard time getting it to call itself.
In fact I cannot get it to call a simple non-rexx EXEC. And calling the other only way works if I specify 'DMSREX prog'.
There is also some bug wrt to the program name being missing when staring DMSREX! Obs I will investigate.
The question to the group is back in the days of VM/370 R6 what was the story / restrictions in calling a program from an EXEC and vice-versa and recursively, and what was CMS Subset mode (or is that a figment of my imagination). In sum, what is the art of the possible so far as the OS is concerned?
Cheers
A