We have an old REXX exec that I had to modify.
This is a rather simplistic description but it consists of 2 parts - 1 to
set up the environment(variables) and 2 to use the variables setup in 1.
Bottom I had problems modifying it so I re-wrote it.

The original used GLOBALV extensively - part 1 would do PUTs and part 2
would do GETs.
Besides a lot of 'steam lining' I thought I would be 'clever' and changed
the GLOBALVs to 'PIPE var VarName 1 | var VarName'.

However the new exec ran much slower than the old.

I then did a test to only compare GLOBALV PUT/GET to setting and retrieving
the variable with PIPE var stage.

The pipe stage was much slower.

I thought the pipe logic would be better - obviously mistaken.

Any comments - any other method I could have used that is perhaps faster
than GLOBALV?

Thanks
Peter

Reply via email to