View previous topic :: View next topic
|
Author |
Message |
Soumyaranjan
New User
Joined: 16 Jul 2008 Posts: 2 Location: USA
|
|
|
|
Hi all,
Can anyone answer this question with proper explanation...?
(Q) which one of the following is equivalent to DFHCOMMAREA in CICS ?
(a) VSAM
(b) TSQ
(c) Intra partition TDQ
(d) Extra partition TDQ
Regards ;
Soumya |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
TSQ is a memory area used to hold data needed between transactions, similar to DFHCOMMAREA. VSAM and extra partition TDQ both refer to types of files. Intra partition TDQ are destructive read so aren't quite the same as DFHCOMMAREA. They are also stored in a file managed by CICS. |
|
Back to top |
|
|
Soumyaranjan
New User
Joined: 16 Jul 2008 Posts: 2 Location: USA
|
|
|
|
But TSQ's can be read and modified by any transaction within the same cics region,where as DFHCOMMAREA can be modified only by the trasactions using it. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Nothing is exactly the same as DFHCOMMAREA, but TSQ's are closer than any of the other three. All four can be used by any transaction so using that as a filter criteria doesn't provide any additional information that would help.
You asked, I gave an answer -- if you don't like it, then pick your own -- but you have the reasons I selected the one I did. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
which one of the following is equivalent to DFHCOMMAREA in CICS ? |
IMHO, the answer should be (e) None of the above. Or the question should be better qualified.
Because none of them exactly are (as Robert mentoned).
Keep in mind that you may be asked a question in an interview that has no truly correct answer, so you pick the one that is closest (or the one you think the interviewer wants for an answer).
Quote: |
But TSQ's can be read and modified by any transaction within the same cics region,where as DFHCOMMAREA can be modified only by the trasactions using it. |
Similar "qualifications" can be said for all of the other answers as well. . .
Not to sound too harsh, but if you don't like the answer given - ok, but your debate/disagreement should be with with the place that asked the question rather than the forum. |
|
Back to top |
|
|
|