View previous topic :: View next topic
|
Author |
Message |
rathinakarthik
New User
Joined: 25 Jul 2006 Posts: 24
|
|
|
|
Hi,
I am facing an issue in accessing the memory set in one CICS Region, which is set in another CICS AOR. I am doing a DPLink to region B(assume) from region A. I am passing memory reference in pointer in linkage from A to B. The programs in region B are failing while accessing the memory. Is there any restrictions.
Please advise.
Thank you |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
You can't pass storage-addresses from PGM "A" and expect them to be successfully resolved in DPL'd PGM "B", which resides in a completely different region, regardless whether this region is in the same or different LPAR.
Memory storage-addresses are local to the region where they reside.
You'll have to find another way to accomplish this.
Also, Dynamic CALL USING (if you're exploring this) are for Local calls, not for Remote. |
|
Back to top |
|
|
rathinakarthik
New User
Joined: 25 Jul 2006 Posts: 24
|
|
|
|
Thank you for your reply.
I tried the same scenario with another region. It worked fine.
A -DPL-> C Working fine
A -DPL-> B Getting error while accessing memory
DPLed pgm is same in C and B. Both are in same LPAR.
Could you please advise?
Thank you |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
I would have to surmise that you were lucky, because you ran this in a Test environment across low-usage regions.
I will guarantee you if this is implemented into Production, you will wreak havoc, because you will corrupt the storage located at the passed-address of the remote region and (quite possibly) cause a Storage Violation (SM010x), especially if you hit the SCZ of the acquired storage and wipe it out or at the very least, corrupt whatever is at the address that you've passed, which could contain anything.
But, I've given you my recommendations (IE: 02 cents) and that's about all I can do. |
|
Back to top |
|
|
|