1⟩ Explain IMS Software Environment?
IMS Software Environment consists of the below five main components:
► IMS DB
► DL/I
► DL/I Control Blocks
► IMS DC
► Application Programs
“IBM Information Management System (IMS) is a joint hierarchical database and information management system with extensive transaction processing capabilities.”
IMS Software Environment consists of the below five main components:
► IMS DB
► DL/I
► DL/I Control Blocks
► IMS DC
► Application Programs
DL/I is a command-level language to manipulate IMS databases. DL/I forms a bridge between application program and IMS database. It is used in batch and online programs to access data stored in IMS databases.
Every access to an IMS database is through DL/I. The DL/I interface must be called to update or read a IMS database. DL/I allows both sequential and random processing of a database.
Advantages:
► Speed of access is faster because of the predefined data paths.
Disadvantages:
► Complex implementation
► Predefined tree structure reduces flexibility.
► Difficult to manage
► Follows inverted tree structure
► Data relationship is predefined by it's structure
► Program accesses the data through predefined paths.
► Increases data independence
► Reduces data redundancy
► Provides data communication facilities
► Reduces data maintenance
► Provides data integrity and security
► Provides indexing capabilities
A Database Management System is used to define and maintain the structure of the database.
IMS (Information Management System) is IBM’s hierarchical database management system. It has mainly two components: IMS DB and IMS DC (also know as IMS TM)
IMS DB - IMS/Database Manager as the name implies manages the IMS databases. It is used for physical storage creation and management and data retrieval.
IMS DC / IMS TM - IMS/Data Communications or IMS/Transaction Manager handles online transaction processing system.
A Database is a collection of related data items organized in a way that can be processed by application programs.
Path call retrieve all the segment occurrence present for an particular DB or root segment
Any number more than 1 (no limitation)
Key fields - Only 1
Search fields - No limitation
► By making a call to IBM supplied program CBLTDLI / ASMTDLI / PLITDLI
(most commonly used method) by - Passing a PCB, or Passing an AIB
► By invoking the EXEC-DLI CICS interface by Passing a PCB, or Passing an AIB
Max. number of fields per segment = 255
Max. number of fields per database = 1000
Only 1
255 Segment types
15 Levels
► Top to Bottom
► Front to Back
► Left to Right
Yes, we can use the PROCOPT on PCB macro (at database level) or sensitive segment macro (at segment level).
It is of two types:
Transaction oriented
► Can read and write to online message queues.
► Can process online files and databases.
Batch oriented
► Can only read message queues.
► Access online databases in Batch mode