Limit on COMMAREA.

Customer Information Control System. Middleware and MQ Series.
Post Reply
Aarohi Saxena
Registered Member
Posts: 18
Joined: Sun Mar 02, 2014 1:11 am

Limit on COMMAREA.

Post by Aarohi Saxena »

Hi,

I need to ask a conceptual question for which I don't have all the details with me. The question is like this:

We've a front end, which is written in SAP. They want to get some results from our CICS programs. Two such programs (pgm1 and pgm2) can provide the results from the SAP. Both programs provides nearly the same results but pgm1 provides less information, say 9 values, while pgm2 can provide with more values say 12 values. SAP needs 10 values, so they choose to use pgm1 BUT pgm1 can handle 1 request at a time while pgm2 can handle 10 such requests together. The reason given is COMMAREA does limitation does not allow pgm1 to handle more requests simultaneously.

I'm just getting involved in this so I might not have explained it very well but this is how the situation is. But can there be really a limitation of COMMAREA here and can we use TDQs for this? I might try to get more information but if someone has faced similar issues please guide with your comments or with some documents I'll go through them.
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 825
Joined: Wed Sep 11, 2013 3:57 pm

Re: Limit on COMMAREA.

Post by enrico-sorichetti »

googling with cics+commarea+size+limits
would have got You the requested info without waiting for a forum reply

remember that there might be limits imposed NOT by CICS but by the application architecture
and we cannot know about the application architecture imposed limits
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1885
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Limit on COMMAREA.

Post by Robert Sample »

Yes, there is an absolute limit of 32K minus a few bytes. This is because the length field is 2 bytes and won't allow more than 32K.
and can we use TDQs for this?
IBM has provided a solution to the DFHCOMMAREA length problem and it is NOT to use TDQ. Research channels and containers in CICS for more information.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “CICS, Middleware and MQ Series.”