IT Software (34) 

Welcome to the CICS Interview Questions and Answers Page!


This page is designed to help you prepare for your CICS interviews. We have curated a comprehensive list of commonly asked questions along with their detailed answers. Whether you are a beginner or an experienced professional, we hope these resources will assist you in acing your CICS interview.

Top 20 Basic CICS interview questions and answers

1. What is CICS?
CICS (Customer Information Control System) is a transaction processing system developed by IBM. It allows users to develop, execute, and manage online applications in a mainframe environment.

2. What is the full form of CICS?
The full form of CICS is Customer Information Control System.

3. What are the different components of CICS?
The different components of CICS are Transaction Server, Application Server, Resource Manager, and Presentation Interface.

4. What are the different types of CICS commands?
The different types of CICS commands are EXEC, RETRIEVE, SEND, HANDLE, LINK, and RETURN.

5. What is a CICS transaction?
A CICS transaction is a logical unit of work that executes a specific task in an online application.

6. What is the purpose of the EXEC CICS command?
The EXEC CICS command is used to invoke a CICS service program or transaction.

7. What is the EIB (Execute Interface Block) in CICS?
The EIB is a control block that contains information about the status and attributes of a CICS task.

8. What is the difference between a CICS task and a CICS transaction?
A CICS task is an instance of a CICS transaction. A task is created and destroyed for each transaction that executes in CICS.

9. What is a CICS map?
A CICS map is a field layout definition used for screen handling in an online application.

10. What is the difference between DFHCOMMAREA and TSQ?
DFHCOMMAREA is used for passing data between programs within the same CICS transaction, while TSQ (Temporary Storage Queue) is used for passing data between programs in different CICS transactions.

11. What is a CICS program?
A CICS program is a COBOL, PL/I, or Assembler program that runs under CICS and performs specific tasks in an online application.

12. What is the difference between a LINK and a XCTL in CICS?
A LINK command transfers control to another program and returns after execution, while an XCTL command transfers control to another program and does not return.

13. What is a pseudo-conversational application in CICS?
A pseudo-conversational application in CICS is one where the user does not have to wait for a response from the application after each input, allowing them to enter multiple requests in a single session.

14. What is the purpose of the SYNCPOINT command in CICS?
The SYNCPOINT command is used to synchronize the updates made by a CICS program with the external resource manager, ensuring database consistency.

15. What is the difference between an EIBCALEN and an EIBRESP in CICS?
EIBCALEN contains the length of the communication area passed to a CICS program, while EIBRESP contains the response code indicating the success or failure of a CICS command.

16. What is the purpose of the RDO (Resource Definition Online) in CICS?
The RDO is used to define CICS resources such as files, programs, and transactions.

17. What are CICS web services?
CICS web services are interfaces that allow CICS programs to interact with external web applications using SOAP or JSON protocols.

18. What is a CICS region in mainframe?
A CICS region is a logical grouping of CICS resources and programs that operate together to execute online transactions.

19. What is the difference between a TDQ and a TSQ in CICS?
A TDQ (Transient Data Queue) is used for passing data between programs within the same CICS transaction, while a TSQ (Temporary Storage Queue) is used for passing data between programs in different CICS transactions.

20. What is the difference between the CICS region and the CICS system?
The CICS region refers to an instance of CICS running on a mainframe, while the CICS system refers to the overall CICS environment, including all regions, resources, and programs.

Top 20 Advanced CICS interview questions and answers

1. What is the difference between an EXEC CICS LINK and an EXEC CICS XCTL command?
– The EXEC CICS LINK command transfers control to another program and expects control to return after that program completes.
– The EXEC CICS XCTL command transfers control to another program and does not expect control to return to the original program.

2. What is the purpose of the CICS HANDLE CONDITION command?
– The CICS HANDLE CONDITION command allows the programmer to provide a code path to be executed when a particular condition occurs during the execution of a CICS program.

3. What is the significance of the DFHCOMMAREA in CICS?
– The DFHCOMMAREA is a special working storage area that allows data to be passed between programs in a CICS environment.

4. How can you pass data from one program to another in CICS?
– Data can be passed from one program to another in CICS by using the LINK command, XCTL command, or by using shared storage areas like COMMAREA or TS QUEUE.

5. What is the purpose of the EXEC CICS SUSPEND command?
– The EXEC CICS SUSPEND command is used to temporarily interrupt the processing of a task and transfer control to another task in a CICS system.

6. How do you handle errors in CICS programs?
– Errors in CICS programs can be handled using the CICS HANDLE CONDITION command, which allows the programmer to define specific code paths to be executed when certain conditions occur.

7. What is an ASRA abend in CICS?
– An ASRA (Addressing or Specification Exception) abend in CICS occurs when an invalid memory reference is made in the program.

8. What is the difference between EIBCALEN and EIBCALEN in CICS?
– EIBCALEN represents the length of the input data in a CICS program, while EIBALEN represents the length of the output or resulting data.

9. How do you define a CICS program in a CICS region?
– A CICS program needs to be defined in the CICS region’s program definition table (PDT) or in a library that is linked to the CICS region.

10. What is the purpose of the EXEC CICS START command?
– The EXEC CICS START command is used to initiate the execution of a transaction in a CICS system.

11. How do you handle looping constructs in CICS programs?
– Looping constructs in CICS programs can be achieved using DO loops or PERFORM loops.

12. What is the purpose of the EXEC CICS RETURN command?
– The EXEC CICS RETURN command is used to terminate the execution of a CICS program and return control to the program that called it.

13. What is an AEY9 abend in CICS?
– An AEY9 (Transaction Abend) abend in CICS occurs when a transaction is forcibly abended due to a failure condition.

14. How do you pass data from a CICS program to a COBOL program?
– Data can be passed from a CICS program to a COBOL program by using the LINK command and passing parameters in the COMMAREA or using the EIB.

15. What is the significance of the CICS SPOOL system?
– The CICS SPOOL system allows the printing of reports and the management of printers in a CICS environment.

16. What is the purpose of the EXEC CICS XCTLNOHANDLE command?
– The EXEC CICS XCTLNOHANDLE command is used to transfer control to another program without checking for any abnormal conditions or returning control to the original program.

17. What is the significance of the CWA (Common Work Area) in CICS?
– The CWA is a user-controlled area of storage in CICS that can be used to store temporary working data during the execution of a CICS program.

18. How can you handle file operations in CICS?
– File operations in CICS can be handled using the EXEC CICS READ, WRITE, OPEN, CLOSE, DELETE, and other file-related commands.

19. What is the purpose of the EXEC CICS HANDLE ABEND command?
– The EXEC CICS HANDLE ABEND command is used to define a code path to be executed when an abnormal condition or abend occurs during the execution of a CICS program.

20. How can you handle concurrent updates to shared data in CICS?
– Concurrent updates to shared data in CICS can be handled using CICS system locks like ENQ, DEQ, LSR, or Program Control Table (PCT) entries to ensure data integrity and prevent conflicts.

IT Software (34)