CICS Realtime (Scenario based) Interview Questions (41 - 50)
41. Which is the AID that will not be identified in the ANYKEY option of the HANDLE AID command?
DFHCLEAR (CLEAR key) is not recognized by HANDLE AID ANYKEY and must be explicitly handled if needed.
42. A HANDLE CONDITION remains active until the end of the program or until another HANDLE CONDITION command (True or False).
True
43. What is the meaning of the SYNCPOINT command?
The SYNCPOINT command is used to commit all changes made by a task to resources like DB2, VSAM files, and queues.
44. What is a transid and explain the system transid CEMT?
A TransID (Transaction Identifier) is a 4-character code used to start a CICS transaction, which triggers the execution of a specific program.
CEMT is a CICS-supplied system transaction used to inspect, modify, and manage CICS resources dynamically.
45. Why is it important not to execute a STOP RUN in CICS?
Executing STOP RUN in a CICS program is avoided because it terminates the Entire Task – Unlike a structured EXEC CICS RETURN, STOP RUN forcibly ends the CICS task, bypassing CICS cleanup routines.
46. Why doesn’t CICS use the COBOL Open and Close statements?
COBOL OPEN and CLOSE are meant for batch processing, not for CICS's online, multitasking environment. CICS doesn’t use COBOL OPEN/CLOSE because it handles file access internally to support efficient, online transaction processing.
47. How is dynamic memory allocated within a CICS application program?
CICS allocates dynamic memory using GETMAIN and releases it with FREEMAIN, allowing flexible storage management during task execution.
48. What is the command which will delete a program Loaded into the main storage using LOAD command?
To remove a program loaded with LOAD, use the RELEASE command — it frees the memory allocated to that program.
49. What will happen when the resource security check has failed on the program which has been specified in the PROGRAM option of the LOAD command?
On a security failure during LOAD, CICS raises a PGMIDERR, and the program is not loaded into memory.
50. What is the command that is used to delay the processing of a task for a specified time interval or until a specified time?
DELAY is used to pause task execution for a given duration or until a set time in CICS.