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

Few more CICS interview questions


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

New User


Joined: 21 Dec 2014
Posts: 11
Location: India

PostPosted: Tue Dec 23, 2014 3:46 am
Reply with quote

Guys, lets do few more interview questions below:

1) What is Transaction deadlock?

2) What are the compiler options with which your cobol program has to be compiled to use in CICS region?

3) Few error codes, you have faced frequently in CICS development..

4) What is the limitation of COMMAREA and why this limitation?

5) How do you open file in CICS?

6) When REWRITE issued without READ UPDATE, what will happen?
Back to top
View user's profile Send private message
Milin

New User


Joined: 21 Dec 2014
Posts: 11
Location: India

PostPosted: Tue Dec 23, 2014 4:59 am
Reply with quote

I am putting my understanding about few as below:

1) What is Transaction deadlock? :

May be two or more transactions executed at the same time.. i dont know..

2) What are the compiler options with which your cobol program has to be compiled to use in CICS region? :

Pre-compilation, compilation, link edit, package, bind plan... not sure

3) Few error codes, you have faced frequently in CICS development..

ASRA abend..

5) How do you open file in CICS? :

In CICS, we dont need to open the file, CICS does it automatically. Hope I am correct..

6) When REWRITE issued without READ UPDATE, what will happen?

No idea on this last one..

Any input from you guys will be appreciated icon_smile.gif
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: Tue Dec 23, 2014 9:19 am
Reply with quote

Some of what you ask can easily be answered by a quick Google search -- have you tried Google yet?

1. Transaction deadlock occurs when transaction A has exclusive use of resource Z and needs resource Y to complete, while transaction B has exclusive use of resource Y and needs resource Z to complete. Neither transaction can continue. READ for UPDATE, for example, requires exclusive access to the VSAM CI you are updating. There are other ways to force exclusive use of a resource.

2. Compiler options are specific to COBOL (or whatever language you are using for CICS) and would include things like RENT or DYNAM -- most of what you mentioned in your post would not be considered compiler options.

3. Wouldn't the answer depend upon YOUR experience? Things like ASRA, AICA, APCT, 4088 -- depending upon your experience -- are all quite possible and common.

4. DFHCOMMAREA cannot be more than 32K and IBM recommends using 26K or less (IIRC -- it's been a while since I checked their documents last). This is due to the half-word (2 bytes) used for the length.

5. Files in CICS are not opened by the program but by CICS. They can be opened at CICS start up or when the file is first referenced.

6. You'll get a non-zero response code (assuming your code uses RESPONSE) -- INVREQ usually (unless there's something else causing a different code). The update will NOT be applied to the file.

Knowing the answers to specific questions about CICS will not typically help you much in an interview -- any follow up questions would quickly determine that your knowledge is quite limited.
Back to top
View user's profile Send private message
Milin

New User


Joined: 21 Dec 2014
Posts: 11
Location: India

PostPosted: Tue Dec 23, 2014 8:56 pm
Reply with quote

Thank you very much for the detailed answers..
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