IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Equivalence of DFHCOMMAREA in CICS ?


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Soumyaranjan

New User


Joined: 16 Jul 2008
Posts: 2
Location: USA

PostPosted: Sun Nov 16, 2008 12:28 am
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Sun Nov 16, 2008 4:02 am
Reply with quote

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
View user's profile Send private message
Soumyaranjan

New User


Joined: 16 Jul 2008
Posts: 2
Location: USA

PostPosted: Sun Nov 16, 2008 3:44 pm
Reply with 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.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Sun Nov 16, 2008 7:55 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Nov 17, 2008 12:38 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts How to avoid duplicating a CICS Web S... CICS 0
Search our Forums:

Back to Top