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
 

 

Data transfer between multiple CICS Regions

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

New User


Joined: 23 Sep 2009
Posts: 22
Location: Bangalore

PostPosted: Tue Nov 17, 2009 4:39 pm    Post subject: Data transfer between multiple CICS Regions
Reply with quote

Hi,

Please could you let us know how the data is exchanged between 2 CICS Regions.

Is there any limitation for the Commarea with respect to size if we are using this between the regions.

Thanks in advance !!
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7932
Location: Bellevue, IA

PostPosted: Tue Nov 17, 2009 4:43 pm    Post subject:
Reply with quote

The limit on the length of DFHCOMMAREA does not change just because you are doing something different -- it is an absolute limit, not a relative one.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Tue Nov 17, 2009 5:34 pm    Post subject:
Reply with quote

Isn't DFHCOMMAREA used for passing information between applications in 1 CICS region?
TS is talking about 2 CICS regions sharing info, in that case maybe CICS SPOOL is a solution?
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Wed Nov 18, 2009 4:25 am    Post subject:
Reply with quote

commarea CAN be used to pass data between the same or different CICS regions , size is max of 32767
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7932
Location: Bellevue, IA

PostPosted: Wed Nov 18, 2009 4:35 am    Post subject:
Reply with quote

From the CICS Application Programming Reference manual, section 1.205:
Quote:
The valid range for the COMMAREA length is 0 through 32 763 bytes. If the length provided is outside this range, the LENGERR condition occurs.
Elsewhere IBM recommends no more than 24K.
Back to top
View user's profile Send private message
koteswara

New User


Joined: 23 Sep 2009
Posts: 22
Location: Bangalore

PostPosted: Wed Nov 18, 2009 1:42 pm    Post subject:
Reply with quote

Thanks for the response.

Is it possible to access the same address for 2 CICS Regions.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7932
Location: Bellevue, IA

PostPosted: Wed Nov 18, 2009 6:00 pm    Post subject:
Reply with quote

Each CICS region has its own address space. The same memory address certainly exists in both regions -- but since each is separate, the memory may be used for two totally different things. Passing an address from one region to another and expecting to get anything other than a storage violation is not a valid expectation.
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 Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm


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