Channels and Containers

Support for CICS/ESA, CICS/TS & Transaction Gateway, CICS Configuration Manager and CICS Performance Analyzer

Channels and Containers

Postby cbhargavi » Sat May 04, 2013 4:34 pm

Hi every one,

I need some clarification regarding channels and containers concept.As far as i know it is one of the replacement to overcome the size of 32kb DFHCOMMAREA.

One of my requirement is using TSQ to write the records.But my data records are crossing the max limit of TSQ 32,763 items ,as TSQ becoming full,it is throwing ITEM ERROR every time.

I applied the concept of channels and containers in place of TSQ , as container doesn't have any limitation on size.

But here one problem is in TSQ, the records are not appending into the container,instead the records are overwritten every time.
I need all the records to be in the container.

EX: Am trying to write five records by keeping EXEC statements in loop.When i tried to read the five records in to a able to see only the last fifth record data is over writing every time.

Do we have any possiblity to get all records to be written to a container like TSQ without over writing.

Do we have option like 'append' in exec statements. If so, can you please provide the exact syntax.

Is there any other new concept to overcome the TSQ Item store the data records more than max limit of TSQ.?

Apologizes if there are any mistakes.
Posts: 20
Joined: Mon Oct 15, 2012 5:43 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Channels and Containers


Re: Channels and Containers

Postby Robert Sample » Sat May 04, 2013 5:36 pm

Your understanding of containers is flawed. Instead of thinking of a container as a TSQ, think of a channel as a TSQ. Then you can equate TSQ items with containers. Just as you cannot write multiple values into a single TSQ item, neither can you write multiple values into a container. However, by using different container names within a channel, you can handle the various containers like TSQ items.

Personally, I think you have an extremely flawed design. CICS is supposed to be a transactional system, and if you're putting more than 32000 items into a TSQ, then you are NOT using CICS as a transactional system.
Robert Sample
Global moderator
Posts: 3345
Joined: Sat Dec 19, 2009 8:32 pm
Location: East Dubuque, Illinois
Has thanked: 1 time
Been thanked: 219 times

Re: Channels and Containers

Postby NicC » Sat May 04, 2013 9:18 pm

I can tell another thing - it did not THROW an error. Nothing on th mainframe THROWs an erro. An error is issued, displayed, shown but never thrown. Thrown is a term used in curly-wurly languages on the PC and Unix.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Global moderator
Posts: 2677
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 102 times

Re: Channels and Containers

Postby cbhargavi » Sun May 05, 2013 12:29 am

Thanks for the concept of putting multiple containers in the same channel.I got the very clear idea about channels and containers.

Yes it is right each container in a channel is equivalent to an item in TSQ, now I am able to write more 32,763 items .

Also thanks for you quick response.
Posts: 20
Joined: Mon Oct 15, 2012 5:43 pm
Has thanked: 0 time
Been thanked: 0 time

Return to CICS


  • Related topics
    Last post