Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TDQ

Status
Not open for further replies.

Rupali

Programmer
Jul 31, 2002
4
0
0
IN
Do we need to define the TDQ? If yes , id it similar to TSQ? and if NO why?
Thank You.
 
Yes of course you need to define a TDQ.

You have to add a DCT entry for the with the queue name(4 characters) and also a DSName corresponding to a file in the region.
TDQs can be intra/extra partitioned.

you must be extremely careful with the record length


 
You need to first define a tdq, then install the tdq. Only then u can access the tdq for read or write. For defining and installing the tdq u can use CEDA command. For read and write operations on the tdq u can use CECI command. TDQ's can be intra, extra or indirect partitioned. You can delete the TDQ using DELETEQ command under CECI after it is no longer useful.
 
Here are some of differences between a TDQ and a TSQ,

1) In Temporary Storage Queues Data is read randomly, While in Transient Data Queues data must be read sequentially.
(2) In a TSQ data can be read any number of times as it remains in the queue until the entire Queue is deleted. In TDQ data item can be read once only. To reuse the TDQ it must be closed and reopened.
(3) Data can be changed in TSQ, but not in TDQ.
(4) TSQ can be written to Auxiliary or Main Storage, while TDQ is written to Disk. Temporary storage is a holding place, while Transient data is always associated with destination.
(5) TSQ name is defined dynamically, while a TDQ name need to be defined in the DCT. Note: An application uses TSQ 's to pass info' from task to task, while a TDQ to accumulate records before processing or send data for external use, such as a print operation or other.

Hope this helps,
Selva.
 
Will the queue content be gone when the CICS is brought down with TD Queue??

Recently I am suffering from content loss with TSQ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top