Question 1. What Is Ims Tm Region?
The IMS TM control region is a z/OS address space that can be initiated as a z/OS started task or as a job by submitting JCL. The terminals, Fast Path databases, message queues, and logs are all attached to this control region.
Question 2. The Ims Tm Control Region Uses Z/os Access Methods For Terminal And Database Access?
After the IMS TM control region is started, it starts the system regions, DL/I separate address space (DLISAS), and Database Recovery Control (DBRC).
Then you can start the message processing regions (MPRs) and batch message processing (BMP) regions through the use of the following:
– z/OS commands (START xxxxxxxx)
– IMS commands (/START REGION xxxxxxxx)
– Job submission – Automated operator commands.
Question 3. What Is Dcctl In Ims Dc?
The Data Communications Control (DCCTL, pronounced “DC control”) environment enables you to use IMS TM independently of IMS DB. DCCTL provides system performance in terms of throughput, system availability, and integrity. DCCTL can coexist with IMS TM application programs and installed terminals.
Question 4. What Are The 3 Different Terminals In Ims Dc?
Static terminal, Dynamic terminal, extended terminal option.
Question 5. What Is Static Terminal?
A static terminal is defined in the IMS system definition (SYSGEN), and the definition determines the physical terminal name (called the node name) and logical terminal name (LTERM) available for use.
Question 6. What Is Dynamic Terminal?
- A dynamic terminal is not statically defined in the IMS system definition. IMS can create a dynamic terminal definition. This type requires either the IMS ETO, which is a separately priced feature of IMS TM, or other third-party vendor products. Definitions for dynamic terminals are generated when the user logs on.
- If a terminal user attempts to connect to IMS using a terminal that is defined to IMS as static, the user will use the defined node name and LTERM name combination.
- If a terminal user attempts to connect to IMS using a terminal that is not defined to IMS as static, and dynamic terminal support is available, a dynamic terminal product (such as ETO) is used to determine the LTERM name and whether the name is based on the user ID, the node name, or some other value.
Question 7. What Is Extended Terminal Options?
- IMS Extended Terminal Option (ETO) provides dynamic terminal and local and remote logical terminal support for IMS TM.
- You can add terminal hardware and TERMs to the IMS system without first defining them. ETO gives you the option of eliminating macro statements in the IMS system definition of VTAM terminals and TERMs. TO enhance the availability of your IMS by eliminating the need for you to bring the system down to add terminals and LTERMs.
- ETO also enhances security for the IMS TM user by associating all output with a specific user, instead of with a device. ETO requires the user to sign on.
- ETO reduces the IMS system definition time for those systems where the terminal network is defined dynamically.
Question 8. What Are The Phases Involved In Ims Dc Program?
Initialization is the clearing of application program working storage. Retrieve a transaction input message segment A Data Language/Interface (DL/I) message call (GU) to IMS TM is used to retrieve an input message segment from the IMS Queue Manager. Status code check The application checks the status code from IMS TM that indicates whether the input message was successfully retrieved or if no more input messages are available to process.
Input message syntax check IMS TM performs a basic syntax check of the input message before delivery to the application program. The application program performs any additional data validation checks. Database processing Database processing is performed, preferably in one phase, which means that the retrieval of a database segment is immediately followed by its update.
An example of database processing in more than one phase is to initially retrieve all the segments that the program requires and then perform a second retrieve and then update. Output processing The application builds an output response message and uses the DL/I message ISRT call to return the results to the originator of the transaction input request.
Question 9. What Are The Different Calls Involved In Ims Dc Program?
- U (Get Unique) Retrieve the first, or only, segment of the input message.
- GN (Get Next) Retrieve second and subsequent message segments.
- LIST (Insert) insert an output message segment into the output message queue. These output messages are not sent until the transaction unit-of-work synchronization point has occurred.
- CHNG (Change Destination) – Set the output destination for subsequent Insert calls.
Question 10. How Psb Should Be In Ims Dc Program?
In addition to database program control blocks (PCBs), the program specification block (PSB) contains one or more message PCBs. The message I/O PCB identifies the originating logical device. The I/O PCB must be referenced in the Get Unique (GU) and Insert message (ISRT) calls. In addition, one or more alternate output PCBs (TP PCBs) can be defined. Their logical destination can be defined in the PCBs or set dynamically by the application program using the Change destination (CHNG) calls.
Question 11. How Do We Code Segments In Ims Dc Program?
The messages that application programs receive and send consist of one or more message segments. Single-segment messages contain only one segment. A single GU and ISRT call is used for processing single segment message.
For multisegment input message processing, the application program uses a GU call to retrieve the first segment of a message, and GN calls to retrieve the remaining segments. For multisegment output messages, the application program uses multiple ISRT calls.
Question 12. What Is The Role Of Scratch Pad Area(spa) In Conversational Program?
- IMS provides support for conversational message processing. The conversational programming model processes transactions comprised of several steps. A conversational application program divides the transaction processing work into a connected series of interactions and uses the IMS-managed scratch pad area (SPA) to maintain the conversational state.
- The conversational application program issues the message GU call to retrieve the SPA to determine the next transactional interaction and the message GN call to retrieve an input message entered from a conversational mode device. The conversational application program updates the conversation state in the SPA with a message ISRT call.
- When an application program wants to terminate the conversation, it can indicate this by inserting a blank transaction code to the SPA.
Question 13. How Many Message Queues Are There In Ims Dc Program?
I/O PCB Response messages (messages that are generated as a direct response to an input message from this device).
Question 14. What Is Command Responses?
Alternate TP PCB alternate output messages (messages inserted to an alternate PCB).
Question 15. How Message Switching Happens In Ims Dc Program?
- A message switch occurs when a user wants to send a message to another user. The basic format of a message switch is the destination LTERM name, followed by a blank and the message text.
- A program-to-program switch or program-to-program message switch is a program that is already executing that requests a new transaction be put on the IMS message queues for standard scheduling and execution.
- This new transaction can do the following: Continue the processing of the first transaction and respond to the originating logical device
- Process as an independent transaction unit of work.
Question 16. How Many Ways A Program Will Be Terminated In Ims Dc Programs?
Normal termination involves the program returning control to IMS TM when it finishes processing.
When an IMS-managed application program abnormally terminated, IMS prevents the rescheduling of the application program, any uncommitted database changes are dynamically backed out, and any uncommitted output messages are cancelled.
Question 17. How Checkpoint Restart Happens In Ims Dc Program?
To ensure database and message integrity, IMS uses logging and checkpoint/restart processing. In case of a hardware or software system failure, IMS can be restarted. This restart includes reading the IMS log to reposition the databases and messages to recover from the point of failure.
Question 18. Will Imsdb/dc Supports Multi Threading Like Cics?
Question 19. How Integrity Is Maintained In Ims Dc Programs?
- The IMS program isolation function ensures database integrity. All database modifications and message creation by an application program is isolated from any other application programs running in the IMS system until an application program completes a synchronization point. This ensures that only committed data can be used by concurrent application programs. A synchronization point is established with a message Get Unique (GU) call for a new input message, a checkpoint call, or application program normal termination.
- Program isolation allows two or more application programs to concurrently run with common data segment types, even when the processing intent is to update, add, or delete.
- With program isolation and dynamic back out, it is possible to resolve potential database deadlock situations transparent to the application programs.
The following sequence of events is an example of a deadlock:
- Program A updates database element X.
- Program B updates database element Y.
- Program A requests Y and must wait for the synchronization point of program B.
- Program B in turn requests X and must wait for the synchronization point of program A.
IBM DB2 Interview Questions
IBM DB2 Tutorial
Management Information systems Interview Questions
Management Information systems Tutorial
Data Center Management Interview Questions
IBM AIX Interview Questions
IBM WAS Administration Interview Questions
IBM DB2 Interview Questions
IBM Cloud Computing Infrastructure Architect V1 Interview Questions
IBM Websphere Application Server Interview Questions
Management Information systems Interview Questions