Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 2502
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: 2502
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 CICS transaction slow response time vasanthz All Other Mainframe Topics 1 Thu Jan 19, 2017 1:31 am
No new posts INDEPENDENT CICS TS 4.1 MRO REGION UP... Kyle Carroll CICS 0 Wed Dec 14, 2016 6:55 pm
No new posts CICS START AND CANCEL blayek CICS 1 Wed Dec 07, 2016 3:27 am
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us