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