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
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 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 |
What is the difference between pct and fct?
Mention the option used in a cics command to retrieve the response code after execution of the command?
What is the difference between the NOHANDLE option and the IGNORE condition?
What is MDT ? How it is related FSEAT & FRESET? what is the meaning of MDT on.. pls ans With explanation is will be more helpfull thank you
What is non-conventional programs?
What are the types of the dfhmdf present in the cics?
what is the difference between a package and a plan. How does one bind 2 versions of a cics transaction with the same module name in two different cics regions that share the same db2 subsystem?
I was asked in HSBC interview following questions: 1. A string was given " techincal seminar on cobol language" Interviewer asked me to calculate the number of vowels in this string.
What happens to resources supplied to a transaction when an XCTL command is executed?
What is commarea (communications area)?
Explain the primary significance of intra-partition and extra-partition tdqs ?
IN CICS APPLICATION PROGRAM, INSTEAD OF HARDCODING MAP AND MPASET NAMES WHILE SENDING AND REIEVING ...CAN WE DO LIKE THIS ??? MOVE MAP AND MAPSET NAMES TO WORKING STORAGE SECTION VARIABLES AND USE THOSE VARIABLES WHILE SENDING AND RECIEVING MAP.IF YES, HOW CAN WE MOVE MAP INPUT , OUTPUT VARIABLES. IF ANYBODY KNOWS THIS PLEASE POST THE ANSWER