On 1/12/07, Peter Rothman <[EMAIL PROTECTED]> wrote:
Besides a lot of 'steam lining' I thought I would be 'clever' and changed the GLOBALVs to 'PIPE var VarName 1 | var VarName'.
The EXECCOMM interface is known to be slow. With GLOBALV you only use it once to set the variable, with the Pipeline you need 2 for the same thing. I would expect that to be slow. Depending on the number of Rexx variables present and involved, you may gain back some performance using 'rexxvars' to retrieve all variables and have a 'lookup' stage select the ones to use. If there's enough variables to copy that this makes a difference, then I assume they contain the data your subroutine works on. It is often not hard to make the subroutine in a pipe stage and pass the data through the pipeline rather than the Rexx variables. But the most efficient approach is of course to keep the data in the pipeline entirely. Rob