Interview Questions   Tutorials   Discussions   Programs   

CICS - When will be use the tdq and tsq?

asked mar September 7, 2014 11:58 AM  

When will be use the tdq and tsq?


1 Answers

answered By Mswami   0  

Temporary Storage Queue(TSQ) names are dynamically defined in the application program, while TDQs must first be defined in the DCT (Destination Control Table).

When a TDQ contains certain amount of records (Trigger level), a CICS transaction can be started automatically. This does not happen when using a TSQ. TDQ(extra partition) may be used by batch application; TSQ cannot be accessed in batch.

The Transient Data Queue is actually a QSAM file. You may update an existing item in a TSQ. A record in a TDQ cannot be updated. Records in TSQ can be read randomly.

The TDQ can be read only sequentially. Records in Temporary Storage can be read more than once, while records stored in Temporary Data Queues cannot. With TDQs it is “one read” only.

While implementing Page-up and page-down logic, TSQ is very useful, the reason behind is, it hold entire data even the control is returned to CICS.

TDQ is useful when there is requirement for message routing or printing of messages once the trigger level is reached.

   add comment

Your answer

Join with account you already have



 Write A Tutorials
Online-Classroom Classes

  1 person following this question

  Question tags

cics × 1

Asked 3 years and 2 months ago ago
Number of Views -403
Number of Answers -1
Last updated
4 years and 2 months ago ago

  Similar questions

Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!