The document introduces the basic concepts of IMS databases, including databases, IMS databases, hierarchical structures, segment rules, segment relationships, hierarchical sequential access, segment storage organization, sequential organization, HSAM, HSAM storage, HSAM processing, SHSAM, HISAM, HISAM storage, HISAM VSAM logical records, HISAM inserts, insert root 4, insert root 5, insert dependents, G22 and D24 HISAM delete and replace, SHISAM, GSAM, etc.
This document serves as a beginner's guide to IMS databases, presented at the IMS Technical Conference in Las Vegas in September 2003. It covers fundamental concepts such as what a database is, the structure of the IMS database, and the rules governing segments and hierarchies. The guide explains how data is organized into levels where lower levels depend on higher levels for context.
An IMS database is organized as a hierarchy, where data at lower levels depends on data at higher levels for its context.
Each database record has one and only one root, and everything depends on the information in the root.
There can be up to 254 different segment types, or 255 including the root.
A segment type can have up to 32 secondary indices, and a database can have up to 1000.