1.
In CICS interface to capture the function key, pressed by user is
Correct Answer
C. EIBAID
Explanation
The correct answer is EIBAID. In CICS, EIBAID represents the value of the function key pressed by the user. It stands for "Execution Interface Block Attention Identifier." This identifier is used to determine which function key was pressed and allows the program to take appropriate action based on the user's input.
2.
Command to refresh a program/map or file in CICS region is
Correct Answer
E. CEMT
Explanation
The correct answer is CEMT. CEMT is the command used to refresh a program, map, or file in a CICS region. It stands for CICS Execution Monitoring Tool and allows users to monitor and manage CICS resources. This command is commonly used to refresh programs or files to ensure that any changes or updates are applied and available for use in the CICS region.
3.
A file used in CICS environment needs to have
Correct Answer
D. FCT entry
Explanation
In a CICS environment, a file control table (FCT) entry is required for a file to be used. The FCT entry contains information about the file, such as its name, location, and access methods. It is used by CICS to manage file operations, such as opening, closing, and reading/writing data to the file. Without a valid FCT entry, CICS would not be able to recognize or interact with the file. Therefore, having an FCT entry is essential for using a file in the CICS environment.
4.
In CICS programs, XCTL is used
Correct Answer
D. Transfer the control to other program
Explanation
In CICS programs, XCTL is used to transfer the control to another program. This means that when XCTL is executed, the current program will be terminated and the control will be passed to the specified program. This allows for modular programming and the ability to call and execute different programs within the CICS environment.
5.
To commit all the changes made by CICS program, following command is used
Correct Answer
A. EXEC CICS SYNCPOINT END EXEC
Explanation
The correct answer is "EXEC CICS SYNCPOINT END EXEC" because the SYNCPOINT command is used in CICS (Customer Information Control System) to commit all the changes made by a program. It ensures that all the updates made to the database are permanently saved and can be recovered in case of a system failure. The SYNCPOINT command is specifically designed for this purpose and is commonly used in CICS applications.
6.
Command to debug, add break point and display program variables in CICS environment are
Correct Answer
C. STRDBG,ADDBKP,DSPPGMVAR
Explanation
The correct answer is STRDBG, ADDBKP, DSPPGMVAR. This is because STRDBG is the command used to start the debugging process in CICS environment. ADDBKP is used to add breakpoints in the program, which allows the program execution to pause at a specific point for analysis. DSPPGMVAR is used to display the program variables, which helps in understanding the values stored in the variables during program execution. Therefore, these three commands together provide the necessary functionality to debug, add breakpoints, and display program variables in CICS environment.
7.
Command to invoke CICS debug facility is
Correct Answer
B. CEDF
Explanation
The correct answer is CEDF. CEDF stands for CICS Execution Diagnostic Facility. It is a command used to invoke the CICS debug facility. The CEDF command allows developers to trace and debug programs running in CICS. It provides detailed information about the execution of a program, including the values of variables and the sequence of program statements. This helps in identifying and fixing issues or errors in CICS programs.
8.
Command. to display a MAP is CICS region
Correct Answer
A. CECI
Explanation
CECI is the correct command to display a MAP in a CICS region. CECI stands for CICS Execute Command Interpreter and it is used to execute various CICS commands. In this case, CECI can be used to display a MAP, which is a screen or panel definition in CICS. The other commands listed (CEMT, CEDF, CEDA) are not specifically used for displaying a MAP.
9.
Comman to see all the control tables of CICS regions is
Correct Answer
C. CEDA
Explanation
The correct answer is CEDA. CEDA is the command used to see all the control tables of CICS regions. It allows users to view and manage the various control tables in CICS, such as the Program Control Table (PCT), File Control Table (FCT), and Terminal Control Table (TCT). This command is commonly used by system administrators and developers to monitor and troubleshoot CICS regions.
10.
Methods used for inter program communication are
Correct Answer
A. Queues and Comm Area
Explanation
The correct answer is Queues and Comm Area. Queues and Comm Area are both methods used for inter program communication. Queues allow programs to send messages to each other by placing them in a queue, while the Comm Area is a shared memory area where programs can read and write data to communicate with each other. These methods facilitate communication between different programs and allow them to exchange information and coordinate their actions. Neither Comm Area nor Queues, Comm Area but not Queues, and There is no interprogram communication in CICS are all incorrect as they do not include both Queues and Comm Area as methods for inter program communication.