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
 
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: 8165
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: 2442
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: 8165
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: 8165
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 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
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm

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