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
 
What is the maximum size of DFHCOMMAREA

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
lucky.rohith
Currently Banned

New User


Joined: 06 Aug 2006
Posts: 10

PostPosted: Thu Sep 21, 2006 2:06 pm    Post subject: What is the maximum size of DFHCOMMAREA
Reply with quote

Hi
What is the maximum size of DFHCOMMAREA?
is tat 32k or 64k?
Back to top
View user's profile Send private message

venkagov

New User


Joined: 10 Aug 2006
Posts: 6
Location: Chennai

PostPosted: Thu Sep 21, 2006 3:55 pm    Post subject: Re: reguarding DFHCOMMAREA
Reply with quote

Hi,

The maximum size of DFHCOMMAREA is 32K, however it is recommended (by IBM) that it not exceed 24K.

Regards,

Venkagov
Back to top
View user's profile Send private message
anandss6

New User


Joined: 12 Dec 2005
Posts: 7
Location: trivandrum

PostPosted: Thu Sep 28, 2006 12:44 pm    Post subject:
Reply with quote

Hi

The maximum size of DFHCOMMAREA is 64k

Regards
Anand
Back to top
View user's profile Send private message
naresh_1246

New User


Joined: 19 Aug 2006
Posts: 1

PostPosted: Thu Sep 28, 2006 5:45 pm    Post subject:
Reply with quote

max size of dfhcommarea is 32k
Back to top
View user's profile Send private message
meetreks

New User


Joined: 28 Sep 2006
Posts: 26
Location: Edinburgh

PostPosted: Fri Sep 29, 2006 9:57 pm    Post subject: Re: What is the maximum size of DFHCOMMAREA
Reply with quote

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
View user's profile Send private message
dineshpost

New User


Joined: 06 Nov 2008
Posts: 2
Location: India - Chennai

PostPosted: Thu Oct 22, 2009 11:05 pm    Post subject: Reply to: What is the maximum size of DFHCOMMAREA
Reply with quote

The Max size of DFHCOMMAREA is 65k
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: Fri Oct 23, 2009 12:26 am    Post subject:
Reply with quote

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
View user's profile Send private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 401
Location: Mumbai

PostPosted: Fri Oct 23, 2009 1:35 am    Post subject: Reply to: What is the maximum size of DFHCOMMAREA
Reply with quote

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
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Fri Oct 23, 2009 3:03 am    Post subject:
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Fri Oct 23, 2009 3:04 am    Post subject:
Reply with quote

Hmmm, Mbabu, maybe next time we'll see how many different answers are posted in 24 hours?
Back to top
View user's profile Send private message
bantu2405

New User


Joined: 03 Nov 2009
Posts: 2
Location: Pune

PostPosted: Tue Nov 03, 2009 1:33 pm    Post subject: Reply to: What is the maximum size of DFHCOMMAREA
Reply with quote

Hi,
The maximum length is 32K.
Pay attention to the followup below.
Back to top
View user's profile Send private message
Binop B

Active User


Joined: 18 Jun 2009
Posts: 407
Location: Nashville, TN

PostPosted: Tue Nov 03, 2009 2:12 pm    Post subject:
Reply with quote

Hi Bantu,
Welcome to the forum... icon_smile.gif

The topic/post has already been well answered by Robert.
Any particular reason why you have posted the same answer again ? icon_confused.gif
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 03, 2009 3:41 pm    Post subject:
Reply with quote

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
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 How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts JES2 job size field matching Windows ... SRICOBSAS All Other Mainframe Topics 4 Tue Sep 05, 2017 5:49 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts Increase the screen size after split mistah kurtz TSO/ISPF 2 Fri Sep 02, 2016 6:39 pm
No new posts ALTER of an IDMS AREA with NEW/OLD pa... Awanti IDMS/ADSO 2 Mon Mar 14, 2016 10:01 pm

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