MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to share Global variables across rexx programs !!

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
amit4u79
Beginner


Joined: 24 Oct 2005
Posts: 109
Topics: 36
Location: India

PostPosted: Mon Feb 26, 2007 10:01 pm    Post subject: How to share Global variables across rexx programs !! Reply with quote

Hi Experts,

As always thanks a lot for all your help on my previous queries I had posted.

Well, I am stuck with a problem that I need to share stem variable across rexx programs and I read rexx manuals but could not find any useful information.

If anyone of you have a sample program on how to share global variables(may be simple variables or stem variables) across 2 rexx programs, it will be great(with or without using ISPF services).

Thanks again for all your help on this.

Regards,
- Amit.
_________________
I did not fail; I have found 10,000 ways that would not work - Albert Einstein.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Tue Feb 27, 2007 12:19 am    Post subject: Reply with quote

In standard Rexx, there is not an architected way to do this. You can try Rob Scott's STEMPUSH and STEMPULL or you can probably work up your own way to put the items on the stack in one routine and pull then off in another. Or if efficiency isn't critical, you could do the same with a temporary file. I don't think I would use ISPF services for this for several reasons (naming conventions, variable and profile size limitations, variable access oddities in ISPF, etc).
Back to top
View user's profile Send private message Visit poster's website
amit4u79
Beginner


Joined: 24 Oct 2005
Posts: 109
Topics: 36
Location: India

PostPosted: Tue Feb 27, 2007 1:14 am    Post subject: Reply with quote

Hi Semigeezer, thanks a lot for your prompt response. I will try the assembler routine as the idea of writing to a temp file might not suite my requirement.

Thanks a lot again for your help.

Regards,
- Amit.
_________________
I did not fail; I have found 10,000 ways that would not work - Albert Einstein.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group