Need of Queue concepts in CICS

About CICS and BMS - In this Mainframe Forum - You can post your queries on CICS

Moderators: DikDude, Natarajan, Moderator Group

Posts: 15
Joined: Mon Mar 29, 2010 2:19 pm
Location: India

Need of Queue concepts in CICS

Post by Aashiq » Sat Apr 07, 2012 6:14 am


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?
"Helping hand is better than praying lips"

Active Member
Posts: 650
Joined: Sun Jul 24, 2011 5:27 pm
Location: Down on the pig farm

Post by NicC » Sat Apr 07, 2012 12:56 pm

What have you read in the manuals that does not give sufficient information?

Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Sat Apr 07, 2012 9:36 pm

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.
Have a good one

User avatar
Posts: 537
Joined: Fri Oct 10, 2008 12:57 pm
Location: chennai

Post by Natarajan » Mon Apr 09, 2012 12:47 pm

.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.

Posts: 3
Joined: Fri May 04, 2012 10:37 pm

Post by pawan1284 » Fri May 04, 2012 10:49 pm

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.



Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Mainframe Interview questions

Other References
Mainframe Tools and others