What is TSQ and TDQ.what is the the difference?
when you for tsq and when you go for tdq?

Answers were Sorted based on User's Feedback



What is TSQ and TDQ.what is the the difference? when you for tsq and when you go for tdq?..

Answer / lu

first of all, you need to read CICS book...read :

Q What are the differences between TSQ and a TDQ ?
A (1) In Temporary Storage Queues Data (TS) is
read randomly,
(2) in Transient Data Queues data (td) 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.
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.

Q What are Extra partition & Intra partition TDQs ?
A Extra-partition TDQ's are datasets used for
communication between CICS and other CICS/Batch regions.
Extra-partition TDQ doesn't have to be a disk file, it can
reside on any device that's a valid QSAM/VSAM. The DCT
entry contains the destination-Id, type of TDQ,
Destination, Trigger level if needed.

Intra-partition TDQ's are queues for communication within
CICS region. CICS stores the Intra-partition TDQ in a
dataset 'DFHNTRA' on the Disk.
---------------------
i hope that you have an idea....

Is This Answer Correct ?    17 Yes 0 No

What is TSQ and TDQ.what is the the difference? when you for tsq and when you go for tdq?..

Answer / saisankar

What are the differences between TSQ and a TDQ ?
A)
1)TSQ is temporary storage queue.

item no generates automatically for each n every record entered into it.Based on that we can retrive data from the TSQ more than once.In it random read is possible.

2)TDQ is trancient data queue.
no automatic item no generation.
it is read destructive.once we read data record from TDQ that is deleted.In it sequential read is posible.
Data can be changed in TSQ, but not in TDQ.

(3) 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.
(4) 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.


TDqueues are further divided into intra and extra.

intra - with in same regeion.(region restricted)one useful facility is ATI(AUTOMATIC TASK INITIATION).for this TRIGGERLEVEL is useful when we specify triggerlevel as 100
after insertion of 100 records in TDQ-intra what ever task given automatically processed.



extra -cics with batch/communication among more than one region.


(ANY INFO NEED mail to saisankar85@gmail.com)

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More CICS Interview Questions

Explain the difference between the into and the set option in the exec cics receive map command?

0 Answers  


What is the difference between pct and fct?

0 Answers  


How do you use altindxs in batch, cics programs?

0 Answers  


Explain the various ways data can be passed between CICS programs.

2 Answers   IBM,


Explain the mdt in cics?

0 Answers  






Explain the thress bms options?

0 Answers  


Mention one alternative aspect of CICS?

0 Answers  


What is fset?

0 Answers  


Explain the difference between the xctl and link commands?

0 Answers  


Can anyone say full transaction process? i mean when user press enter key after that what happens from there to till end of transaction

3 Answers  


Define an asra?

0 Answers  


how can we establish a link between two maps using a cobol application program....lets say how can u use 'back' in a map ..to come back on previous .

5 Answers   Attra Infotech,


Categories