25 Very Best CICS Questions for Your Next Interview

CICS 25 interview questions

  1. What is meant by Handle Condition?
    1. It is used to transfer control to the para when the exceptional condition occurs for which it is designed
  2. What is meant by Ignore Condition?
    1. The IGNORE CONDITION command causes no action to be taken if the condition specified occurs in the program.No more than 12 conditions are allowed in the same program.Once any IGNORE or HANDLE command is executed for a condition, the specification remains effect until the program ends or another HANDLE or IGNORE command is executed.
  3. What is meant by PUSH and POP commands?
    1. These are used to suspend and reactivate respectively all HANDLE CONDITION currently in effect.
  4. What is meant by Ignore Condition?
    1. The IGNORE CONDITION command causes no action to be taken if the condition specified occurs in the program.No more than 12 conditions are allowed in the same program.Once any IGNORE or HANDLE command is executed for a condition, the specification remains effect until the program ends or another HANDLE or IGNORE command is executed.
  5. What are alternatives to HANDLE CONDITION?
    1. There are two alternatives namely NO HANDLE and RESP condition. NO HANDLE will cause no action to be taken for any exceptional condition occuring during execution of program.This should only be a special purpose command.RESP option helps CICS place a response code at a completion of the command.The application program can check this code and proceed to the next level.when this is coded HANDLE CONDITION does not have any effect.
  6. What is meant by Basic locator for linkage (BLL)?
    1. The Base Locator for linkage (BLL) is an addressing convention used to address storage outside the Working storage section of the program. If the BLL is used for the input commands,it will improve the performance, since the program would be accessing directly the input buffer outside the program. Also if BLL is used for dynamic table loading, it will save the size of the application program,since there is no requirement for any space reservation for the table in the program.
  7. What is meant by SERVICE RELOAD statement?
    1. This is used to ensure addressability to a particular area defined in the linkage section.
  8. What is meant by ADDRESS command?
    1. This is used to access information in the CICS system areas.This can be used in one of the four ways
    2. CSA To access the common System area , which is the CICS system area defined by the system.
    3. CWA To access the common work area which is a CICS system work area defined by the system programmer in SIT
    4. TCTUA To access the Terminal control table user area (TCTUA) , which is a work area associated with a terminal. TCTUA is  defined as per terminal in TCT.
    5. TWA To access the Transaction work area (TWA), which is a work area associated with a task,TWA is defined as one per task in PCT
  9. What is meant by ASSIGN command?
    1. The ASSIGN command is used to access the system value like date , time ,userid etc and store in a variable.
  10. What is meant by EIB?
    1. EIB stands for EXEC interface block.Some commonly used EIBs are as follows…
    2. EIB Examples
      1. EIBAID
      2. EIBCALEN
      3. EIBDATE
      4. EIBFN
      5. EIBRCODE
      6. EIBTASKN
      7. Attention-id (1 byte0 length of DFHCOMMAREA (S94 COMP)
      8. Date when this task started (S9(7) COMP-3, 000yyddd+)
      9. Function code of the last command (2 bytes)Response code of the last command (6 bytes)
      10. Task number of this task (S9(7) COMP-3)
  11. What do you know about GETMAIN command?
    1. It is used to obtain a certain amount of storage.This is possible by the storage control program SCP.When the use of the available storage is over the FREEMAIN command should be used.
  12. What is difference between LINK and XCTL?
    1. LINK : It is the command used to pass control from one program to another where the calling program expects the control to be passed back from the called program.
    2. XCTL :Over here the calling program does not expect the control to be passed back to it.
  13. What is meant by Reentrant program?
    1. It is a program which does not modify itself so that it can re-enter to itself.This is very much required for multithreading environment.
  14. What is the significance of EIBCALEN?
    1. EIBCALEN is used to check if any data has been sent by the calling program, this is done by checking COMMAREA.If this is zero and there has been a program which called another program then it can be assumed that there has been error in calling.
  15. What is meant by LOAD command?
    1. It is used to load a program / table dynamically.
  16. What is meant by PPT, PCT and KCP?
    1. PPT It is called Processing program table.This is used to register all CICS application programs and BMS maps.
    2. PCT This is called program control table which is used to register the control information of all CICS transactions.
    3. KCP This is known as task control program and is used for identifying and initializing transactions.
  17. What is meant by READ command with GENERIC option
    1. This is used to read a nonspecific record with a GENERIC key.This is helpful when you do not have the complete information about the key.
  18. What is meant by READ with UPDATE command
    1. When this is specified then the program reads the record and maintains exclusive control over the record until the record is updated by a REWRITE command or the transaction is normally or abnormally completed.If after reading the record it is found that the update is not required then an unlock command is used to unlock the dataset to remove the exclusive control of the record.
  19. What is the difference between a conversational and pseudo-conversational program ?
    1. A conversational program sends a map or message and continues executing as it waits for a response.
    2. A pseudo-conversational program does not wait for a response, it ends after SENDing a map or message together with a RETURN command.
  20. What is the effect of including the TRANSID in the RETURN command ?
    1. The next time the end user presses an attention key, CICS will start the transaction specified in the TRANSID option (a new task is initiated).
  21. How does CICS use the PCT table ?
    1. After a user enters a trans-id, CICS goes to the Program Control Table(PCT) and finds that trans-id in the table. The table entry also contains the name of the program that executes when that trans-id is entered.
  22. How does CICS use the PPT table ?
    1. After finding the program in the PCT, CICS goes to the Program Processing Table. It finds the program name in the table. Associated with the program name is the location of the program; on disk or in storage. If the program is already in storage, CICS starts the task. If not, CICS gets the program(load module), loads it into storage and starts the task. The PPT entry is changed from on disk to in storage.
  23. What is the system transid CEMT ?
    1. CEMT is the master terminal transaction that lets you display and change the CICS environment
  24. How do you load a new version of your program or mapset ?
    1. CEMT Set PROGram(programname) NEwcopy
  25. How do you close a VSAM file in CICS ?
    1. CEMT Set DA(filename) CLOsed
Advertisements

Author: Srini

Experienced software developer. Skills in Development, Coding, Testing and Debugging. Good Data analytic skills (Data Warehousing and BI). Also skills in Mainframe.