Parsing stem variables



IBM's Command List programming language & Restructured Extended Executor

Parsing stem variables

Postby swetha489 » Mon Mar 19, 2012 2:11 pm

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?
swetha489
 
Posts: 10
Joined: Wed Mar 14, 2012 4:16 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Parsing stem variables

Postby MrSpock » Mon Mar 19, 2012 2:34 pm

No.
User avatar
MrSpock
Global moderator
 
Posts: 807
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times

Re: Parsing stem variables

Postby swetha489 » Mon Mar 19, 2012 3:26 pm

Ok! Thanks.
swetha489
 
Posts: 10
Joined: Wed Mar 14, 2012 4:16 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Parsing stem variables

Postby mongan » Mon Mar 19, 2012 8:34 pm

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.
User avatar
mongan
 
Posts: 211
Joined: Tue Jan 11, 2011 8:32 pm
Has thanked: 1 time
Been thanked: 5 times

Re: Parsing stem variables

Postby swetha489 » Wed Mar 21, 2012 2:05 pm

Mongan! Yes, that (writing variables to a member) is precisely what I did.
swetha489
 
Posts: 10
Joined: Wed Mar 14, 2012 4:16 pm
Has thanked: 0 time
Been thanked: 0 time


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post