When to use TDQ ?



Support for CICS/ESA, CICS/TS & Transaction Gateway, CICS Configuration Manager and CICS Performance Analyzer

When to use TDQ ?

Postby kumar009 » Wed Apr 23, 2014 9:42 pm

Please give me few real time scenarios where in developers prefer to use TDQ's rather than TSQ's.

To the far I know, in simple words, DFHCOMMArea will be used to pass the pieces of data between conversations of the program and from one program to other program,
Developers prefer to use TSQ over DFHCOMMArea to store and retrieve any information in the form of a record or more. Mostly used to online updates of the records in VSAM files and/or databases.

Please correct me If I'm wrong, give suitable examples and please provide me any good resources to know them more.
kumar009
 
Posts: 10
Joined: Wed Apr 23, 2014 11:48 am
Has thanked: 0 time
Been thanked: 0 time

Re: When to use TDQ ?

 

Re: When to use TDQ ?

Postby Peter_Mann » Thu Apr 24, 2014 1:12 am

sounds like a homework assignment I had once :D
Peter
Peter_Mann
 
Posts: 139
Joined: Fri Jun 24, 2011 7:37 pm
Location: Lowell,AR
Has thanked: 14 times
Been thanked: 3 times

Re: When to use TDQ ?

Postby Robert Sample » Thu Apr 24, 2014 6:18 am

Your post title mentions TDQ (Transient Data Queue) while the post itself only mentions TSQ (Temporary Storage Queue) and DFHCOMMAREA. Perhaps your first task should be to figure out just what you want to know?

And as pointed out, the tone of your post reflects a homework assignment, not someone attempting to expand their knowledge.
Robert Sample
Global moderator
 
Posts: 3126
Joined: Sat Dec 19, 2009 8:32 pm
Location: Bellevue, Iowa
Has thanked: 1 time
Been thanked: 185 times

Re: When to use TDQ ?

Postby kumar009 » Thu Apr 24, 2014 10:33 am

Yes, I just quoted my understanding about "When to use TSQ over DFHCOMMArea".
Next question is about TDQ. I don't get any real-time scenario idea where in TDQ is preferrable choice over TSQ.
kumar009
 
Posts: 10
Joined: Wed Apr 23, 2014 11:48 am
Has thanked: 0 time
Been thanked: 0 time

Re: When to use TDQ ?

Postby NicC » Thu Apr 24, 2014 2:49 pm

I don't get any real-time scenario idea where in TDQ is preferrable choice over TSQ

Are you in a project that needs this information? If not, concentrate on what you need now rather than everything. You will pick up a lot of this info in general office techno-chat and by asking questions at that time. As a beginner you will not be making the decision - your team lead or application architect will. You can always ask that person why, in this case, they chose one option over the other.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2531
Joined: Sun Jul 04, 2010 12:13 am
Location: Down on the pig farm
Has thanked: 4 times
Been thanked: 88 times

Re: When to use TDQ ?

Postby Robert Sample » Thu Apr 24, 2014 3:26 pm

In general, the choice is not TDQ versus TSQ -- if the TDQ is needed, then a TSQ will not work as a replacement. TSQ might be a replacement for DFHCOMMAREA, but since TSQ is persistent past the transaction while DFHCOMMAREA is not, the two are not completely interchangeable.

These users thanked the author Robert Sample for the post:
Peter_Mann (Thu Apr 24, 2014 11:10 pm)
Robert Sample
Global moderator
 
Posts: 3126
Joined: Sat Dec 19, 2009 8:32 pm
Location: Bellevue, Iowa
Has thanked: 1 time
Been thanked: 185 times


Return to CICS