Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Accessing memory across different CICS AOR regions.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
rathinakarthik

New User


Joined: 25 Jul 2006
Posts: 24

PostPosted: Fri Jul 17, 2009 5:22 pm    Post subject: Accessing memory across different CICS AOR regions.
Reply with quote

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
View user's profile Send private message

Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2504
Location: Atlanta, Georgia, USA

PostPosted: Fri Jul 17, 2009 5:44 pm    Post subject: Reply to: Accessing memory across different CICS AOR regions
Reply with quote

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
View user's profile Send private message
rathinakarthik

New User


Joined: 25 Jul 2006
Posts: 24

PostPosted: Fri Jul 17, 2009 6:13 pm    Post subject: Reply to: Accessing memory across different CICS AOR regions
Reply with quote

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
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2504
Location: Atlanta, Georgia, USA

PostPosted: Fri Jul 17, 2009 6:57 pm    Post subject: Reply to: Accessing memory across different CICS AOR regions
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Is CICS BMS logic on z/OS different ... Andi1982 CICS 2 Fri Dec 01, 2017 1:56 pm
No new posts How to get complete URL from CICS Con... mbattu CICS 1 Tue Nov 14, 2017 11:59 pm
No new posts Integrating CICS applications craig2020 CICS 1 Sun Oct 29, 2017 6:49 pm
No new posts ASP3 ABEND IN CICS Vedant CICS 0 Fri Oct 20, 2017 3:18 pm
No new posts Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us