Hey,
I was wondering if any of you rexx "veterans" know the best "trick" to pass a stem from an external routine to a "main" program ?
The RETURN can pass 1 stem value but not the full stem.
I didn't find anything about this in the rexx IBM reference pdf nor in the thing you always call the "fine manual".
I have contemplated ideas either using the data stack, VPUT/VGET , reading/writing the stem, making a string out of the stem and rebuild the stem, or transfering the stem contents 1 by 1 with a function.
But I have no idea what the best optimal way would be, I only have 2 months rexx programming experience so I though I would try to ask first.
Also, I'm not allowed to install any libraries or anything. My internship master is in vacation so I can't ask him either.
So, the question is, do you have an optimal, "good practice" trick to pass full stem variables from an external routine to a "main" program ?