View previous topic :: View next topic
|
Author |
Message |
rakeshright
New User
Joined: 25 May 2006 Posts: 6
|
|
|
|
Hi all,
Could you please tellme,wat TSQ and TDQ's are exactly.
Please also tellme the diff betn them.
thank you! |
|
Back to top |
|
|
gskulkarni
New User
Joined: 01 Mar 2006 Posts: 70
|
|
|
|
you can get your answers easily by doing a search on ibm site or even google. Post a question or problem that can't be solved by yourself.
I am adding priliminary stuff below. Rest of the things you can figure out using manuals online or searching thrugh net.
TSQ and TDQ
Temporary Storage Queues and Transient Data Queues use similar CICS commands to write, read, and delete records in them but their uses are quite different. The following will give you some idea of when to use which.
Temporary Storage Queue
TSQs can be read either sequentially using NEXT or you can specify the number of the record you want to retrieve using ITEM(). Items remain in the TSQ until deleted.
TSQs are either held in virtual storage or in a VSAM file called DFHTEMP.
You can examine the content of a TSQ using the CEBR command. The command can also be used to transfer the content of a TSQ into a TDQ or vice versa.
Transient Data Queue
Records are always retrieved from a TDQ in the same order that they were written. Each record can only be read once as records are automatically deleted when read.
There are two types of TDQ, intrapartition and extrapartition. Intrapartition TDQs are stored in a VSAM file called DFHNTRA. Extrapartition TDQs are stored in QSAM files managed by the operating system and are very inefficient. |
|
Back to top |
|
|
gskulkarni
New User
Joined: 01 Mar 2006 Posts: 70
|
|
Back to top |
|
|
|