Posted Under CICS-Interview
Mainframe CICS Interview Questions asked in companies like IBM ,HP,Dell.Is there any entry for TSQs in CICS tables?
Yes in the DFHTST.
What is the use of DCT?Destination Control Table used to define TDQs
What is ENQ, DEQ ?
Task control commands to make resources serially reusable.
Can you issue SQL COMMIT from a CICS program? –Yes.
What is the other way of terminating a transaction? –
EXEC CICS SYNCPOINT. Assuming it is a LUW. This will not end the Xn.
What is an ASRA abend ?Any data exception problem SOC7, SOC4 etc.
What is an AEY9 abend ?
DB2/IDMS not up.
What are the situations under which NEWCOPY is required ?When a program has been used in CICS atleast once and then changed and recompiled.
What is 2 phase commit?
What is EXEC CICS RETRIEVE ?
Used by STARTed tasks to get the parameters passed to them.
Name some important fields in the EIB block ?EIBRESP, EIBCALEN, EIBRRCDE, EIBTASK, EIBDATE, EIBTIME
Can you use DYNAMIC calls in CICS ?
Yes, the called routine must be defined in PPT and the calling program must use CALL identifier..
How do you handle errors in CICS pgms ?Check EIBRESP after the call or use the HANDLE condition.
Suppose pgm A passes 30 bytes to pgm B thru commarea and pgm B has defined its DFHCOMMAREA to be 50 bytes . Is there a problem ?Yes, if B tries to access bytes 31-50.
When an XCTL is done, does the tranid change ? Is a new task created ? Does it cause an implicit SYNCPOINT to be issued ?
No, No, Yes.
How do you execute a background CICS txn ?With a START or ATI.
How do you handle error in a CICS program?Same as 36.
What is the difference between START and XCTL ?
START is used to start a new task. It is a interval control command. XCTL is used to pass control to a program within the same task. It is a program control command.
What is the usage of language in the PPT entry?Language interface and call parameters???
Can you have CICS code in a copybook? If yes, what happens during compilation?Yes. Needs to be preprocessed.
What is an AICA abend?Runaway Task.
How would you resolve an ASRA abend?In COBOL II start with CEBR, and get the offset/instruction.
I invoke a transaction from CICS. The program has a code: MOVE DFHCOMMAREA TO WS-AREA. What happens to this transaction? What happens to the other transactions?Junk may get moved in. Will cause Storage violation.
When you do a START, what will the value of EIBCALEN?Zero.
How are VSAM files Read in CICS pgms? –File Control Commands. Random, Sequential, forward and backward.
How will you access a VSAM file using an alternate index?Thru the path. Define path as an FCT and use normal File control commands.
How do you rollback data written to an ESDS file?Define the file as recoverable. in cases where records have been inserted into the file, you may need to run a batch program to logically delete the inserted records.
I have done a START BROWSE on a VSAM dataset. Can I do another START BROWSE without doing an END BROWSE?No.
Can you access QSAM (seq ) files from CICS ?No.
Can you access ESDS files from CICS ?Yes.
What is CICS ?CICS - Customer Information Control System
CICS is a telecommunications monitor software product from IBM. The IBM mainframe operating systems are batch and time-sharing. CICS supports the development and execution of online applications. It does this by communicating with terminals and sending and receiving fomatted data.- accessing files and database
CICS itself is batch job running on the operating system with high priority. CICS does scheduling of programs that run under the CICS region.
Check all articles under CICS-Interview