Page 1 of 1

Parsing stem variables

PostPosted: Mon Mar 19, 2012 2:11 pm
by swetha489
Dear All,

I have a Rexx code which on completion will generate a stem variable containing a few values. I have to use this stem in another function. This works fine as long as the function is an internal function.

I am curious to know, if there is a way to parse stem variables to an external function. (By external function I mean, a function written as a separate Rexx in another member of the same PDS.)

Can someone help me with this please?

Re: Parsing stem variables

PostPosted: Mon Mar 19, 2012 2:34 pm
by MrSpock
No.

Re: Parsing stem variables

PostPosted: Mon Mar 19, 2012 3:26 pm
by swetha489
Ok! Thanks.

Re: Parsing stem variables

PostPosted: Mon Mar 19, 2012 8:34 pm
by mongan
You could write a member with the variables in it. You can also use VPUT VGET. All depends upon what you want to do and which environments you are using and .... In other words, there are other ways to achieve what you want.

Re: Parsing stem variables

PostPosted: Wed Mar 21, 2012 2:05 pm
by swetha489
Mongan! Yes, that (writing variables to a member) is precisely what I did.