CICS Interview Questions & Answers

Top 50 CICS Interview Questions & Answers

What is CICS ?

CICS basically stands for Customer Information Control System and happens to be software that monitors telecommunications from IBM. The mainframe operating systems of IBM are time-sharing and batch.

What is the primary aspect of CICS?

CICS basically deals with the execution as well as development of online applications. It establishes a communication channel through the terminal and facilitates the receiving as well as sending of data that is formatted. One of the primary aspects of CICS is the accessibility of database as well as the files that they contain.

What’s the CICS command used to access the current date and time?

Answer

ASKTIME command is used to access current date and time.

How do you dynamically set the CURSOR position to a specific field?

Answer

MOVE -1 to FIELD + L field. Mention CURSOR option in the SEND command.

Which command is used to release a record on which exclusive control is gained?

Answer

EXEC CICS UNLOCK END-EXEC.

What are the attribute values of Skipper and Stopper fields?

Answer

For Skipper field, use ASKIP and for stopper field use PROT.

How do you set the MDT option to ‘ON’ status, even if data is not entered?

Answer

Mention FSET option in DFHMDF or set it dynamically in the program using FIELD+A attribute field.

Which CICS service transaction is used to gain accessibility to CICS control tables?

Answer

CEDA transaction is used to gain accessibility to control tables.

Into which table is the terminal id registered?

Answer

Terminal Control Table.

What is a mapset?

Answer

Mapset is a collection of maps which are linked edited together to form a load module. It should have a PPT entry. It can have names from 1 to 7 chars.

What is the function of the CICS translator?

Answer

The CICS translator converts the EXEC CICS commands into call statements for a specific programming language.

What are the differences between an EXEC CICS XCTL and an EXEC CICS LINK command?

Answer

The XCTL command transfers the control to an application program at the same logical level and it does not expect the control back, while the LINK command passes the control to an application program at the next logical level and expects the control back.

What is EIB? How it can be used?

Answer

CICS automatically provides some system-related information to each task in a form of EXEC Interface Block (EIB), which is unique to the CICS command level. We can use all the fields of EIB in our application programs right away.

What information can be obtained from the EIBRCODE?

Answer

The EIBRCODE tells the application program if the last CICS command was executed successfully or not.

What is the effect of including the TRANSID in the EXEC CICS RETURN command?

Answer

The next time the end-user presses an attention key, CICS will start the transaction specified in the TRANSID option.

What is the function of the EXEC CICS HANDLE CONDITION command?

Answer

To specify the paragraph or program label to which the control is to be passed if the “handle condition” occurs.

What is the difference between the INTO and the SET option in the EXEC CICS RECEIVE MAP command?

Answer

The INTO option moves the information in the TIOA into the reserved specified area, while the SET option simply returns the address of the TIOA to the specified BLL cell or “address-of” a linkage section.

What is the function of DFHMDF BMS macro?

Answer

The DFHMDF macro defines fields, literal, and characteristics of a field.

What is the difference between getting the system time with EIBTIME and ASKTIME command?

Answer

The ASKTIME command is used to request the current date and time. Whereas, the EIBTIME field ha the value at the task initiation time.

What is the function of the Terminal Control Table?

Answer

The TCT defines the characteristics of each terminal with which CICS can communicate.

What is a deadlock?

Answer

A deadlock occurs when a task is waiting for a resource held by another task which, in turn, is waiting for a resources held by the first task.

Explain the term Multi Region Operation.

Answer

MRO is the mechanism by which different CICS address spaces with in the same CPU can communicate and share resources.

What is meant by program reentrance?

Answer

A program is considered reentrant if more than one task can execute the code without interfering with the other tasks execution.

What is the common work area?

Answer

The common work area is a storage area that can be accessed by any task in a CICS system.

What is the meaning and use of the EIBAID field?

Answer

EIBAID is a key field in the execute interface block; it indicates which attention key the user pressed to initiate the task.

What is BMS?

Answer

BMS stands for Basic Map Support. It allows you to code assembler level programs to define screens.

 

For more CICS Interview Questions Set-1

For more CICS Interview Questions Set-2