View previous topic :: View next topic
|
Author |
Message |
hiravibk Warnings : 1 Active User
Joined: 14 Dec 2008 Posts: 107 Location: India
|
|
|
|
Hi All,
The maximum COMMAREA size i believe is 64K. But i read that IBM recommends that the commarea size be limited to 24K to 32K. Any reason why this recommendation?
Thanks |
|
Back to top |
|
|
valyk
Active User
Joined: 16 Apr 2008 Posts: 104 Location: South Carolina
|
|
|
|
The maximum Commarea is 32k. The reason is that orignally CICS was built for 16 bit architecture, and there were 15 bits for addressing storage. 2^15 is 32k.
For applications that require a commarea larger than 32k, use channels and containers. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Actually, the maximum-length is 32763 as a signed binary-halfword.
Bill |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
The maximum COMMAREA size i believe is 64K. |
Your belief is wrong. As has been pointed out, the limit is half that (minus 1). And why did you not check this in the manual (link at the top of the page)? It is quickly and easily found in the CICS Application Programming Reference manual -- not to mention a search of this very forum would find a number of topics discussing the DFHCOMMAREA limit.
I believe the 24K recommendation is to allow for system headers and other overhead. |
|
Back to top |
|
|
hiravibk Warnings : 1 Active User
Joined: 14 Dec 2008 Posts: 107 Location: India
|
|
|
|
Thank you so much. That helps! |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
As Robert had said, this subject has been discussed quite extensively.
For more hits, instead of DFHCOMMAREA, search this forum for EIBCALEN.
Bill |
|
Back to top |
|
|
|