CICS TSQCICS Queue CICS WRITE TSQ
Temporary Storage Queue is the facility to pass the huge information between the transactions.
The data can be stored in Temporary Storage Queue as data items.
The data item can be referred with relative number from the starting point.
The items can be read sequentially, dynamically and randomly by using relative number in TSQ.
Temporary Storage Queue names can be 16 char which is a combination of alphanumeric characters.
Temporary Storage Queue can be created with dynamic names to avoid duplicate queues creation.
The name of the Temporary Storage Queue can be created by using the symbolic name provided in application program and the second half would be timestamp of the execution time.
Temporary Storage Queue name would be a combination of symbolic name (Program name most of the cases) and the timestamp (current time portion).
Temporary Storage Queue needs more CPU percentage when compared to other data passing methods between the programs.
Temporary Storage Queue can’t require creating it until it is used and can delete it whenever it is not required.
Application first WRITE TS QNAME triggered command will allocate the memory for TSQ.
The memory can be from main memory, auxiliary storage and shared temporary storage.
Temporary Storage Queues in main memory can’t be defined as recoverable.
Temporary Storage Queues in auxiliary memory can be defined as recoverable.
Main memory is better than auxiliary memory for Temporary Storage Queues.
Temporary Storage Queues can be deleted automatically when no more utilization is required by setting expiring interval.
If the Temporary Storage Queue is recoverable, then it should be declared as recoverable TSQ in Temporary Storage Tables.
If the Temporary Storage Queue doesn’t require being recoverable, then no need to define TSQ.
The below operations can be performed on TSQ to store and process the data between transactions.
CICS Queue CICS WRITE TSQ