Page 1 of 1

Need of Queue concepts in CICS

Posted: Sat Apr 07, 2012 6:14 am
by Aashiq

Though We have DFHCOMMAREA to transfer the data's from one program to another program, why we need the TSQ and TDQ?

Can someone please give your comments on the above?

Posted: Sat Apr 07, 2012 12:56 pm
by NicC
What have you read in the manuals that does not give sufficient information?

Posted: Sat Apr 07, 2012 9:36 pm
by DikDude
You may never "need" to use one of these queues. Many people have not. . .

As i'm not sure of what you are asking, i repeat Nic's suggestion. Read about these queues in the IBM documentation and if you find something that is not clear, post what you found and your doubt. Someone here should be able to clarify.

If you have a specific question, post it and we'll try to answer.

Usually it is best to look for a solution for some requirement. Looking for a requirement to meet some solution is usually less than productive.

Posted: Mon Apr 09, 2012 12:47 pm
by Natarajan
.2 cents on this.

DFHCOMMAREA has storage limitation, only limited data can be passed to next level program. TSQ, TDQ solves this issue. DFHCOMMAREA data wont be avaiable after program terminates. Queues solve this issue also.

Posted: Fri May 04, 2012 10:49 pm
by pawan1284
data can b passed in 3 ways, and dfhcommarea is 1 way..and the other two ways are TSQ and TDQ.
when the data u want to pass is more than 64 bytes we go for tsq and tdq.
and that depends on how u are passing data(i.e with in cics region or out side the cics region) we choose tsq or tdq.