View previous topic :: View next topic
|
Author |
Message |
lucky.rohith Currently Banned New User
Joined: 06 Aug 2006 Posts: 10
|
|
|
|
Hi
What is the maximum size of DFHCOMMAREA?
is tat 32k or 64k? |
|
Back to top |
|
|
venkagov
New User
Joined: 10 Aug 2006 Posts: 6 Location: Chennai
|
|
|
|
Hi,
The maximum size of DFHCOMMAREA is 32K, however it is recommended (by IBM) that it not exceed 24K.
Regards,
Venkagov |
|
Back to top |
|
|
anandss6
New User
Joined: 12 Dec 2005 Posts: 7 Location: trivandrum
|
|
|
|
Hi
The maximum size of DFHCOMMAREA is 64k
Regards
Anand |
|
Back to top |
|
|
naresh_1246
New User
Joined: 19 Aug 2006 Posts: 1
|
|
|
|
max size of dfhcommarea is 32k |
|
Back to top |
|
|
meetreks
New User
Joined: 28 Sep 2006 Posts: 26 Location: Edinburgh
|
|
|
|
Actually, with the news CICSTS 2.1 or above, there is no specific limit to the size of DFHCOMMAREA. But for paging constraints, it is always better to hold it down to <32K. |
|
Back to top |
|
|
dineshpost
New User
Joined: 06 Nov 2008 Posts: 2 Location: India - Chennai
|
|
|
|
The Max size of DFHCOMMAREA is 65k |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Why argue when you can check the manual (link at the top of the page)? If this had been done, someone could have found the Application Programming Reference manual for CICS, where section 1.205 states
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. |
Note that EIBCALEN is a PIC S9(04) COMP field and therefore cannot exceed 32767 (or 32K minus 1) so that sets the absolute limit on commarea length -- unless IBM changes the EIB structure, and that is not very likely to happen in the foreseeable future. IBM took 4 bytes off this maximum, so the real limit is 32763. However, elsewhere IBM recommends NOT using more than 24K of commarea. |
|
Back to top |
|
|
MBabu
Active User
Joined: 03 Aug 2008 Posts: 400 Location: Mumbai
|
|
|
|
Darn. I liked all the other answers, which can be summed up by the formula:
Max commarea length = 1024 * (random number between something and something else) + (# of people who don't read the manuals) + (made up release numbers) / (# of nonexistent enhancements) modulo whatever plus or minus a bunch. |
|
Back to top |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
Robert has it right. for all you that posted max size of commarea greater than 32767, please write some code that moves data to the entire area of your larger DFHCOMMAREA, and be sure to move the program to
a PRODUCTION CICS region. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Hmmm, Mbabu, maybe next time we'll see how many different answers are posted in 24 hours? |
|
Back to top |
|
|
bantu2405
New User
Joined: 03 Nov 2009 Posts: 2 Location: Pune
|
|
|
|
Hi,
The maximum length is 32K.
Pay attention to the followup below. |
|
Back to top |
|
|
Binop B
Active User
Joined: 18 Jun 2009 Posts: 407 Location: Nashville, TN
|
|
|
|
Hi Bantu,
Welcome to the forum...
The topic/post has already been well answered by Robert.
Any particular reason why you have posted the same answer again ? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
bantu2405, any particular reason you posted a wrong answer AFTER the correct answer was provided? 32K is not the maximum size for DFHCOMMAREA, period. The IBM manuals are pretty reliable -- without an extremely good reason to the contrary, you should believe their information. |
|
Back to top |
|
|
|