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: 8121
Location: East Dubuque, Illinois, USA

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: 2435
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: 8121
Location: East Dubuque, Illinois, USA

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: 8121
Location: East Dubuque, Illinois, USA

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 Paasing symbolic parameter to instrea... Anirudh Anand JCL & VSAM 1 Thu Jul 27, 2017 1:22 pm
No new posts Passing data from REXX to C programme... chong.zhou CLIST & REXX 3 Wed Jul 26, 2017 9:11 pm
No new posts copying data without knowing location arunsoods DFSORT/ICETOOL 11 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Changeman get multiple "Browse C... elixir1986 Compuware & Other Tools 4 Fri Jul 14, 2017 1:48 am


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