Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Few more CICS interview questions

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: Few more CICS interview questions
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    Post subject:
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: 7913
Location: Bellevue, IA

PostPosted: Tue Dec 23, 2014 9:19 am    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts CICS START AND CANCEL blayek CICS 1 Wed Dec 07, 2016 3:27 am
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
No new posts CICS NEW SIT PARAMETERS CICS BEHAVIOR... Kyle Carroll CICS 0 Fri Nov 04, 2016 11:55 pm
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us