Docsity

CICS Developer Intermediate Exam Questions and Answers, Exams of Technology

Toggle sidebar
bg1
TETAMFTDEVIC2012 AS TETAMFTDEVIC2012
Infosys Certified Mainframe CICS Developer
Intermediate Exam
Question 1. What is the primary role of CICS as an Online Transaction Processing (OLTP)
system?
A) Batch data processing
B) Managing large data warehouses
C) Processing transactions interactively in real-time
D) Developing graphical user interfaces
Answer: C
Explanation: CICS is designed to process transactions interactively in real-time, providing rapid
response for OLTP applications.
Question 2. How does CICS differ from batch processing systems?
A) CICS handles transactions sequentially in batch jobs
B) CICS manages transactions interactively and instantly
C) Batch systems provide real-time processing
D) Batch systems do not support multiple users
Answer: B
Explanation: CICS manages transactions interactively, providing immediate processing, unlike
batch systems which process data in large groups without user interaction.
Question 3. Which component of a CICS region is responsible for dispatching tasks?
A) Storage Manager
B) Dispatcher
C) Task Control
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62

Partial preview of the text

Download CICS Developer Intermediate Exam Questions and Answers and more Exams Technology in PDF only on Docsity!

Infosys Certified Mainframe CICS Developer

Intermediate Exam

Question 1. What is the primary role of CICS as an Online Transaction Processing (OLTP) system? A) Batch data processing B) Managing large data warehouses C) Processing transactions interactively in real-time D) Developing graphical user interfaces Answer: C Explanation: CICS is designed to process transactions interactively in real-time, providing rapid response for OLTP applications. Question 2. How does CICS differ from batch processing systems? A) CICS handles transactions sequentially in batch jobs B) CICS manages transactions interactively and instantly C) Batch systems provide real-time processing D) Batch systems do not support multiple users Answer: B Explanation: CICS manages transactions interactively, providing immediate processing, unlike batch systems which process data in large groups without user interaction. Question 3. Which component of a CICS region is responsible for dispatching tasks? A) Storage Manager B) Dispatcher C) Task Control

Infosys Certified Mainframe CICS Developer

Intermediate Exam

D) Program Library Answer: B Explanation: The Dispatcher in CICS manages task scheduling and dispatching to CPU resources for processing. Question 4. What is a CICS Transaction ID (TransID)? A) Unique identifier for a CICS region B) Identifier for a specific CICS transaction initiating a task C) Name of a CICS program D) A system log entry Answer: B Explanation: TransID uniquely identifies a CICS transaction, used to initiate and manage transaction processing. Question 5. Which of the following best describes the lifecycle of a CICS task? A) Created, executed, terminated, and transaction committed B) Created upon transaction start, active during processing, and ended after completion or abend C) Static throughout system uptime D) Managed only during system startup Answer: B Explanation: A CICS task begins when a transaction starts, remains active during processing, and ends after completing or encountering an error.

Infosys Certified Mainframe CICS Developer

Intermediate Exam

B) Program-Controlled tasks are started explicitly by a program; System-Controlled tasks are started by CICS internally based on system events C) They are identical; the terms are interchangeable D) Program-Controlled tasks run in batch; System-Controlled run online Answer: B Explanation: Program-Controlled Tasks are explicitly started by application programs, while System-Controlled Tasks are initiated automatically by CICS for system functions. Question 9. Which command is used in COBOL to initiate a CICS transaction? A) EXEC CICS START TRANSID('TRANSID') B) EXEC CICS LINK PROGRAM('PROG') C) EXEC CICS RETURN D) EXEC CICS XCTL 'PROG' Answer: A Explanation: The START command initiates a transaction by specifying the TransID, starting a new task associated with that transaction. Question 10. What is the primary purpose of the RESP parameter in EXEC CICS commands? A) To specify the response message to the user B) To handle and check the return code (response code) after command execution for error handling C) To set the response timeout period D) To initiate a response from the database

Infosys Certified Mainframe CICS Developer

Intermediate Exam

Answer: B Explanation: RESP captures the return code from CICS commands, enabling programs to handle errors appropriately. Question 11. Which command is used to link to another program and pass control, maintaining the current program context? A) XCTL B) LINK C) RETURN D) START Answer: B Explanation: LINK transfers control to another program while maintaining the current program's environment, allowing for nested calls. Question 12. How does XCTL differ from LINK? A) XCTL transfers control and terminates the current program; LINK transfers control but retains the current program in memory B) XCTL is used only for system tasks; LINK is used for database access C) XCTL is asynchronous; LINK is synchronous D) They are identical in function Answer: A Explanation: XCTL transfers control and ends the current program, freeing resources, whereas LINK allows nested program calls, retaining the current program in memory.

Infosys Certified Mainframe CICS Developer

Intermediate Exam

C) Using shared files only D) With global variables in main memory Answer: A Explanation: The COMMAREA allows passing data between programs during LINK or XCTL calls, subject to size limitations. Question 16. What is a key limitation of the COMMAREA? A) It can only pass data in binary format B) It is limited in size, typically to 32 KB or less C) It cannot be used across different regions D) It only supports character data Answer: B Explanation: COMMAREA size is limited, often to 32 KB, which constrains the amount of data that can be passed between programs. Question 17. Which CICS command is used to handle anticipated errors through condition handling? A) HANDLE CONDITION B) RESP C) ABEND D) RETURN Answer: A

Infosys Certified Mainframe CICS Developer

Intermediate Exam

Explanation: HANDLE CONDITION allows defining specific error handling routines for anticipated error conditions in CICS programs. Question 18. How does HANDLE ABEND assist in error management? A) It handles specific system errors explicitly B) It manages program abends, enabling controlled recovery or logging C) It prevents any errors from occurring D) It terminates the program immediately without logging Answer: B Explanation: HANDLE ABEND provides a mechanism to catch and manage program abends, allowing for graceful recovery or detailed logging. Question 19. In CICS, what does the File Control command READ do? A) Reads data from a VSAM or sequential file into a COBOL program B) Writes data to a database C) Deletes a data record D) Opens a new file Answer: A Explanation: READ retrieves data from a file (VSAM or sequential) into the application for processing. Question 20. Which types of VSAM files are commonly accessed under CICS? A) KSDS, ESDS, RRDS

Infosys Certified Mainframe CICS Developer

Intermediate Exam

Explanation: CICS uses locking mechanisms to prevent simultaneous conflicting updates, ensuring data consistency. Question 23. What is the purpose of Temporary Storage Queues (TSQ) in CICS? A) To temporarily hold data in auxiliary storage for fast access B) To store permanent transaction logs C) To manage user sessions D) To handle database transactions directly Answer: A Explanation: TSQs temporarily store data in auxiliary storage, facilitating fast access for transient data processing. Question 24. Which CICS command is used to write data to a TSQ? A) WRITEQ TS B) WRITEQ TD C) WRITEQ TSQ D) WRITE TSQ Answer: A Explanation: WRITEQ TS writes data to a Temporary Storage Queue in auxiliary storage. Question 25. How are Transient Data Queues (TDQ) different from TSQ? A) TDQ is a persistent queue stored on disk; TSQ is in auxiliary storage

Infosys Certified Mainframe CICS Developer

Intermediate Exam

B) TDQ is intra-partition only; TSQ can be intra or extra partition C) TDQ is used for database access; TSQ is for file control D) There is no difference Answer: B Explanation: TDQ can be intra- or extra-partition, while TSQ is typically auxiliary storage; TDQ can be configured as persistent or transient. Question 26. What is the primary use of a Transient Data Queue (TDQ) in CICS? A) To temporarily store data between transactions within a partition or across partitions B) To permanently archive data C) To manage user logins D) To handle screen mappings Answer: A Explanation: TDQ temporarily holds data for intra- or inter-partition communication during CICS transaction processing. Question 27. In CICS-DB2 integration, which command is used to retrieve data from DB2? A) EXEC SQL SELECT B) EXEC CICS READQ C) EXEC CICS FETCH D) EXEC DB2 GET Answer: A

Infosys Certified Mainframe CICS Developer

Intermediate Exam

B) To separate application logic from terminal screen layout and presentation C) To manage file storage D) To control system security Answer: B Explanation: BMS defines screen layouts separately from application logic, simplifying screen design and maintenance. Question 31. Which macro is used to define a BMS map set? A) DFHMSD B) DFHMDI C) DFHMDF D) DFHCOMMAREA Answer: A Explanation: DFHMSD defines a Map Set, outlining the overall screen structure. Question 32. What are the three parts of a BMS Map Set? A) Symbolic Map, Physical Map, Application Map B) Input Map, Processing Map, Output Map C) Header, Body, Footer D) Control Block, Data Block, End Block Answer: A

Infosys Certified Mainframe CICS Developer

Intermediate Exam

Explanation: These components help separate logical, physical, and application-specific details of the screen layout. Question 33. Which CICS command is used to send a map to the terminal? A) SEND MAP B) RECEIVE MAP C) DISPLAY MAP D) SHOW MAP Answer: A Explanation: SEND MAP outputs the map to the terminal for user interaction. Question 34. How does CICS process input data from a terminal map? A) Using the RECEIVE MAP command and checking for modified data tags (MDT) B) Through direct file access C) With the READ command only D) By automatically storing input in a database Answer: A Explanation: RECEIVE MAP captures user input, and MDT tags indicate which fields were modified. Question 35. What is the purpose of the RETURN TRANSID command in pseudo-conversational programming? A) To terminate the current transaction and start a new one with the same TransID

Infosys Certified Mainframe CICS Developer

Intermediate Exam

Explanation: RDO defines and manages resources within CICS, enabling control and configuration. Question 38. Which monitoring tool is commonly used for CICS performance analysis? A) OMEGAMON B) SQL Developer C) FileZilla D) MS Project Answer: A Explanation: OMEGAMON provides real-time monitoring and performance analysis for CICS environments. Question 39. Which security concept involves controlling access to CICS resources? A) Resource Authorization B) Data encryption C) Backup and recovery D) System logging Answer: A Explanation: Resource authorization restricts user or program access to specific CICS resources based on permissions. Question 40. How can CICS performance be optimized? A) Minimize I/O operations and manage storage efficiently

Infosys Certified Mainframe CICS Developer

Intermediate Exam

B) Increase transaction response time C) Use only batch processing D) Disable resource locking Answer: A Explanation: Reducing I/O and managing storage resources efficiently help improve overall CICS performance. Question 41. Which command is used to delete data from a VSAM file in CICS? A) DELETE B) REMOVE C) ERASE D) CLEAR Answer: A Explanation: DELETE command marks a record or dataset for deletion within CICS file control. Question 42. Which command is used to update an existing VSAM record? A) REWRITE B) WRITE C) UPDATE D) MODIFY Answer: A Explanation: REWRITE updates an existing record in a VSAM file while maintaining its position.

Infosys Certified Mainframe CICS Developer

Intermediate Exam

C) WRITEQ QUEUE

D) WRITE TDQ

Answer: A Explanation: WRITEQ TD writes data into a TDQ for intra- or inter-partition communication. Question 46. What is the main advantage of using Pseudo-Conversational programming over Conversational programming? A) Better resource utilization and scalability B) Easier to implement without state management C) Supports only single-user sessions D) Eliminates need for COMMAREA Answer: A Explanation: Pseudo-Conversational programming reduces resource consumption by ending tasks between interactions, improving scalability. Question 47. Which command in CICS is used to end a transaction and release resources? A) END B) RETURN C) ABEND D) STOP Answer: A Explanation: END terminates the current transaction and releases associated resources.

Infosys Certified Mainframe CICS Developer

Intermediate Exam

Question 48. How does CICS handle multiple simultaneous transactions? A) Through task dispatching managed by the dispatcher B) By serializing all transactions C) Only one transaction is allowed at a time D) Using external batch processing tools Answer: A Explanation: The dispatcher manages multiple tasks concurrently, scheduling them efficiently. Question 49. Which component of CICS manages the storage and memory for tasks? A) Storage Manager B) Task Control Block C) Program Library D) Transaction Log Answer: A Explanation: The Storage Manager handles memory allocation and storage for CICS tasks and control blocks. Question 50. Which of the following best describes the purpose of the System Control Tables in CICS? A) To store resource definitions and configurations B) To manage user credentials