IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Data transfer between multiple CICS Regions


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Nov 17, 2009 4:43 pm
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: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Nov 17, 2009 5:34 pm
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Nov 18, 2009 4:35 am
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Nov 18, 2009 6:00 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts SCOPE PENDING option -check data DB2 2
Search our Forums:

Back to Top