CICS Interview Questions and Answers

by Rupa.R, on Sep 10, 2022 2:37:31 PM

Interview Questions (35)1. Why do we need Integrated CICS translator?

 The COBOL compiler works with the Integrated CICS translator When we use it Fromcompiler option.

When the compiler face CICS statements in the source program, it interfaces
with the integrated CICS translator.

Then translator takes actions on the CICS statements and then back to the compiler, show what native language statements to generate.

There is no restrictions in Integrated Translator as compared to Separate Translator .

To handle both native Cobol and embedded CICS statements in the Source Program.

2. What’s the CICS command used to access current date and time?
ASKTIME command is used to access current date and time.

3. What is the function of the CICS translator?
The CICS translator converts the EXEC CICS commands into call statements for a specific programming language.

4. What are the differences between an EXEC CICS XCTL and an EXEC CICS LINK command?
The XCTL command transfer control to an application program at the same logical level and do not expect to control back, while the LINK command passes control to an application program at the next logical level and expects control back.

 5. How do you dynamically set the CURSOR position to a specific field?
MOVE -1 to FIELD + L field. Mention CURSOR option in the SEND command.
6. 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.

7. Which command is used to release a record on which exclusive control is gained?
EXEC CICS UNLOCK END-EXEC.

8. What are the attribute values of Skipper and Stopper fields?
For Skipper field use ASKIP and for stopper field use PROT.

9. .How do you set the MDT option to ‘ON’ status, even if data is not entered?
Mention FSET option in DFHMDF or set it dynamically in the program using FIELD+A attribute field.

10. How ENQ and DEQ used in CICS?

   ENQ and DEQ are parts of task control commands that are used in making a resource serially     recyclable.

11. What is MDT?

MDT stands for MDT Modified Data Tag.

Preserves only one bit of attribute character.

It has two types of value i.e 0 and 1.

If it is 0 then it is off i.e terminal operator has not modify this field.

If it is 1 then it is on i.e terminal operator has modify this field.

If MDT is 1 then data of the field be sent from terminal end to host computer.

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

ighlight the points of differences between XCTL and START?

XCTL basically acts as a medium through which you can pass the control through the identical task to another program. XCTL happens to be a program control command.

13. Difference between TSQ and TDQ

 Records inTemporary Storage can be read more than once.

Records in TSQ can be read randomly.
You may update an existing item in a TSQ.
TSQ names are dynamically defined in the application program.
TSQ cannot be accessed in batch.
TSQ cannot started automatically a CICS transaction.

Transient Data Quene (TDQ).

Temporary Data Queues can be read only once.
Records in TDQ can be read only sequentially.
A record in a TDQ cannot be updated.
TDQs name must first be defined in the DCT (Destination Control Table).
TDQ may be used by batch application.
TDQ can started automatically a CICS transaction.

Temporary Storage Queqe (TSQ)

14. 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.

15. What is meant by a CICS task?

A CICS task basically a one-time execution of a certain CICS transaction. This process starts when the key is entered into the transaction, and the enter key is pressed. The execution process continues till the program returns the control back to CICS.

16. Can dynamic calls be used in CICS?

Yes. Dynamic calls can be used in CICS and as per the procedure, the user has to define the call routine in a PPT and CALL identifier must be used by the calling program.

17. Differentiate between PCT and FCT.
 
PCT stands for Program Control Table and basically has a complete list of transaction identifiers that are paired to respective corresponding programs.
FCT, on the other hand, stands for File Control Table has a complete list of all the files that have been used by CICS along with their status and record length.
 
18. What is meant by EIB (Execute Interface Block)?
  • Every task contains one EIB.
  • During the execution of the task, the EIB exists.
  • All programs that are part of the task shares a common EIB.
  • EIB fields can be accessed by COBOL program through read mode.
  • CICS translator will allocate the EIB blocks in the linkage area of the program.

19. How a CICS Transaction be initiated?

 Involving CICS Control programs and Control tables. a. Trans-id entered in terminal b. TCP with TCT recognizes incoming data c. SCP acquires the storage for the Terminal Input-Output Area (TIOA) d. KCP prepares control data for this task e.KCP, through PCT, tries to find the application program associated with the Trans-id. f. If PPT entry of the application program does not show the resident address of the program, KCP passes control to PCP, which fetches the application program from the load library and places it into the main storage. g. KCP passes control to the application program. h. Application program starts its processing

 20. What happens when a CICS command contains the NOHANDLE option?

 No action is going to be taken for any exceptional conditional occurring during the execution of this command. The abnormal condition that occurred will be ignored even if an EXEC CICS HANDLE condition exist. It has the same effect as the EXEC CICS IGNORE condition except that it will not cancel the previous HANDLE CONDITION for any other command.

Topics:Interview Questions with Answers

Comments

Subscribe