View previous topic :: View next topic |
Author |
Message |
amit4u79 Beginner
Joined: 24 Oct 2005 Posts: 109 Topics: 36 Location: India
|
Posted: Mon Feb 26, 2007 10:01 pm Post subject: How to share Global variables across rexx programs !! |
|
|
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 |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Tue Feb 27, 2007 12:19 am Post subject: |
|
|
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 |
|
 |
amit4u79 Beginner
Joined: 24 Oct 2005 Posts: 109 Topics: 36 Location: India
|
Posted: Tue Feb 27, 2007 1:14 am Post subject: |
|
|
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 |
|
 |
|
|