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

What is the CICS command that gives the length of TWA area?

3 Answers   IBM, TCS,


Mention the 5 fields available in the symbolic map for every ?NAMED? field in the DFHMDI macro? Give a brief description of these fields (Not exceeding a line).

2 Answers   IBM,


Explain the difference between the xctl and link commands?

0 Answers  


What are the types of the dfhmdf present in the cics?

0 Answers  


What is the pcp in the cics?

0 Answers  






What is BMS?

13 Answers  


What are the main topics in CICS to prepare for interview purpose and for real time purpose?

2 Answers   iGate,


Explain the function of the cics translator?

0 Answers  


How ENQ and DEQ used in CICS?

0 Answers  


Explain how do you terminate an already issued delay command?

0 Answers  


Can you define mdt?

0 Answers  


What is program reentrance?

0 Answers  


Categories