A temporary storage queue called TSQ can be used in CICS programs to write records for internal reading purposes. CICS is a mainframe-based system used for designing programs interactively.

What is TSQ?

TSQ also called temporary storage queues. 3 top commands you need to know to work with TSQs. To add or update a record, you must use the WRITEQ TS command. To retrieve a record, you must use READQ TS command. And to delete a queue, you must use DELETEQ TS command.

The ‘TS’ after each command means that you are using temporary Storage queue

TSQ

Top Features of TSQ

  • To write a record dynamically
  • You can delete a queue
  • You can read a queue
  • In all the commands, QUEUE name is common
  • Two popular errors are possible. QIDERR- when the queue is not present, you will get this error. ITEMERR- when item or record not present, then you will get this error

Advantages

  1. A large amount of external memory you can save with TSQs.
  2. You may Store DB2 table data in TSQ for later usage.

Related Posts