Customer Information Control System Question: Download CICS PDF

What are the differences between DFHCOMMAREA and TSQ?

Tweet Share WhatsApp

Answer:

Both are used to save data among tasks. but
1. COMMAREA is private to that transaction only like every transaction has its own COMMAREA created by CICS as soon as the transaction is initiated. however TSQ, if queue id is known can be accessed by other transactions also
2. COMMAREA length is s9(4) comp i.e. 65k. but TSQ can have any length
3. COMMAREA is available only during the transaction is running. TSQ if created with auxiliary option resides in aux memory and available even if main memory crashes
4. normally COMMAREA is used to transfer data from one task to another while TSQ is used widely within the task as a scratch pad.

Download CICS PDF Read All 194 CICS Questions
Previous QuestionNext Question
What is Communication Area?What is difference between call and link?